Questions tagged [directory]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
10 views

What are directory permission conventions?

Running command ls -l / shows permissions of directories on my server. I noticed that most directories are set to 755 or rwxr-xr-x, link bin and directories lib, lib32, lib64, libx32 are set to 777 or ...
1
vote
1answer
44 views

Bash script for copying files to subdirectories named after the file´s owner

I need to write a bash script which copies files from a folder to subfolders named after the files. For example, there is a common directory "For all", inside there are various files and ...
0
votes
0answers
23 views

Folders hidden under subfolder? How to restore back?

I have a Windows partition, let's call it WIN and under it I have Folder1 and Folder2. So in other words a "ls" on /media/myUser/WIN would show the two folders My problem is that for a ...
6
votes
1answer
878 views

I accidentally removed the entire /usr/share/bug directory

I accidentally removed the /usr/share/bug directory using the following command: sudo rm -r /usr/share/bug That bug directory had supportive files for most of the installed packages. I want them back. ...
1
vote
0answers
16 views

Does anyone know if VS-Code Cache's data anywhere other than `~/.cache`?

Everywhere I look on google, I find out how to clear the VS-Code cache data on windows. To be fair, even though it is an open source project, its being built from Microsoft's dollar, and by MS ...
0
votes
0answers
32 views

I have 2 __pycache__ folders I want to remove

I've tried running the find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf command but it says access denied. I can't find any better help. I'm a complete computer idiot btw. Anyone ...
0
votes
1answer
28 views

My user folder is inside a random folder

Somehow I got the following file structure in ~/ ~ └── todo_app └── ~ I really don't know how this hapenned and how to solve it. cd ~ just goes to ~ and not ~/todo_app/~.
0
votes
1answer
40 views

Folder showing lock icon in Ubuntu

I have a folder showing a lock icon. I can't execute any programs that are in this folder. I have tried to run the commands: chmod 777 folder_name and sudo chown -R USER:HOME folder_name When I do ...
2
votes
2answers
52 views

Copying certain amount of files to multiple directory

I have 5000 files and 50 sub directories in one directory. I want to move each 100 files to each directory. Can anyone provide any suggestion how to do it? Thanks in advance. file_count=$(ls ABC* | wc ...
0
votes
0answers
34 views

How to Automatically generates folder thumbnails of what is inside - in Ubuntu 21.04 nautilus

I'm using ubuntu 21.04/gnome (nautilus) file browser - side by side with windows 10 - on a decent hardware. I have ext4 partition for ubuntu OS and other NTFS partitions "auto-mounted by ...
1
vote
2answers
55 views

Running a shortcut

I just upgraded from Ubuntu 18.04 to 20.04 and I am quite disappointed! It looks like you cannot start a program shortcut from the any folder! If the shortcut is on the desktop, you can right click on ...
0
votes
0answers
31 views

Current Directory is Outdated

I have a simple question, as I'm new to Ubuntu. I recently install Ubuntu on Windows 10. To access my Desktop, I simply use the line: cd /mnt/c/Users/MyUser/Desktop. All is well so far. However, after ...
0
votes
1answer
50 views

Can we have more user friendly directory names?

Like in the picture shown below:
0
votes
1answer
65 views

Transfer files from multiple directories into a single one

I have some folders, for example /Desktop/tat, /Desktop/sac and /Desktop/ras, each of which has many files of different formats. I want to transfer all the data from these folders to a new one, named /...
0
votes
1answer
35 views

Cut directory when dragging

It seems to me the default behavior when dragging a directory to a new location has suddenly changed in my Ubuntu. It used to cut the directory, now it just copies it. Where could I change this?
0
votes
0answers
25 views

Can't change ownership of a directory

I have a Kubuntu VM where I have a shared folder mounted as /vmshare When I realized that root was the owner (and not me) I did this: user@pc:/$ sudo chown user vmshare -v changed ownership of '...
0
votes
1answer
25 views

Moving my folder from Desktop to Downloads (Folder)

I tried to move a folder from my Desktop into my Downloads folder several times, all my tries end up with renaming my folder name only. ex: tuxedo@cosmos:~/Desktop$ sudo mv myFolder Downloads I don't ...
0
votes
2answers
60 views

The Linux command line for beginner | Creating folders and files

I'm trying to go through the tutorial for creating folders and files, however when I followed the instructions I'm getting a different result. When I type ls it shows a bunch of stuff instead of dir 1 ...
0
votes
0answers
47 views

Can’t cd /tmp directory when this code is used cd /tmp is says no directory

Finding it different to open temporarily directory please help
0
votes
1answer
31 views

Migrating zip files to directories using certain label

Introduction: I'm a novice to scripting and made the decision to change from Windows to Ubuntu(Ubuntu 20.04.2 LTS) recently so I'm not familiar with many things. An explanation or advice would be ...
1
vote
0answers
11 views

Folder shortcuts on desktop

Why do I have to reset my folder shortcuts (photos...documents...etc) after every boot-up or restart? Theres an X on each one and I have to go back redo them.
2
votes
1answer
55 views

What is linux command to navigate to the previous directory (or back)? [duplicate]

I think my observation linux to navigate to the previous directory (or back) command is cd- but it is not working code cd-
1
vote
0answers
24 views

Can't Apply Changes to Permissions Within a Folder's Enclosed Files in Ubuntu

Issue with the GUI I'm using Ubuntu 16.04 LTS. I am trying to allow all enclosed Files and Folders to have full Read and write access as well as Create and delete files. Currently, it is set to Read ...
0
votes
1answer
47 views

Remove special repository

In trying to install googledrive repository with google-drive-ocamlfuse, I got stuck with this error: cannot access 'googledrive': Transport endpoint is not connected I can't remove googledrive (...
0
votes
0answers
124 views

cp: cannot stat '{1..112046}.pth': No such file or directory

I am using Ubuntu 16.04. I am trying to copy the range of files from one directory to another directory. cp {1..112046}.pth path/to/destination_folder While being inside the source folder. But it ...
0
votes
0answers
18 views

Where Skype save cached images?

I need to recover a picture sent me on skype but the message have been deleted from the other user. Does Skype keep a copy of that picture somewhere?
0
votes
0answers
30 views

Why I can't create a folder on a mounted drive?

I was gifted by a friend of mine a 500 GB HD. We installed the hardware then formated it to NTFS but when I mount it I can only access files I sent there using windows (dual boot) but I can't create a ...
2
votes
1answer
33 views

Ubuntu main directory

Good day I want to make /mnt/c/Users/joey/Desktop as my default directoy so when I close then open my terminal it will be my main default directoy thanks
0
votes
1answer
33 views

what directory should I use as my new hard drive?

I have a video server that runs linux server (no Grafical interface), which has 2 hard drives : NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 55....
0
votes
0answers
42 views

Moving the Pictures, Documents, Music into alternative directory

I recently installed ubuntu 18.04 along with windows 10. The installation was done into an SSD which contained the Windows OS, but of course, partitioned. So, the Windows OS is in one partition and ...
0
votes
0answers
28 views

Remove directory from a saving .gen file using grep command [duplicate]

I have used the grep command to match a pattern then the matching row has saved in a file. But when saved the result it's saved with the file directory. But I want to save only the row result not the ...
0
votes
1answer
30 views

Ran a wrong command using Wine

I tried to recognize what version of Wine I had installed, but itstead of wine --version I ran wine version As I understood it tried to run application with the name "Version", which doesn'...
2
votes
2answers
62 views

Is there a way to combine a folder listing and count of items?

Is there a way to combine a folder listing and the count of items (like Windows does)? This gives a detailed folder listing: $ ls -l This gives a count of displayed lines: $ ls -l | wc -l I don't ...
0
votes
1answer
26 views

How to find the directories with or condition

I want to find the directories with java* or JDK* . Starting from root directory it needs to search from all directories.
0
votes
0answers
81 views

How to move Jetbrains Toolbox apps from home directory to root directory?

I'm using ubuntu 20.04 and I want to move the apps of jetbrains Toolbox from home to root directory without crashing them or having to reinstall them.In addition,I want that all the new dowloaded apps ...
0
votes
0answers
36 views

Unable to access system32 folder from Ubuntu 20.10 and 20.04.2 LTS live in USB

I installed Ubuntu live in USB, both version 20.10 and 20.04.2 LTS. I have a PC with Windows 10 and I tried in both of them. In one, no problem. The other presents that issue. When I try to open ...
0
votes
3answers
154 views

Split directory into 3 directories [duplicate]

I have a directory containing around 24800 .mp4 files how can I split it into 4 directories containg all the files without keeping the original 24800 files in one directory ? is there any MV/move ...
0
votes
1answer
43 views

Where I can store user files except /home

I'm new to Linux environment, I've installed Ubuntu 20.04 on ssd and placed /home dir on another partition on hdd. It's ok with data like documents, films, photos and so on. But I want to keep my work ...
0
votes
2answers
66 views

How can I simultaneously extract files from .tar files and send them to the same directory?

I'm new to Linux and still don't know much, so this problem may sound a bit ridiculous. I have a folder with a lot of .tar files, and I wanted to simultaneously extract all of the files inside the ....
1
vote
0answers
23 views

Ubuntu 20.04 no desktop folders [duplicate]

After upgrading to Ubuntu 20.04 and changing my desktop to Unity on my laptop, the machine's desktop does not show any files or folders, nor does it respond to any attempt to place a file on it or to ...
0
votes
0answers
62 views

Ubuntu mount SMB share. Authenticate using Windows Active Directory

So far I have been able to connect Windows, FreeNAS, and Ubuntu to the domain and everything is working. Configured on ubuntu using SSSD. Now the problem that I'm facing is that I can't find a way to ...
0
votes
0answers
49 views

Main Pictures and Data folders gone from folder structure - Ubuntu 20.04

Today I've realised that for some reason two of my main system folders (/home/$USER/Pictures and /home/$USER/Data) have disappeared from my folder structure... Nautilus has changed how it shows their ...
0
votes
0answers
20 views

Printing files in a directory along with specific information

I'm a beginner to this. I'm currently within the directory I want to be using and as it has a lot of files within it I want to print only the top 15 files, along with information about owner, date, ...
1
vote
2answers
124 views

Copy Multiple Folders with Similar Directory Structure and Maintain Structure in New Location

Looking to do something that is probably pretty simple below is the directory structure: /home/user/app-data/Unique container ID/path/to/files I've tried: cp -r /home/user/app-data/*/path/to/files /...
0
votes
0answers
55 views

foder an file, thumnails, for all types of files. Ubuntu 20.04.2

20.04.2. I just uninstalled my windows 10 and I'm feeling much better already. I would like to have thumbnail preview icons for all types of picture formats and video formats. I would also like to see ...
1
vote
1answer
30 views

How can a lbuntu.iso file be verified on a windows 10 computer?

How can I verify a lubuntu download on Windows 10 computer? Ubuntu shell was installed and runs, but does not see the same directory where the lubuntu.iso file is located. How can sha256sum be run ...
1
vote
0answers
43 views

Where are app folders from the “Show applications” window defined?

Problem Every single time I install something from the snap-store (doesn't have to be a snap app, a .deb file also counts) all of my nicely organized programs inside their own folders scatter ...
0
votes
1answer
18 views

Seeing recent folders not just files in nautilus

I am using 'files' (aka Nautilus, apparently) 3.36.3, standard in Ubuntu 20.04. Is there a way to see recent folders and not just files? Currently I never see folders here.
1
vote
1answer
70 views

Accidentally deleted the Downloads folder

I deleted the default downloads folder by accident using the terminal, is there a way to create a new default system folder for downloads?
2
votes
3answers
286 views

Pinta can not open file - permission denied

My ubuntu 18.04 is installed in the SSD.I installed pinta from ubuntu software but can not open files from my hard disk, says permission denied. But can open files from SSD where ubuntu is installed(...

1
2 3 4 5
37