Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions tagged [directory]

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

1
vote
2answers
31 views

How are the default user folders in the home created for a new user?

When a new user is created and it logs in the first time, those default folders in the home are created. How are they created? If changing the scripts/configurations that create them so that they ...
4
votes
4answers
235 views

Simple way to create a folder when nautilus file list is full of items

It is a question of Nautilus file manager of Ubuntu 18.04. Is there a simple way to create a Folder when file list is full of items?
0
votes
3answers
38 views

Is there a way to create a new directory, containing subdirectories and documents?

For web-development practice I'm using a LAMP stack, on Ubuntu 17.10. For this I'm creating directories within /var/www, each directory is named after a project. To create a subdirectory I use the ...
0
votes
1answer
26 views

How to Move subsubfolders from subfolders into the folder [duplicate]

This is kind of tricky I have a folder, and inside this folder are several subfolders, each subfolder contains one subfolder of it's own (subsubfolder), I want to move these 'subsubfolders' to the ...
-2
votes
1answer
25 views

How do I set separate file permissions for file's owner and others (Ubuntu 14.04)?

I'm trying to set up a "drop box" on my Ubuntu 14.04 system. The directory should allow me read/write/execute permissions. Others should be able to put files into the directory, but not view the ...
0
votes
1answer
26 views

Is there a package installer in which a i can choose where to install?

Since changing the installation path or directory of dpkg is not a good and risky idea I would like to know if there are any package installers in which I can choose to install where I want since my ...
0
votes
0answers
16 views

Whenever I go to add a bookmark in nautilus for the server I connect to, it doesn't bookmark the folder I'm in. How do I do this?

I have a local server. I connect to that server via sftp. I connect to it through the folder window in nautilus. I connect like this: sftp://username@192.168.1.95/media/storage This is how I want ...
0
votes
1answer
25 views

Symbolic link for default Music folder

I have my music collection in my Nextcloud instance. This is synced at ~/NextCloud, so my music collection is located at ~/NextCloud/Music. I now want to have a symbolic link from the latter folder ...
1
vote
1answer
62 views

making new directory in Ubuntu

I'm new to Ubuntu (18.04 LTS) and need to install a software (Juliapro) on it. based on the manual, I installed the per-requisit by TERMINAL, but for installing the script file in below path >> ...
0
votes
0answers
17 views

How to restore delted folder /usr/local after a rm command from terminal [duplicate]

I've been using Ubuntu 18.04 and accidentally deleted a folder /usr/local using command rm -rf. Does anyone have any idea how to recover the folder?
0
votes
1answer
46 views

How to create a Directory, which can be accessible to all user and will be locate at Places like Desktop/Documents

I want to create a directory with all permission which Download/Document has. and I want to mount that directory to the Places where we can see the Desktop, Downloads ( Left Side Panel ), which will ...
0
votes
0answers
44 views

Can't resize windows in Ubuntu 16.04

I installed Ubuntu 16.04 on a new computer. Everything works fine, however I cannot resize folder window. Any program window like Firefox, Soliter, Krusader and so on I can resize. Only when I open ...
0
votes
2answers
109 views

cd desktop to folder on desktop

In terminal, I need to do cd desktop then cd data then ls data. Data is a folder that connects windows partition of the computer to ubuntu. cd Desktop was initially giving me an error (bash: cd: no ...
0
votes
1answer
249 views

Zip2john issue on ubuntu 18.04 LTS

Problem: root@ITSASECRET:~/src/john/run# zip2john : command not found I want to add that the srcript is in the directory. I also had a lot of trouble installing Rexgen as well as Bison and ...
0
votes
1answer
23 views

Why do I get “error: directory jot empty” when shows empty but contained 1tb of data

A directory in my external drive contained 1tb data, and when accidentally unplugging, the directory shows empty when opened and in properties... When I go to delete directory, shows "error: ...
1
vote
2answers
96 views

Set starting directory for foobar2000 via wine

I used to run Ubuntu 16.10. I had configured foobar2000 the same way via wine that I have now. I often attach covers to new additions of my music library via foobar: Back then foobar used to remember ...
0
votes
0answers
136 views

Ubuntu 18.04 Desktop create new folder appear above other folder

Every time I create new folder on Desktop that new folder appears at left most row 2nd position even though there are already other folder is present. How can solve this irritating problem?
0
votes
1answer
59 views

Directory vanished when I pressed Ctrl+H or some other shortcut - how can I get it back?

I've been working on this project for a whole weekend on Ubuntu 16.04 I went to the project directory, thought I pressed Ctrl + h (to see .git folder) and boof, the directory is gone and can't be ...
0
votes
1answer
88 views

How to delete multiple folders from multiple Directories from command line

I want to write a script for my Ubuntu users to delete multiple files from different directories at once. I what to run this on cron job so that it will do automatically. Eg. (I want to delete the ...
0
votes
1answer
79 views

grep to search word in a file and result given that word with ZIPfile name that contain that word [duplicate]

Here is what I am doing: I want to find which zip files includes this number with number itself for example i want the result be like this : 7505857289 AIRCDR where the number is my search result ...
0
votes
0answers
53 views

Folder or drive lock in Ubuntu 18.04 [duplicate]

Is there a simple method to lock a drive or folder in Ubuntu 18.04 other than Cryptkeeper?
2
votes
1answer
43 views

Directories disappear and reappear in Ubuntu 16.04

I have a really odd issue with Ubuntu 16.04 (Server). I have a hardware-RAID working in my Ubuntu Server (HP Microserver Gen10), that's containing my backups in several directories. Everything worked ...
0
votes
0answers
40 views

Custom Home Directory folders (like Desktop, Downloads..)

How can we create a custom home directory just like Desktop, Downloads.. which is similar to the screen shot uploaded and the custom directory also displayed like the default directory.
9
votes
5answers
608 views

Listing files in a directory including contents of subfolders with sorting

I'm looking to list the entire contents of a directory, including the contents of subfolders but sorted by filesize. Thus far I've managed to get as far as listing and sorting whilst still being ...
4
votes
1answer
160 views

Hide contents of the home directory

I have a lab of computers used by a dozen students. Each computer mounts a specific NFS share with a few directories in it, visible to all students. Some of the students need a place on the network to ...
-4
votes
1answer
227 views

cp: target … is not a directory - why does this happen? [closed]

alan:~/LIME_SRC/soapySDR$ mkdir mybuild alan:~/LIME_SRC/soapySDR$ cd mybuild alan:~/LIME_SRC/soapySDR/mybuild$ cp /LIME_SRC/soapySDR/name "CMakeLists.txt" /LIME_SRC/soapySDR/mybuild cp: target '/...
0
votes
2answers
36 views

folder permissions

I have a user user1 that belongs to group1 as primary group, but I need this user to have read/write access to a folder that belongs to group2. I tried adding a secondary group to this user so it now ...
1
vote
1answer
166 views

how can I access ///org/gnome/shell/theme/ in Ubuntu 18.04?

Is there a way to access ///org/gnome/shell/theme/ in Ubuntu 18.04? I got this path in a .css file from /usr/share/gnome-shell/theme/ubuntu.css, for example resource:///org/gnome/shell/theme/checkbox-...
0
votes
1answer
70 views

How can i resize/restrict a folder for users like Desktop/Downloads in Ubuntu

I want to enable size restrictions, which means I want to resize few folders for users like Desktop, Downloads or Music folders. If a user exceeded the memory then it shouldn't overwrite and gets the ...
2
votes
2answers
55 views

create new folder structure within FTP Account

I am working on project where i need to create this kind of Folder structure with FTP Account. I just have FTP account detail and no access to the server, I can connect with FTP and can create ...
0
votes
0answers
32 views

What is the “total” when running ls -la? [duplicate]

When running ls -la in the terminal the first line answer is total 12 drwxrwxr-x 3 root root 4096 Apr 28 10:44 . drwxr-xr-x 4 root root 4096 Apr 28 10:44 .. drwxrwxr-x 4 isa isa 4096 Apr 28 10:44 isa ...
1
vote
0answers
61 views

ubuntu 18.04 shows new folder above removable usb

When I create a new folder, it is shown above removable USB or volumes. How can I fix that? If there is a way to show all devices on menu bar please tell me. mkdir 'new folder'
1
vote
1answer
34 views

Rsync not creating subfolders automatically within same origin and destination paths on different servers

I am running this rsync via cron hourly to sync my websites automatically to the secondary servers from the primary. rsync -avz --del -e "ssh -i ~/.ssh/user-key -pXXXXX -o StrictHostKeyChecking=no" /...
1
vote
1answer
152 views

How to move config files to new installation

I want to perform a new clean installation of Ubuntu 18.04 but I would want to keep all my configuration files for determinate programs, e.g. Thunderbird with all the mail accounts. Is sufficient to ...
9
votes
6answers
2k views

Create directories with a name from txt file which contain '/' character

I have a .txt file that contains a text like this A1/B1/C1 A2/B2/C2 A3/B3/C3 I want a script that reads the .txt file for each line then create a directory based on the first word (A1, A2, A3) I ...
2
votes
2answers
260 views

How can I restore /mnt directory?

I was making mnt directory in home-directory and when I try delete it, I didn't realize my relative path was root(/). Eventually I deleted mnt directory in root... How can I restore /mnt? My file ...
0
votes
0answers
21 views

Set up network folder for scanning

My printer model is M377dw rather than M477fdw, but otherwise I have exactly the same problem as Matthieu Kints van, who asked this question: Network folder setup problem. I have had a close look at ...
0
votes
1answer
39 views

Can't find Onlyoffice .docx file

When i was saving my .docx file in Onlyoffice it saved in a default directory and i can't find it anymore. I don't know why but my default directory changed to /snap/onlyofficedesktopeditors/21/opt/...
1
vote
0answers
776 views

Can't open desktop folders on Ubuntu 18.04

The thing is that I decided to install Ubuntu 18.04 LTS (had 17.10 before) and everything was fine, I could open desktop folders. I don't know how, but some days ago suddenly I couldn't open theses ...
0
votes
1answer
22 views

How to address files on Desktop

Via terminal, I tried to address a file or directory on my desktop (Ubuntu 18) but even this simple command bounces each time: no directory or no file. command used in terminal is cd/home/"my ...
1
vote
0answers
31 views

Filemanager can handle archives (ZIP/RAR) as if they were folders. Like DirectoryOpus

I'm looking for a program that can show me the contents of archives containing images. I used the file manager DirectoryOpus on Windows earlier. DirectoryOpus can display images, navigate to the next ...
1
vote
0answers
76 views

ls without parameters - No such File or Directory

while creating a backup of a Windows PC I encountered an odd File. I first discovered it while copying the parent backup where exactly the same error came up. Note that I masked all [A-Za-z0-9] with ...
1
vote
0answers
122 views

Folder color extension… doesn't change color

I have installed the folder-color package from the Ubuntu repositories as well as the PPA, run the command nautilus -q, rebooted, changed themes (I use papirus-adapta-nokto but it doesn't work in ...
1
vote
1answer
36 views

Making Directories with Bash Script

I have the following bash script to make a set of directories, move to that directory, execute some actions (not shown), and move back up to the parent directory: #!/bin/bash if [ -e 'dump' ]; then ...
0
votes
0answers
29 views

how to get into MAMP folder using terminal

Really new to this stuff so bear with me! I'm trying to get into the folder for MAMP using terminal so that I can then access the directories within it but this is happening: Dounias-MBP:~ ...
1
vote
1answer
633 views

How to create folder shortcut in ubuntu 18.4 [duplicate]

How to create folder shortcut in ubuntu 18.4 Do I need to install an app to do this? thanks!
1
vote
1answer
73 views

Files <FolderName> is ready prompt on Ubuntu 18.04

Every time I open a folder from the desktop, a prompt is shown that the said folder is opened. How do I stop that?
0
votes
0answers
37 views

Linux shared code directory

I have a further question on this. If I have a number of users with their own /home/user directories; but they all need to run code from a directory, can I set up a shared code directory or do I have /...
0
votes
0answers
33 views

samba auto create groups without computers

When i add obey pam restrictions = yes to smb.conf, users home dir is created when the user login for the first time BUT i also noticed that the machine name is also being created under the home ...
1
vote
1answer
146 views

Unknown encoder 'libvo_aacenc' Error

I have installed x262 library then installed ffmpeg into /var/www/html/GetVideo directory with these commands. # build and install x264 git clone --depth 1 git://git.videolan.org/x264 cd x264 ./...