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)

13
votes
7answers
4k views

How to delete files listed in a text file

I have a text file that has a list of paths to various files. Is there a command I can use that will iterate through each line and delete the file at the stated path?
25
votes
9answers
36k views

How to list all the files in a tree (a directory and its subdirs)?

For a task of mine I need to list all the files in a tree (a directory, all its subdirs, all subdirs of those, etc.). I'd prefer to see them in Nautilus or Krusader, but a command-line solution is ...
0
votes
1answer
28 views

Git commit and push via batch file on Ubuntu

Our team have to always submit code on git after their work. And on every PC there are a lot of projects. All system running with Ubuntu OS. So I need some solution for overcome this manually commit ...
1
vote
0answers
15 views

how can i make appear my bookmarks at top left than bottom left in nautilus?

How can i make my bookmarks appear at top left than bottom left in nautilus? I have to scroll down every time to find my bookmarks. That's boring. If above is not possible, how can i remove the ...
0
votes
0answers
8 views

How can I search my links (.desktop) files from Dash using Super+F?

I often pull my browser bookmarks to the desktop or another folder. (That results in .desktop files containing the URL and title). When I search for the bookmarks from file manager I can find them. ...
3
votes
1answer
7k views

ODT file support on the iPhone app?

I noticed that only doc and docx files can be viewed in the Ubuntu One app for the iPhone. Is there are plans to support odt files? I like to use the default libreoffice file structure. I bet many ...
0
votes
2answers
85 views

Wine won't open .exe files?

I'm a big noob to ubuntu and having to run wine with windows applications, but I'm trying to download some indie games and 99% of them come up with an error message that insufficient data is not ...
1
vote
1answer
36 views

I unlocked the 'Files' button/icon from my unity launcher and now it disappearead and I cannot restore it or get it back

I unlocked the 'Files' button for the Ubuntu file manager from the unity launcher and I cannot get it back. When I run the file manager from the dash, the icon does not appear on the launcher like ...
0
votes
3answers
387 views

What does this “find” command do?

I am so beginner on Linux and I have run the following command while I am on /root: find . -type d -exec chmod 770 {} \; && find . -type f -exec chmod 660 {} \ I meant to run that on a ...
0
votes
1answer
18 views

Retrieving Files from Broken Ubuntu

I run Ubuntu 14.04. I recently ran the command sudo apt-get -f install, which, for some reason, ended up removing the boot files. So, I reinstalled Ubuntu on a different partition. However, I would ...
18
votes
9answers
60k views

How to list recursive file sizes of files and directories in a directory?

How do I list all the files in a directory and their recursive file sizes? ---edit I want to see the sizes 'rolled up' to the parent directories in the directory listed. I don't want to see the ...
1
vote
1answer
7k views

Does anyone know of any alternatives to recuva for file recovery? [duplicate]

I was using recuva to find pictures and videos on a windows xp hard drive, but I keep getting an internal error message. Does anyone know of an alternative program for recovering broken and damaged ...
1
vote
2answers
36 views

How to know the home directory size limit?

Is there any way to know how large my home directory is allowed to be?
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?
0
votes
0answers
70 views

file manager permission based on users on Ajenti

I installed Ajenti-v on my Ubuntu server 15.10 and I want to create multiple users with specific access to their home directory. Currently, whenever I create a new ajenti user (which is synced with ...
0
votes
2answers
46 views

How to get file size in terms of bits?

The best I seem to be able to get from Nautilus and ls is the file size for a given file in bytes, however I would like to be able to view the exact file size of a given file in terms of bits, how can ...
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"?
12
votes
2answers
3k views

Placing many (10 million) files in one folder

I've just added a predictive search (see example below) feature to my site that runs on a Ubuntu Server. This runs direct from a database. I want to cache the result for each search and use that if it ...
1
vote
2answers
1k views

How to sort by type and then by modified in Nautilus?

How to automatically sort by type and then by modified in file manager? Using 13.04 and Gnome 3.8
0
votes
2answers
56 views

How to open xz file into movie player program

my friend sent me film with xz format and that file can't open. How to open that xz file in movie player program?
0
votes
0answers
31 views

Opening files without or unknown extensions from a remote server

When I try to open files without or unknown extensions, for example .bashrc from a remote server (via sftp), I get this dialog: I would like to be able to select my text editor in the context menu ...
3
votes
2answers
64 views

What tools are available for determining a files type other than the file command?

I am trying to figure out how Football Manager reads its save games. The files have .fmc extension and if I run the file command it just returns data. I suspect the save game file is a database of ...
0
votes
1answer
20 views

Do I need unencrypted files underneath encrypted overmount?

I have unencrypted files in my /home/user dir (likely fallout from moving my home dir to a different partition). /dev/sda1 440G 137G 282G 33% /home /home/user/.Private 440G 137G ...
10
votes
7answers
10k views

Why do I get “Directory not empty” when I try to remove an empty directory?

I have this empty directory, but I keep getting the following error message: Cannot remove test: Directory not empty I know this question has been asked plenty of times but none of them helped. I ...
3
votes
4answers
710 views

Why doesn't ls combined with awk show exact sizes?

I am trying to find the size of the files on my hard drive in exact bytes, but whenever the size gets too big the number turns all weird (like 1.98329e+12). Can I stop it from doing this or convert ...
1
vote
1answer
23 views

Giving postgres access to root files

I created an Ubuntu 14.04.4 server on digital ocean. I have a directory off the root user called mapnik/data/. Inside is a file I want to import to postgres. When logged in as root ls -l ...
0
votes
0answers
7 views

list all files by size [duplicate]

I'm currently running some Disk Management and trying to locate where some rather large files are located. Is it possible to list all files on a hard drive, (including system files, and hidden files) ...
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 ...
0
votes
0answers
17 views

/home/$USER always load with unknown binary files

My personnal folder is full of unknown files : newzzzcworl, newzzzcwpaa.... When I open it, my computer load during a very long time. Software like Matlab doesn't work when I looking for files in ...
2
votes
2answers
194 views

what is the default location for backup files of another server

I have an Ubuntu Server and one of its "tasks" is to mirror/backup files located on another server in a different location using rsync/rdiff-backup. I know there are some conventions like web pages ...
0
votes
0answers
23 views

Can't Downloaded just zipped file

I am using ubuntu, KKVM as webserver just make a backup with zip -R archive.zip * file size: -rw-r--r-- 1 root root 3676624704 Apr 4 11:04 archive.zip As you read from title i can't ...
21
votes
4answers
111k views

Bash: ./filename : Cannot execute binary file

I couldn't execute a fortran compiled code in ubuntu 11.10 32 bit. Error message is bash: ./filename : Cannot execute binary file. I've installed the gcc and gfortran libraries too. Could anyone ...
-2
votes
1answer
38 views

Where can I find a folder containing icons of all my applications, that I can double-click? [duplicate]

Where can I find the folder where I can see icons of my applications and click on them as I am accustomed to from other operating systems? (N.B. Please see my comments re duplications.)
4
votes
1answer
5k views

Changing default file icon

I changed the default application association for a mimetype that was wrong just editing the file .local/share/applications/mimeapps.list. Just doing this was not sufficient to change also the ...
0
votes
0answers
26 views

How to associate an icon to a file type

Is there a definitive, infallible tool or recipe to associate an icon to a file type? I mean, to simultaneously associate an icon with all files of that type on a computer? I could do that file by ...
0
votes
1answer
30 views

Pasted file has more MB than the copied?

Ok so I have ubuntu 15.10 installed on a USB and boot with it as my main OS on this computer. The computer has 2 hard disks one connected to a SATA interface and one through USB too... none of them ...
12
votes
5answers
20k views

How to shred a folder?

I want a command to shred completely the contents of a folder/directory (which may be inside folders/directories). Also please explain the command.
12
votes
7answers
78k views

How to extract and join files xxx.zip, xxx.z01 and xxx.z02

I have three files 1.zip, 1.z01 1.z02. I would like to extract and join them into a file, by right clicking 1.zip and selecting "Extract Here". But then there comes an error: 7-Zip 9.04 beta ...
12
votes
1answer
1k views

What do the symbols like =, * and | in the output of “ls -F” mean?

I am working on creating a 'cheat sheet' of shell commands. I am currently researching the ls command and its flags. For the -F flag I know what the majority of the appended indicators mean but for; = ...
7
votes
3answers
10k views

How do I solve “Error splicing files?”

My hard drive crashed, so I'm using a Ubuntu live disk to access my files. But as I try to transfer them to my flash drive, it occasionally comes up with an error message which, when I view details, ...
4
votes
2answers
17k views

How I can recover a previous version of a file?

I modified a .txt file and saved it. When I opened it again, I saw that I deleted one thing from the last version I saved. So I would like to know if I can recover what I deleted? This file is very ...
1
vote
2answers
51 views

How to store file information into an array?

With this part of script I can get a necessary information about files in my directory(and subdirectories). The only information I need is the extension and the size of file. for file in `find . ...
0
votes
2answers
62 views

Check if input string exists in file

You must read string1, what should I do? Here's my code: #!/bin/sh echo "Enter your sting: " read read string1 if [ grep -q $string1 file.txt ];then echo "Found it" else echo "Sorry this string ...
0
votes
0answers
40 views

All panels gone and no terminal

I was booting up my laptop one day and entered my password wrong several times due to forgetting it. After finally getting in, I get to my account and find all the panels gone. I've tried everything ...
-1
votes
1answer
23 views

How long it will take to sort uniq a 62GB file? [closed]

For 5 hours I ran the command sort file1 | uniq > file2 on a 62GB file and I'm just wondering how long it will take. I have a Intel® Core™ i7-4510U CPU @ 2.00GHz × 4 with 8GB RAM. It will be ...
0
votes
2answers
82 views

chmod not working in a non super user

I have created a file named *.txt in /home using following command: sudo nano *.txt Then I have changed owner of *.txt to a user that I've created: sudo useradd -c "ABC" sudo chown ABC ...
1
vote
1answer
36 views

When copying files via USB from Ubuntu to Windows 7, there is a different number of files

What's up guys, I'm trying to backup some Ubuntu files to my Windows machine. I have all the files in one folder and when I click "Properties" in Ubuntu it says 696 items, 742.6 MB. When I copied that ...
1
vote
2answers
70 views

Bluetooth File Transfer with Nexus 5X Not Working

I am running Ubuntu 14.04 on my laptop. The laptop's Bluetooth seems to work fine as I have a remote Logitech keyboard that I have paired with it that works flawlessly. My problem is with my Nexus 5X ...
1
vote
5answers
117 views

Editing files on server through SSH

I'm working on a web application and all of it's files are on a linux server, which I am accessing through SSH. Is there a way to edit these files in a text editor other than vim or nano through SSH, ...
0
votes
3answers
6k views

how to delete locked folders/files

How to delete locked folders/files? When I try to delete them an error occurs: "Error removing file: Permission denied" I am root. See the image below to know what kind of folders/files. thanks