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
2 answers
39 views

Moving Files and Folders to another folder recursively

I am trying to move files and folders from one directory to other. Both of the files has multiple subfolders and files. From the reasearch I have made it seems that the answer should be something like,...
user avatar
  • 123
1 vote
1 answer
32 views

Changing the auto save directory for screen shots and screen cast in Ubuntu 22.04

I recently switched to Ubuntu 22.04 and I really like its default screenshot UI, but there seems to be no way to change the autosave directory. It saves the pictures to the $HOME/Pictures/Screenshots ...
user avatar
  • 71
0 votes
0 answers
21 views

The shown folders I want to move back to right place [closed]

Where do the folders belong in the folder structure ? See attached picture
user avatar
-1 votes
0 answers
17 views

Security issues and suddenly all folders are locked [closed]

So, i'm using mint xfce 20.3 una, and suddenly all of my folders are locked. Documents, musics, photos, home, everything is locked. Should i concern about security issues?? Why this happened suddenly? ...
user avatar
0 votes
0 answers
25 views

How to execute a command on a single file in a directory whilst looping though the directories recursively

I have the following structure / Cardio /../ High /../ High / download.txt /../ Low /../ Low / download.txt /../ Medium /../ Medium / download.txt / Warm / Warm / download.txt / Cool / Cool / download....
user avatar
  • 131
0 votes
0 answers
48 views

Rename all files and directories wihtin a directory to uppercase

So, i have a game folder (for example, named: GAME1) which contains 250000+ files and directories. Everything inside needs to be renamed from lowercase to uppercase . I can open a single directory (A) ...
user avatar
0 votes
1 answer
30 views

how from Ubuntu to identify disk C, D' etc in windows 10

help to understand structure directories in Ubuntu is there way, simple way to find out which where what disk of Windows - C D etc I see when watch in gparted structure directories in ubuntu 20 04 or ...
user avatar
0 votes
1 answer
31 views

How to run java program from different directory in Linux

How to run java program from different directory in ubuntu
user avatar
0 votes
0 answers
40 views

AlephOne: symbol lookup error: alephone: undefined symbol: glBlitFramebufferEXT

I am currently using Ubuntu 20.04, and after a recent update, I have been having issues with this program in particular. It is a program I compiled from source, so perhaps this is an issue of it ...
user avatar
0 votes
0 answers
24 views

Create default directory

Sorry have a strong MS background and hence some trails of thought might seem odd. Ok here is what I have and try to achieve: Have: sda = nvme = install for Ubuntu 20.04 with root folders raid striped ...
user avatar
  • 1
1 vote
1 answer
84 views

after resizing /var now Ubuntu has two /var?

I had my Linux directory on vda disk and as it is obvious , it had /var directory in vda1 directory. vda 252:0 0 50G 0 disk ├─vda1 252:1 0 49.9G 0 part / ├─vda14 252:14 0 4M 0 ...
user avatar
  • 21
0 votes
0 answers
15 views

I can't open my folders when I double-click my touchpad

I can't open folders on my computer with Ubuntu 20.04, when I double click them with my touchpad. I use an HP laptop that has a tenth generation Intel processor. To open the files now I'm obliged to ...
user avatar
0 votes
4 answers
437 views

How can I get the path of directory in which the command is running?

Suppose there is a bash file named "uploadme" in the /usr/bin folder. I am using that file as a command, and passing the file names as a command line argument, in any subdirectory of my home ...
user avatar
0 votes
0 answers
21 views

Default folder display when click on Download (from Firefox or any navigator) on Ubuntu 20.04.4 LTS

Update : I use Ubuntu 20.04.4 LTS and Firefox is set to "Always ask you where to save files". I want to change the default folder displaying when I'm clicking on something to download from ...
user avatar
  • 11
0 votes
0 answers
43 views

How to really hide a folder / file?

I have a folder which I want to hide, but not by prepending a dot, because then you just need to enable "View hidden folders" in the file manager. I don't want that - I want it to be REALLY ...
user avatar
-1 votes
1 answer
44 views

How do I search for a certain folder located inside the root directory?

I'm specifically looking for the command equivalent of sudo find / -name filename for searching folders instead of files in the terminal. Suggestions with a better set of commands for achieving the ...
user avatar
  • 143
0 votes
2 answers
41 views

All my Files are locked and I can not modify them, how do I unlock them?

Hi to Ubuntu Community, I was opening one of my folders when I noticed that the folder, and all the others around it, had a lock on each one, and then disappeared. And now, when I want to delete, ...
user avatar
0 votes
1 answer
34 views

Trying to execute a shell script gives error "./: is a directory"

I did the chmod +x to the file, but it still won't run the script, and I have no idea what's wrong with it: ~$ chmod +x hworld.sh ~$ ./ hworld.sh -bash: ./: Is a directory
user avatar
0 votes
1 answer
61 views

how do I fix this error? [duplicate]

dion@dion-Lenovo-ideapad-330S-15IKB:~$ apt install update N: Ignoring file 'some-ppa.list.save.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension N: Ignoring file 'some-...
user avatar
0 votes
0 answers
26 views

Rename files and move to parent directory and delete empty subdirectories

ls */*/* The output of the above command is shown below: HP14_107_Ch/10785/outs: metric_summ.csv HP15_746_Ad/10746/outs: metric_summ.csv HP16_317_TD/10787/outs: metric_summ.csv I want to rename ...
user avatar
0 votes
1 answer
54 views

How to check if 2 directories have the same content

What's an easy way to check if 2 different directories have the exact same contents?
user avatar
0 votes
1 answer
36 views

Change default directory in terminal started with shortcut but not in visual studio code

I'd like to start in a different directory when I open a terminal using ctrl + alt + T. I've already tried the method adding a line with cd command in .bashrc. It works well, but then when I open ...
user avatar
0 votes
0 answers
29 views

Open bash in a specific directory when being in it

I usually delete files using the terminal. For doing so, I press right-click on the directory I want to delete a file. Instead of doing that process, I wonder if there's a shortcut that allows me to ...
user avatar
  • 115
0 votes
1 answer
281 views

How can I get an output containing only the size for a directory?

How to get directory and its subdirectories size? I tried du -sh . But it also prints path. I need a command that doesn't print path. Like: $command 50kB
user avatar
  • 17
0 votes
1 answer
59 views

I can't copy-paste or cut-paste

I can't copy-paste or cut-paste any file from desktop,folder etc. to again desktop,folder etc. Can you help me ?
user avatar
  • 3
-1 votes
1 answer
33 views

after changing language , folder not shown when being created by command line

i create a new folder or document with the terminal,like mkdir test By using 'ls', i make sure that the folder is created successfuly. But it does not show in the graphical view. So, l try to create ...
user avatar
  • 1
1 vote
0 answers
108 views

How do I resolve a "Too many levels of symbolic links" error on my Documents folder?

I tried using root and the absolute path, but got the same error. I also tried changing the ownership of the folder manually to my username, which also resulted in a "too many levels of symbolic ...
user avatar
0 votes
2 answers
62 views

How to create a new file / an empty file using command or shortcut or without command?

How to create a new file / an empty file using command or shortcut or without command? Like To create new Folder, shortcut: Ctrl + Shift + N Right click and create New Folder
user avatar
0 votes
0 answers
22 views

ubuntu 20.04 desktop cli cannot download folders on vsftp ubuntu server 20.04

I use filezilla and can download folders from the server, but when I use a terminal, I get the 550 failed to open file error. I can cli download a file, but not folders... Also, if I go into the ...
user avatar
0 votes
1 answer
54 views

Problems with the home directory

All the files that are in the home directory are showing up on my Ubuntu iterface. I created a directory called problems (last directory in the image) to put the directories that are in the home ...
user avatar
0 votes
0 answers
32 views

Created or Edited Files after Auto mount are missing after restart

Yesterday I decided to auto mount a hard drive with "Disks". During the mount options change I was working with some files in VScode, after saving the changes, the files were readable and ...
user avatar
  • 1
2 votes
1 answer
63 views

Arrow keys and | less

I'm new to Ubuntu and I was playing around in the terminal. Not sure what I stumbled into with two things: I'm in /bin and when I type the command dir | less it displays the content in two ...
user avatar
2 votes
0 answers
80 views

What is the directory "//"? [duplicate]

My teacher asked me why directory "//" (double-slash) exists. I know that the // is the same as /. I search for it and found many answers (// was created for compatibility with older Unix ...
user avatar
-1 votes
1 answer
49 views

I accidentally moved a .config folder and I don't know where to put it back Ubuntu Cinnamon 21.10 have a pic. Where do i retun it to?

Somehow while moving files around, I grabbed and dragged a .config folder with lots of clues to where it goes, but I don't know and I am worried if I don't get it back, I will have real problems if ...
user avatar
-1 votes
2 answers
820 views

-bash: cd: Downloads: No such file or directory

Why does cd Downloads fail with "No such file or directory"? Even tho I know that it is case-sensitive What procedure is missing during installation or to run Ubuntu on Windows 10?
user avatar
0 votes
2 answers
51 views

How to copy a file from a subdirectory into another subdirectory?

I have a directory, Documents with 2 subdirectories, A and B. I'm trying to copy a file from subdirectory A to subdirectory B.
user avatar
0 votes
1 answer
24 views

Using Ubuntu on SSD with a Separate Data Drive

I have been researching this for quite some time coming from Windows that there is no “Path” that you can give to a program during installation, but instead the program downloads where it needs to. Is ...
user avatar
  • 1
0 votes
1 answer
161 views

How to get to the Windows Desktop in WSL?

I want to work in desktop directory from Ubuntu terminal in Windows 10,but I'm unable to open Desktop directory from terminal. My Ubuntu is installed on the C: Drive but as i mentioned i want to work ...
user avatar
0 votes
1 answer
111 views

Shortcut to open the terminal specific directory

I'd like to know the shortcut that lets you open a terminal window in a specific directory just like when you press the left button on it and you click on 'Open in terminal' in the pop-up menu. Thanks ...
user avatar
  • 11
0 votes
0 answers
103 views

Green file names and folders after backing up data in Linux

I've recently wanted to switch from Fedora to Ubuntu and after backing up my data to an external hard drive, installing Ubuntu and moving them back I encountered an unpleasing appearance. All of my ...
user avatar
  • 1
0 votes
2 answers
60 views

Ubuntu CLI, replace a long filepath/filename with a shortcut

I have a long path to some of my files and I don't want to type and/or use the Tab-key as much when using it with commands in the Terminal. So I want to add "shortcuts" to some them (both ...
user avatar
3 votes
0 answers
169 views

How compare several directories' data transfer (read/write) for defined periods?

With interest for the amount of data transfered to or from several directories (including sub directories) it occured, that there is lack of tooling for this special task. For low level integration, ...
user avatar
0 votes
0 answers
44 views

I wanted to install some software but the files are locked

When i try to run the setup file i am getting this error: The files are getting locked when downloaded from browser. I got to know about super user, but unlocking each and every file takes too much ...
user avatar
1 vote
0 answers
24 views

running series of commands gives other result than running them on script [duplicate]

this is the script: #!/bin/sh rm -rf git/ mkdir -p git/{c,ds/{include,test},projects,quizzes,system_programming} find git/ -type d -exec touch {}/dummy.md \; This is the wanted result: git/ ├── c │   ...
user avatar
  • 11
0 votes
0 answers
52 views

Why folders and files disappear suddently

Hi I do not know why all folders and files disappear. Please see the below screenshot. In order to confirm the Ubuntu system still can work well, I created another file "test.tet". As we can ...
user avatar
2 votes
1 answer
167 views

Why does a particular directory always exist in /tmp even after reboots?

I am using Ubuntu 20.04.3. I remember in the past creating a directory /tmp/myWork. I usually work on that directory: downloading files, saving temporary files while working on some software, etc. ...
user avatar
0 votes
0 answers
38 views

Active Directory Login from trusting domain

I have 2 different active directories and 2 different domains. Management domain: management.com Client domain: client.com Trust relation one way, management.com able to manage client.com but client....
user avatar
  • 1
0 votes
0 answers
103 views

ls or ll listing without permissions and hardlinks

I need recursive listing of directories for my DVD backups. The prefect format is following: Name of the directory: subdirectory0/ subdirectory1/ size date time name0.txt size date time name1.sh size ...
user avatar
0 votes
0 answers
10 views

Creating bulk individual folders for bulk individual files

I have a few folders with hundreds of files within each of them all with the same extension. I would like each of these files to be nested within their own subfolder preferably with the folder having ...
user avatar
0 votes
1 answer
76 views

Trying to patch a read only directory

I am currently trying to apply a patch to a read only directory, but I am having some issues, since this is a read only directory I mount the directory with # mount -o remount,rw /var/lib/waydroid/...
user avatar

1
2 3 4 5
39