For questions concerning specifics about the files on Ubuntu. If your question is about the file manager called "Files" in Ubuntu, use the [nautilus] tag instead.

learn more… | top users | synonyms (2)

47
votes
8answers
46k views

Is there a tool to encrypt a file or directory?

What's the most popular way to encrypt individual files or folders?
32
votes
13answers
38k views

What mass file renaming tools are available?

I need to rename a bunch of files in order to fix their sort order, therefore I need to be able to do a sort of "find and replace" so I can replace chunks of the filenames at a time. What tools ...
9
votes
2answers
17k views

Recovering user files with a Live CD

For some reason my bootup isn't working. I get an error akin to "Operating System Not Found". So I tried bootrepair, and that didn't work. So then I decided I would just save my personal files, wipe ...
13
votes
5answers
4k views

Is there a way to recover files from a storage device partially overwritten with dd?

I'm an idiot, I was writing an image to a USB drive using dd when instead of typing /dev/sdb I typed /dev/sdd and wrote the 135mb image to my 750gb External Hardrive full of files. Is there ANY ...
13
votes
2answers
44k views

How to recover Deleted Files and Folders?

How I can restore files and folders. I've deleted my home folder recursively. :(
72
votes
8answers
19k views

How can I open a file in my terminal, like nautilus does it?

I want to be able to open files like my operating system does from console. e.g. a .pdf file should be opened with evince or whatever the default application to open pdfs is. All the other things ...
45
votes
6answers
40k views

Where are file associations stored?

How does Ubuntu or any other Linux systems store file associations? Is there some /etc/asscociations file or something? I know that I can right click on file and change it via "open with", but I'm ...
50
votes
15answers
27k views

How can I easily encrypt a file?

Is there any simple (IE: right click in Nautilus) way to password protect a particular folder/file in Ubuntu? I've got a few files containing sensitive info and I'd much prefer that if/when I leave my ...
1
vote
1answer
2k views

Accessing my Windows 7 files from my Ubuntu account

I have just installed Ubuntu on my computer and I have windows 7 as my other operating system. is there a way that I can access my windows 7 files from my Ubuntu installation?
71
votes
4answers
254k views

No such file or directory? But the file exists!

I've downloaded a game (Shank) but the bin file doesn't run. The error that is shown when I try to launch the executable is: bash: ./shank-linux-120720110-1-bin: No such file or directory
44
votes
7answers
73k views

How can I open a .dmg file?

I've got a .dmg file, and I can't figure out how to open it. How can I open it?
8
votes
1answer
1k views

What file size units do applications on Ubuntu use?

I have noticed that different applications use different units, or mean different things by them. For example, I have come across kB, KB, KiB, Kb and K. How many bytes do each of these units ...
3
votes
2answers
1k views

General Rules for dealing with File Permissions

I have run into a ton of file permission issues in Ubuntu, from not having permission to delete a file, change the contents of a while, and so on. I was wondering if some of you Ubuntu experts could ...
62
votes
4answers
487k views

How to run .sh file [duplicate]

Possible Duplicate: How do I run .sh files in Terminal? I want to download JDownloader from the internet for Linux. But the file is .sh and when I tell ubuntu to open the file it uses some ...
32
votes
1answer
84k views

How to transfer files from/to an Android device with ADB via GUI?

Do you know if there is an Ubuntu program (possibly a Nautilus plugin) to transfer files from/to an Android device? What is my mind is a program which does adb push, adb pull, and adb shell ls in the ...
10
votes
3answers
15k views

How to View Windows Files on a Wubi install?

I wanted to ask, how can i view all my windows files on Ubuntu. I found out how to get my D drive folders but have yet not figured out how to get my C drive files. Please give me an easy way to find ...
8
votes
2answers
4k views

Reinstalling Ubuntu without formatting partition - what folders are deleted?

When re-installing Ubuntu on a partition where an existing Ubuntu installation already exists, and not choosing to format the partition, the installer shows a warning message before it begins ...
6
votes
2answers
3k views

Sort music by metadata

Is there an easy way to organize all my music files by artist, album etc. ? I would like to organize all the music files in ~/Music in folders by their metadata. So the directory structure would look ...
7
votes
5answers
3k views

How do I encrypt files after skipping the option during installation?

I need to encrypt some files on my machine. I did not select the option do encrypt my home folder at installation, but since there was an option to do so I am guessing that Ubuntu has some inbuilt ...
5
votes
0answers
4k views

How do I run executable scripts in Nautilus rather than open them in Gedit text editor? [duplicate]

When I double-click on a script in Nautilus in order to run it, the script opens in my text editor with no option to do so. Using Nautilus, how do I run executable text files and/or scripts?
4
votes
3answers
5k views

How to encrypt files using a cross-platform solution?

What programs can be used to encrypt files that could subsequently be decrypted on any OS? For instance, it should then be possible to easily decrypt the encrypted files under Linux, Windows, OS X, ...
22
votes
4answers
93k views

What's the easiest way to mount Windows share as a local folder in home directory?

Via Gnome Nautilus I can easily mount Samba shares from my Ubuntu Server. However, these "mounts" are kinda of fake. Many applications I run do not recognize that Gnome has mounted these server ...
36
votes
5answers
47k 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 ...
28
votes
5answers
12k views

How can I add an application to the list of Open With applications?

I installed Komodo Edit from a download (wasn't available in Software Center.) I want to be able to open .php files in Komodo, but when I right-click and choose Open With Other Application, Komodo ...
12
votes
3answers
5k views

How to search for files by tags?

I can tag files with nautilus but haven't found a solution to find files by tags so far. Tracker-search-tool doesn't offer to search for tags, nor does Nautilus, nor any other application I'm aware ...
5
votes
2answers
3k views

How do I know which file a program is trying to access?

I have a program which I am trying to run, however when I run it; it just complains that it can't find a particular file. However I have no idea which folder it is trying to find this particular file ...
4
votes
1answer
3k views

Why Same File Shows Different Sizes in Different Operating Systems

I want to give some scenarios: A movie file shows 700 MB in Windows but it shows around 735 MB in Ubuntu, which is in my drive having NTFS partition. Similarly another file shows 446 MB in Windows ...
14
votes
4answers
28k views

Opening a file from terminal

When we want to open an application or file from the terminal, we type, say, okular file.dvi This opens the application, but also shows the status of the application. We cannot close the terminal, ...
13
votes
6answers
5k 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?
13
votes
2answers
2k views

How can I programmatically change a file's icon?

If I select an icon in Nautilus and select Properties, I can click on the icon presented there. This gives me a file-chooser dialog to select a new icon image. I would like to do this via a script of ...
13
votes
6answers
10k views

Concatenating several .mp3 files into one .mp3

As it was suggested here I am using cat command to concatenate several .mp3 files into one .mp3 file. Imagine, I have following .mp3 files in the current folder: 001001.mp3 001002.mp3 001003.mp3 ...
19
votes
5answers
84k views

How can I change permissions on external drives?

I wanted to change permissions on my external drives that are automounted however I have tried by sudo nautilus and then going to gui and permissions and changing it however it does not let me. I ran ...
4
votes
3answers
2k views

Gedit 3.6.1, how to increase the number of recent files from its default of 5?

Ubuntu 12.10, gedit 3.6.1 This won't work: gconftool-2 --type int --set /apps/gedit- /preferences/ui/recents/max_recents 30 Modifying this file as root won't work either: cat ...
6
votes
2answers
4k views

“No such file” when running a 32-bit program on a 64-bit system

I downloaded a Chromium snapshot and unzipped it, like this: michael@ubuntu:/opt/chrome-linux$ ls chrome libffmpegsumo.so nacl_irt_x86_32.nexe chrome.1 ...
6
votes
2answers
5k views

Hibernate to a swap file

I have configured a new Ubuntu 10.10 installation in a Notebook to use a swap file, instead of using a swap partition. For default is not possible to get Ubuntu to hibernate using a swap file, so i ...
5
votes
1answer
270 views

What security policies exist in place for packages and scripts?

I did have used Microsoft Windows since Windows 98 to Windows 7. I have found lots of security vulnerabilities by myself about how viruses, worms, spyware etc. compromises the system. Microsoft ...
3
votes
2answers
364 views

Local server updates for the network

I have setup one computer on our network as the file server. Because Internet here in Tanzania is both slow and expensive I would like that one system to download all the updates and then the other 10 ...
3
votes
2answers
234 views

Installed Ubuntu over windows

I need to get those windows files. Please let me know whether there is any procedure to get those windows files
3
votes
2answers
31k views

Changing file permissions on USB external hard drive [duplicate]

I am using an external USB hard drive for a long time in Ubuntu 10.04, both at work and at home. Now I've installed 12.04 at home. Today I used the USB drive for the first time. I can read the disk ...
168
votes
6answers
201k views

How can I recursively delete all files of a specific extension in the current directory?

How do I safely delete all files with a specific extension (e.g. .bak) from current directory and all subfolders using one command-line? Simply, I'm afraid to use rm since I used it wrong once and now ...
49
votes
8answers
103k views

How to search entire hard drive for a file?

Trying to locate a file, how can I search the entire hard drive for a file?
19
votes
4answers
2k views

How to make faster first search at Unity-Dash? Way slower than second one

After a reboot, the first search using Unity Dash will be slower (15 sec) than the second search (seems instant), on my system at least. I guess this is because file index is cleared after a reboot ...
15
votes
1answer
6k views

Is there a Ubuntu sanity check

Is there a standard procedure to 'unit test' an Ubuntu system against the deb packages? Assume, a system has ubuntu-desktop installed according to the package manager. Can I find out, whether the ...
22
votes
5answers
29k views

What are dot-files?

I am having a hard time grasping what dot-files are or what they are for. Are they directories? How do I navigate to them? Thank you!
22
votes
3answers
9k views

How can I quickly make a large file?

What is a quick and easy way to make a file that is, say, 2 GB in size?
15
votes
3answers
8k views

Why does every directory have a size 4096 bytes (4 K)?

As the subject says; I want to know why is every directory having a size equals to 4K even if they contain files with sizes greater than 4K. Please have a look at the following:- a) b) PS: I ...
21
votes
3answers
113k views

How do I create a script file for terminal commands?

In Windows I can write a file containing commands for cmd (usually .cmd or .bat files). When I click on those files it will open cmd.exe and run them commands the file contains. How would I do this ...
17
votes
1answer
3k views

How does Ubuntu know what file type a file without extension is?

As the question goes, how does Ubuntu know what file type a file without extension is? When I save a file as "Untitled Document" without any extension, how does it know? Same thing for video and ...
12
votes
4answers
2k views

How do I integrate my Windows filesystem with Ubuntu?

I recently got a new Windows computer and would like to dual boot with Ubuntu. I don't really want to have 2 separate file systems (with mounting) but would like to integrate the two, if it is ...
8
votes
4answers
5k views

How to “search and replace” many files?

I use the grep command to search for a string in many files. Is there something similar to "search and replace"?