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

learn more… | top users | synonyms (3)

54
votes
6answers
235k 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 ...
31
votes
1answer
16k 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 ...
26
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?
23
votes
3answers
8k 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 ...
18
votes
3answers
14k 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. ...
18
votes
3answers
25k 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 ...
16
votes
6answers
29k 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 ...
16
votes
2answers
15k views

Find duplicate files and folders and move these to a different folder [duplicate]

Possible Duplicate: How to find (and delete) duplicate files Is there a reliable duplicate file/folders utility, (with GUI) for Linux that can find duplicate files or folders and move them ...
15
votes
5answers
17k 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 ...
15
votes
1answer
3k 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
2answers
344 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
3answers
611 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
4k views

What are “$PATH” and “~/bin”? How can I have personal scripts?

What is $PATH? How can I have commands/programs which are only available for me? I have seen this path ~/bin mentioned before, but what is it used for, and how do I use it?
12
votes
4answers
391 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 ...
11
votes
5answers
838 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
11answers
54k 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 ...
11
votes
7answers
2k 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 ...
11
votes
2answers
1k 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
1answer
740 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
1answer
10k 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 ...
10
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?
10
votes
3answers
9k 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?
10
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?
10
votes
1answer
545 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 ...
10
votes
2answers
548 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!
9
votes
3answers
856 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
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
2k 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
4answers
12k 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 ...
8
votes
2answers
2k views

What is the double slash (//) directory?

I mistakenly typed cd // instead of cd /. To my surprise, current directory showed up as //. What is that directory? Why does it exist? apple@snipped $ pwd /home/apple apple@snipped $ cd / ...
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
251 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
6answers
3k 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?
7
votes
3answers
62k 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 ...
7
votes
2answers
6k 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
1answer
7k 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
4answers
9k 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 ...
7
votes
1answer
6k 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?
7
votes
3answers
971 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 do I change the folder icons in the “Places” menu?

How do I change to icons in here?
7
votes
1answer
1k views

Ubuntu One Sync for multiple folders in Windows, not just the Ubuntu One folder

I may have misunderstood Ubuntu One as a service, but this is how I had pictured it. At home, I tagged a few folders with the "Sync to Ubuntu One" tick and it started uploading. Now back at work, on ...
7
votes
1answer
3k views

VirtualBox: Ubuntu Host and Ubuntu Guest. Where is my shared folder in the Guest?

I am running VirtualBox OSE in an Ubuntu Lucid host. The Guest system is also Ubuntu Lucid. I've set up a Host directory to share with the Guest via VirutulBox's Shared Folders. This directory is ...
7
votes
2answers
1k views

Setting up a shared media drive

I want to have a shared media drive be transparently usable to all users, whilst also sticking to FHS and Ubuntu standards. The former takes priority if necessary. I currently mount it at /media/Stuff ...
7
votes
1answer
2k views

Go to the parent directory in Files/Nautilus Ubuntu 12.10

In Ubuntu 12.10 (Gnome3) they've removed the "go to parent directory" using Backspace. I was very used to it... I've seen in source code comments that they've removed this support and there are at ...
6
votes
4answers
20k 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 ...
6
votes
2answers
460 views

How to 'cd' to a directory found with 'find'?

I have a file in gmai.rb in the below directory: root@ubuntu:~# find / -name gmail.rb|more /media/aruprakshit/FA686DE4686DA05D/Rubyscript/gmail.rb But when i am trying to reach to the Rubyscript ...
6
votes
2answers
528 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?
6
votes
3answers
186 views

What's the difference between “cd ../” vs. “cd /..”?

What do these two commands mean? cd ../ cd /.. I am ending up in two directories upwards the tree on the first command and in the root directory from the second command. Why does that happen?
6
votes
1answer
2k views

custom icon in “Places” menu

I'm pretty new to Ubuntu, but I know the basics. I read the "How do I change the folder icons in the “Places” menu?" but it didn't help, did the option #2 since I want to specify it for a single ...