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

learn more… | top users | synonyms (3)

80
votes
6answers
409k views

Change folder permissions and ownership

I would like the user to have full rights on this folder (as well as all sub-directories and files in it): ~/.blabla currently owned by root. I have found numerous posts (in this forum and ...
61
votes
1answer
36k views

Differences between /bin, /sbin, /usr/bin, /usr/sbin, /usr/local/bin, /usr/local/sbin [duplicate]

I'm running an Ubuntu Server 13.04, but I see the same on a 12.04: I have six directories with command files. These are: /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin What are the ...
53
votes
3answers
27k views

Dropbox error - 'echo 100000 | sudo tee / proc/sys/fs/inotify/max_user_watches'

Dropbox gives me an error that mentions echo tee 100000 but then it disappears. How to fix or remove msg?
28
votes
4answers
4k views

How can I hide directories without changing their names?

The OCD in me wants directories I do not like the name of to be hidden since I do not interact with them directly. How can I hide directories without using the dot notation?
27
votes
4answers
26k views

Why are hard links not allowed for directories?

I am using Ubuntu 12.04 and I am pretty new Linux world. I am really amazed when I try to create hard link for any directory and fail. I can create hard links for files inside file system boundary. I ...
27
votes
3answers
12k views

Difference between 'dir' and 'ls' terminal commands?

I've been trying to find the difference between using the dir and ls commands in terminal. I know ls is the traditional unix method of viewing the files in a directory, and that dir is the windows ...
25
votes
3answers
48k views

mv: Directory not empty

I want to move content of a directory within another directory with the same folders. Here's an example: I have ./backup wich have the directories "base" and "test". Now I want to move these ...
24
votes
3answers
21k views

Use of /opt and /usr/local directories in the context of a PC

What is the difference between /opt and /usr/local directories and what kind of programs should be installed to them? I referred to Linux File-system Hierarchy but the explanation is not that clear. ...
22
votes
5answers
28k views

How to customize (add/remove folders/directories) the “Places” menu of Ubuntu 13.04 “Files” application?

I can't seem to find a way to customize (add/remove folders/directories) the "Places" menu in the most recent "Files" application of Ubuntu 13.04. The procedures used with "Nautilus" in the previous ...
19
votes
3answers
121k views

find a file using the terminal

I am trying to find a directory, using the terminal and I am not sure where it is. I mean that i used the wget command to obtain the file and used it for installation and now i am not able to find ...
18
votes
6answers
42k views

Move home folder to second drive

I have 2 HDD drives in my computer. At the moment second drive is mounted as /media/storage. How can I move my user data from /home to /media/storage/home? Can I just move the data over there and ...
17
votes
5answers
11k views

How can I add a bookmark in my nautilus folder explorer

In Ubuntu 11 I just dragged the folder there. This seems to be not possible on my new Samsung ultrabook with Ubuntu 12.04 I've tried Ctrl+D and using the top menu but nothing happens and no error ...
17
votes
1answer
4k views

How many files I can have on a single directory?

This question is related to this one. I work with animation, which generates a LOT of files (+/- 1,000,000) typically stored on a single directory. On Mac Os X, some bugs came up with more than ...
15
votes
4answers
25k views

How to open a folder (with GUI) from terminal?

I want to place a link/shortcut/launcher in my unity panel (ubuntu 12.10). I followed this tutorial on handytutorial.com to create a custom launcher and drag it to the panel. I just need to know ...
15
votes
2answers
359 views

Ubuntu keeps creating dummy directories

Whenever I boot into Ubuntu, something (frankly, I'm not sure which program does that) creates a bunch of directories, namely ~/Music, ~/Videos, ~/Documents, and ~/Audiobooks. I know it's possible ...
14
votes
2answers
13k views

How can I assign custom icons to folders?

How do I assign custom icons to folders, as well as the default folders Desktop, Downloads, Music, etc.? I know that one way is to assign the properties of folders, but I want to assign icons in the ...
14
votes
3answers
647 views

how do I make nautilus to automatically suggest the folder 'Documents' for pdf files?

In Ubuntu 11.10, how can I set up nautilus so that when I select "Save as..." on Evince or some other PDF viewer, for a PDF I downloaded with the browser, it automatically suggests the folder ...
14
votes
3answers
2k views

Two accounts on same computer how to make a share folder for both?

I need a shared folder. I and my wife need to exchange files on same computer. How to do that?
13
votes
2answers
1k views

Why is my desktop the same as home folder?

My desktop (not the /home/user/Desktop folder) shows the contents of my /home/user folder. I don't know how I have done it and can I have some help on undoing it? The /home/user/Desktop folder just ...
12
votes
3answers
14k views

How do I delete all empty directories in a directory from the command line?

Say I have a directory named "foo". This folder is full of other directories. How can I delete all the empty directories in one command?
12
votes
4answers
800 views

Restore 'cd ..' functionality after following a symbolic link

If I create a symbolic link in the terminal with a command like ln -s /path/to/some/directory symbolicLink and then follow the link with cd symbolicLink the terminal appears to think that the cwd ...
12
votes
10answers
65k views

Can't access Ubuntu's shared folders from Windows 7

In Ubuntu Maverick, I've shared some folders using the Nautilus "Sharing Options" GUI. I can see them from Windows 7, but when I try to access them (from Windows) it asks for a username and ...
12
votes
7answers
4k views

Mounting a Windows folder with writing permissions in Ubuntu

Apparently the answer is here: http://superuser.com/questions/251537/mount-specific-ntfs-directory-on-linux however it is not working as expected. I have a dual boot system with Windows 7 and Ubuntu ...
12
votes
2answers
2k views

Best place to install apps

I am completely new to Ubuntu and I must say AskUbuntu and you folks are of great help. So now when I have started installing and playing with apps, my question is what is the best place to ...
11
votes
3answers
1k views

What is the meaning of ~ in ~/somefolder?

I've been told to go to ~/.ssh and, actually, I did cd ~/.ssh and I got into it. However, I'm wondering: what does the ~ mean in this context?
11
votes
5answers
4k views

Is it bad practice for folder name to contain dot (.)? How about file name with multiple dots?

Sometimes it makes practical sense for a folder name to contain a dot (.). For example, you are storing data for an experiment conducted at L=0.5. So the folder might be named: experiment_L0.5 A ...
11
votes
1answer
868 views

How to make Downloads folder behave like a temp directory

In order to reduce disk space usage, I want to automate a temporary clean in my Downloads folder. I figured two ways to do so: 1) Changing the configurations of firefox, etc. to save files to /tmp/ ...
11
votes
3answers
3k views

What happens if I delete the default folders in my home folder?

What are the consequences of deleting any of these? e.g.: How will applications that expect them to be present behave? Where will the items on my desktop go?
11
votes
2answers
938 views

Rename default user directories

Is it possible to rename default directories like ~/Documents, ~/Music, ~/Videos? Especially I want to rename Videos to Movies. Thanks in advance!
10
votes
1answer
1k views

Why use sticky bit?

"The sticky bit applies only to directories, and is typically used on publicly-writeable directories. Within a directory upon which the sticky bit is applied, users are prevented from deleting or ...
9
votes
3answers
889 views

Why are these directories called file systems?

/proc, /usr, /var, /home are called file systems. What does that mean? i thought there was only one file system (e.g. ext4)..
9
votes
1answer
11k views

How to get chmod (octal) permissions of the folder in the terminal?

I can look in properties of this folder but I want to get properties fast and in digits (octal, e.g. 755, etc.) What am I to type in terminal to know the chmod of the file or folder I want?
9
votes
3answers
2k views

Why does /cdrom folder exist? Shouldn't it be /media/cdrom or /mnt/cdrom?

Can somebody explain the logic behind Ubuntu's cdrom folder in root? (/cdrom) I recall it used to be /media/cdrom or /mnt/cdrom before (in different distros perhaps)? thanks.
9
votes
3answers
3k views

Photo manager that organises by folder structure

I have my pictures very well organized on the harddisk, in this structure: Pictures Canon Holiday 2010 Sony Graduation 2000 Other Albums Steves Holiday 2010 Album Thus, I have a main ...
8
votes
6answers
4k views

How can you access a folder you want quickly?

You can't put folders in launcher in easy way, so how you access folders or files in fast and easy way?
8
votes
4answers
39k views

How to Search for Files Recursively into Subdirectories

I am trying to look for all XML files in a particular directory and all sub-directories (recursively) inside it. ls -R *.xml is only listing files in the current directory. I am quite sure, the ...
8
votes
2answers
782 views

What does the l command do?

There is a command l available on my machine which appears to do nothing. which l also produces no output. Is this a real command, and does it actually do anything?
8
votes
4answers
10k views

Delete empty “lost+found” folder automatically if it's empty

Every certain amount of time, Ubuntu checks my filesystems and it creates several empty "lost+found" folders. Can I disable this feature? Is there any way that Ubuntu deletes automatically these ...
8
votes
2answers
4k views

Is it possible to exclude a file or folder from being synced, while it is in a directory that was synced?

I synced a folder called "travel". I want to exclude a file in this folder from being synced. Is this possible? Do the other big syncers, like dropbox and mozy, have this feature?
8
votes
1answer
304 views

How to make my application accept folders from Unity Launcher?

When dragging a file, all the entries on the launcher that are able to open that file stay lightened while the others fade. As far as I know, this is based on the Mime Types specified on the .desktop ...
7
votes
4answers
47k views

How do I navigate between directories in terminal?

I am new to Linux and Ubuntu and have tried changing to folders/directories with some difficulty. Could someone explain why the following commands failed to change to the desired target ...
7
votes
5answers
14k views

How to recursively remove .svn metadata folders?

I have a Java project and it used a SVN repository, now I decide to change to GIT. However the problem is that SVN engine that I used created in every folder of the project the .svn metadata ...
7
votes
2answers
8k views

Can I change personal folder locations?

I did this in Windows 7. My Documents, Videos, Music and other personal folders are in D:\ because it is my media disk. In case of a system failure, I will always have access to these files when I ...
7
votes
2answers
6k views

Create a link to a folder on the left panel of Nautilus file manager?

I would like to create a link to some new folder that I have in my home. The left panel shows docs, images downloads etc. But I would like to add my other folders that I created myself like university ...
7
votes
3answers
4k views

Compare Directory Tree

Does there exist a tool that compare Directory tree (Files. sub dirs) and show you waht is missing. I have an upload too which I'm coding and would like to see if it does not mess with structure. ...
7
votes
1answer
11k views

How do we know that a directory is apache writable?

I've been told that I should create a images folder and an assets folder, and that I needed to make sure that: "they are apache writable". I've also been told to make the app/runtime directory ...
7
votes
5answers
1k views

Move files in subdir to another dir

I have a directory : ../Music with a lot of music files in a lot of subdirectories. How would i move all the files in the subdirectories to another directory ? Thus, i only want to move the files, i ...
7
votes
2answers
5k views

How can I change the default location of content directories (eg Pictures, Templates, Music) in my home folder?

I have multiple users on my home desktop. I am content with most of the default user directories, however I would like to make one change. I would like to setup a common directory for Music (ie ...
7
votes
2answers
17k views

Is it safe to delete a lost+found folder?

I have an empty seperate partition used for my vhd/virtualbox. mounted at /mount/win7. I've deleted everything now and there's a lost+found folder left over. It takes up about 5gigs Is it safe to ...
7
votes
2answers
5k views

How do I change the folder icons in the “Places” menu?

How do I change to icons in here?