Questions tagged [directory]

A component of a Unix filesystem which contains other items, to organise the filesystem

Filter by
Sorted by
Tagged with
-1 votes
2 answers
41 views

How to copy ONLY parent folder with find and CP?

Why does the following command copy the DCIM folder and it's subfolders and files..I just want the DCIM folder to be copied. find ./"DCIM" -name "DCIM" -maxdepth 0 -type d -exec cp ...
ghostanime2001's user avatar
-1 votes
0 answers
47 views

Cant copy folder from one fuse filesystem to anothr

How can I copy folders from one fuse filesystem to another fuse filesystem ? I have the 2 fuse filesystems mounted with fuse-zip. With cp -p i am getting a permissions error Btw, I should add that I ...
ghostanime2001's user avatar
0 votes
0 answers
17 views

I lose my Explore on ubuntu 20.04 , please help

I was trying to connect my Samsung S21 to my ubuntu and perform some instructions: root@spike:~# history | grep mt 1 sudo add-apt-repository ppa:langdalepl/gvfs-mtp 4 sudo apt-get install ...
julio's user avatar
  • 1
4 votes
1 answer
106 views

How to revert permissons of /media/username directory?

I, by mistake, ran the command: sudo chown -R username:username /media/username/* While I intended to run: sudo chown -R username:username /media/username/586e1a3e-80c3-4057-81bz7-bbfe7662c6ff How can ...
Austin Rojers's user avatar
0 votes
0 answers
16 views

folders disappeared from desktop and cannot run setting icon

I turned on my laptop, and I realized that the files and folders have disappeared from the desktop, I can access them from the terminal but not directly on the desktop. Here is the image of my desktop....
lucas mure's user avatar
0 votes
0 answers
32 views

I have renamed "/usr" folder in Ubuntu, now trying to rename to "/usr", but I have problems I think because "/usr" folder does not exist [duplicate]

I have tryed to restoresome data and moved "usr" folder in Ubuntu. For any command I tr, for example "mv", "cp", the system writing "/usr-new/bin/mv: cannot execute: ...
Владимир Бычков's user avatar
1 vote
2 answers
341 views

Changing a folder name that has a space in it [duplicate]

I need to Change a folder name Word Press into wordpress. It gives an error because I have mistakenly written the folder name in two parts, which is not recognized as one name. What can I do terminal ...
babs's user avatar
  • 19
0 votes
0 answers
22 views

kTorrent cannot create directory

Ubuntu 22.04.2 and actual kTorrent coming with this release Suddenly kTorrent has issue "cannot create directory $HOME/snap/ktorrent/18/.local/share/ktorrent/tor/"* (where $HOME is path to ...
Ulsi's user avatar
  • 13
2 votes
2 answers
214 views

Ubuntu 22.04: How to change default folder shown by 'Files' to root instead of Home

I have a fresh installation of Ubuntu 22.04. When I click on the 'Files' icon in the GUI dock the initial view defaults to showing the default directories my Home directory, i.e. Documents, Downloads ...
JVX901's user avatar
  • 41
-3 votes
1 answer
95 views

File or directory not found - FLUKA software installation

I am trying to install the FLUKA software from the binaries. The file for FLUKA and all its libraries were downloaded from the cern website in a .deb format. That provided me with a .deb file in the ...
Moiz khokhar's user avatar
0 votes
1 answer
45 views

Restricting folder interaction of a user with root privileges

Often times when creating an Ubuntu Linux image, rather than giving an administrator root access, a new user is created with root privileges. Let's call this new user "root_2". # adduser ...
Entree's user avatar
  • 1,301
0 votes
0 answers
19 views

Unable to create sharefolder in ubuntu machine in VM

Trying installing guest image to have a share folder between host and VM ware(Ubuntu), here's the logs Verifying archive integrity... All good. Uncompressing VirtualBox 6.1.22 Guest Additions for ...
Sonu Verma's user avatar
1 vote
1 answer
98 views

How to make Ubuntu remember last used folder/location?

How can I configure Ubuntu to remember last used folder/location? Suppose I have uploaded some files to google drive from a specific folder in Ubuntu. I want Ubuntu to remember last used folder/...
Matin's user avatar
  • 345
1 vote
0 answers
70 views

Folder color not working

I've installed folder color in Ubuntu 20.04, GNOME using: sudo add-apt-repository ppa:costales/folder-color sudo apt install folder-color -y nautilus -q but it only allows me to change emblems, not ...
geofisue's user avatar
6 votes
1 answer
228 views

Why does ls show different size for some directories (not 4k)?

While ls shows most directories having a size of 4.0K, some directories have different sizes, as shown in the output below: drwxr-xr-x 8 root root 4.0K Aug 13 2022 room drwxr-xr-x 2 root root 138 ...
randall's user avatar
  • 71
0 votes
0 answers
77 views

Including shared libraries in a .deb package

I have a binary file that is dependent on a few shared libraries, I am trying to package this binary with the required libraries and install them alongside my app. The libraries were built by myself, ...
Melon's user avatar
  • 1
0 votes
0 answers
1k views

Stuck in boot: Missing modules (cat /proc/modules; ls /dev) in BusyBox

To solve a Wi-fi issue I did a fresh install of Ubuntu 22.04 from USB. After completing the installation process Ubuntu started rebooting. But it couldn’t complete reboot as it stuck in this error ...
Gabbar's user avatar
  • 1
1 vote
0 answers
90 views

Search in file explorer got stuck in Ubuntu 22.10

I upgraded to Ubuntu 22.10 a few days ago from 22.04. In 22.10, I have encountered few errors. The most prominent one is error in file or directory search in the default Ubuntu Files app. Every time I ...
abdus samad's user avatar
0 votes
0 answers
33 views

Can te root user access all directories and folders?

Aŕe there files that the root user can't access, because earlier i was using the "du" comand and some files could not be accessed due to permissions
blankC's user avatar
  • 41
0 votes
0 answers
29 views

lost folders cutting pasting to windows

I was cutting and pasting several folders from Ubuntu to a folder I created in the windows 7 partition on the same computer. I left the computer for an hour or so and it was in standby when i came ...
rhye's user avatar
  • 1
0 votes
0 answers
113 views

Ubuntu 22.04+ Folder Color

So, I am not a fan of the dull grey folder colors in the 22.04 File Manager and desktop and would like a better option than just accent colors. What is the best option to handle this? Should I install ...
Agentl074's user avatar
0 votes
0 answers
286 views

Ubuntu 22.04 missing /proc/version_signature

I run Ubuntu 22.04 on a Dell Latitude E7440 sudo pro status WARNING:root:failed to process /proc/version_signature. SERVICE ENTITLED STATUS DESCRIPTION esm-apps yes enabled ...
Flavio Sartoretto's user avatar
-3 votes
1 answer
72 views

how do i navigate in the terminal [duplicate]

i am new to linux and i am confused on how to navigate to and from between root@2c00d30f31ad:/ and root@2c00d30f31ad:~# Here is what i am facing: root@2c00d30f31ad:/alx-pre_course# cd ...
TAUSI TSONGA's user avatar
0 votes
1 answer
143 views

How to keep two folders synched?

I have a dual boot system (Windows + Ubuntu), I would like to keep two folders synchronized from the two different partitions. I searched and found that It can be made using rsync or robocopy, but I ...
Mikelenjilo's user avatar
2 votes
1 answer
60 views

How do I go up one directory in Nautilus 43?

I'm really struggling with some of the latest changes to Nautilus' interface. How do I get to the directory that is the parent of the current directory if the path name is too long? I can't find any ...
IQAndreas's user avatar
  • 3,028
0 votes
0 answers
33 views

How can I remove a folder that cannot be deleted (two folders in the same directory have the same inode number)?

I have tried using rm with various flags, such as -d and -r (-r was successful as folder is now empty), tried moving to trash through GUI (which produces error that file cannot be moved to trash), ...
001121100's user avatar
0 votes
0 answers
34 views

I renamed the directory "Video's" into "Video_s", to avoid complications in Terminal, but a new problem came up

I work with a Lubuntu 22.04 LTS installation on a laptop set for the Duch locale. Because I experienced a problem when copying a file in Terminal from my "Video's" directory (see this ...
plopper's user avatar
  • 41
0 votes
2 answers
455 views

How can I find where WordPress is located?

How can I find where WordPress is located on Ubuntu? I have installed it using the instructions provided by the official Ubuntu tutorial: Install and configure WordPress
alireza's user avatar
  • 11
0 votes
1 answer
93 views

how to delete old lib files

is it correct/advisable to delete the old files under usr/lib/modules, if yes how to delete these directories. drwxr-xr-x 5 root root 4096 Mar 3 2022 5.4.0-100-generic drwxr-xr-x 5 root root 4096 ...
Ganesan Subramanian's user avatar
2 votes
1 answer
598 views

How to rename multiple files and folders recursively that include * and other symbols not valid for filenames/folders? [duplicate]

For somewhat reason, my Ubuntu Mate 20.04 let me include * and other symbols apparently not valid for a filename or folder. But now I need to copy a lot of archives (like 15,000) to another PC. I don'...
Silver's user avatar
  • 21
0 votes
0 answers
34 views

How do I get my e-mail address off my Folders GUI?

I know this is trivial, but I don't like it and I will learn something. How do I get my e-mail off of the folders gui? Email in folder
Don1499's user avatar
  • 11
0 votes
2 answers
95 views

Help with understanding permissions for folders

I'm rebuilding my Plex media server. I have a single HDD with my first installation of Ubuntu. I'm slowly moving media from an old external drive into folders; Documents, Music, Videos, etc. I need to ...
intoplaid's user avatar
0 votes
0 answers
43 views

Setup Local Ubuntu Repository Help - Change Data Location

Pulling my hair out on this one. Ive got alot of Ubuntu VM's 20.04lts and 22.04 running and I want to save bandwidth by creating a local repository, I also want to cache a copy of the deb packages, as ...
UglyBobNZ's user avatar
0 votes
0 answers
36 views

Blender is allowed, but Prusa Slicer not?

I encountered a problem I don't understand. After I installed Prusa Slicer on my pc I am unable to reach the "media" folder within this program. If the data is in the folder "downloads&...
SebWei's user avatar
  • 1
0 votes
0 answers
63 views

How do I enable Trash service?

Suddenly I am unable to empty trash and get this message: Could not empty trash This features requires a trash service to be present (such as the one supplied by Thunar) I get a similar error when I ...
DonP's user avatar
  • 346
0 votes
0 answers
34 views

Is there any way to change file owner when some user modify the file?

For example, user1 create file. That file's owner is user1. if user2 modify that file's contents and save it. After that, file's owner changed to user2. is it possible? if possible how can do that? (...
DarkerBlack's user avatar
0 votes
0 answers
55 views

Home directory for Active Directory users are not private?

I've joined my Ubuntu 22.10 server to my Windows Active Directory. Everything seams OK. I can login with a Windows Domain User and when I login a home directory is created under /home with the name ...
Pehson's user avatar
  • 1
1 vote
0 answers
51 views

Connecting via ssh to remote and go to same directory as used on client

I have a very specific question. Is it somehow possible to connect from my client via ssh to a remote machine and stay on the same directory I used on the client? For example if I am in the folder /...
CFDaniel's user avatar
0 votes
1 answer
110 views

Show the content of child folder(s) in the parent folder

I have a parent folder. This parent folder contains no files; only child folders. All of those child folders only contain files; no further child folders. I'm looking for a way to show the contents (...
John Willemsen's user avatar
3 votes
1 answer
112 views

How can I list files in category - with streaming, so command starts showing something quickly also if folder has millions of files

I have folder that apparently has millions of files inside it. As result, dir command is running for minutes already without displaying anything. I checked dir --help and tried to search for solution. ...
reducing activity's user avatar
0 votes
0 answers
430 views

How to create a folder shortcut on desktop in ubuntu 22.04.1 LTS? Gives error after creation

How to create a folder shortcut on ubuntu? I used this method to create the shortcut as well as used ln -s /media/alcatraz/New Volume2/Codes ~/Desktop/. If I use the first method, link is created ...
naved17's user avatar
0 votes
2 answers
1k views

Ubuntu on WSL started defaulting to root user

Yesterday, all was well. This afternoon I restarted my computer after some file downloads from my class bogged down my laptop. Upon restarting and opening Ubuntu, it defaulted to root@<mysystem>:...
macky's user avatar
  • 1
1 vote
2 answers
2k views

How to access Windows files from Linux in WSL?

I'm starting to learn how to use the terminal with Ubuntu on WSL (Windows). Just from the very beginning of the course it says that if you use the ls command it should show you your "home" ...
Paloma's user avatar
  • 11
0 votes
0 answers
139 views

rename multiple subfolders (not files) to parent directory name

I've searched for a solution for this, but everything I found relates to renaming files in a subfolder. I want to rename only the subfolders in multiple directories to the names of the parent folders ...
delta1071's user avatar
0 votes
1 answer
529 views

Error mounting /dev/sdb1 at /media/andy/MAXTOR_SDB1:wrong fs type, bad option, bad superblock

Since going to 20.04 I have been seeing some odd behaviors. Thunar and Caja are not seeing Maxtor_SDB1. lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS loop0 7:0 0 63.2M 1 loop /snap/core20/...
fixit7's user avatar
  • 2,736
0 votes
1 answer
288 views

Correct ownership and permissions of /media folder and folders of external drives

I was trying to run a synchronization program to sync files on a drive and on my computer. The synchronization program said it could not access the files on the USB drive. I changed the permissions ...
Tim X's user avatar
  • 1
2 votes
1 answer
195 views

What is /proc/85/root/tty & why am I seeing it written to every 1 second?

I'm watching which files / directories are being written to on my Ubuntu 22.04.1 LTS installation (kernel v. 5.15.0-52-generic). Suddenly I'm seeing writes to /proc/85/root/tty every 1 second. I know ...
raddevus's user avatar
  • 1,656
0 votes
2 answers
724 views

Password protect a folder

I have several files in a folder. I want to encrypt that folder. What's the way I could do it? I tried the following: Used the command zip with encrypt option. This does encrypt the files. But the ...
nicku's user avatar
  • 101
-1 votes
1 answer
163 views

add comment to a folder or file

how can i add comment to a folder or file that is visible all the time. (help me find the desired folder without opening it). Comments like... Ticket to patna. Old prescriptions which are no longer ...
avi's user avatar
  • 1
0 votes
0 answers
102 views

Is it safe to remove CacheStorage directory under .config/Code/ServiceWorker?

I've just noticed a large directory (2.4GB) in disk analyser. It is in /home/user/.config/Code/ServiceWorker/CacheStorage which contains many many small files. I guess that this is where some settings ...
Brzoskwinia's user avatar

1
2 3 4 5
39