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)

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
23 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
28 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
77k 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
9k 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
16k 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
49 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
50 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
39 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
18 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
74 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
30 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
55 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
77 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
1
vote
1answer
24 views

Who is using an included file?

With 'fuser' I can see which process is using the file. However any included file does not show with 'fuser'. mainfile #! /bin/bash source subfile SomethingInSubFile sleep 60 exit 0 subfile ...
-1
votes
2answers
63 views

Can't delete file and folder from my desktop

Hello i'm new ubuntu user so here my problem, i can't delete file and folder from my desktop there is no option for that."Move to trash" is not optional on list when i press right click.
1
vote
0answers
22 views

Incorrect permission set received

In the following shell script: default_conf_file_path="/etc/apache2/sites-available/"; default_conf_file=$default_conf_file_path"000-default.conf"; DocumentRoot=$(grep "DocumentRoot" ...
0
votes
1answer
45 views

How to fix desktop error “Permission denied”

I can't delete,add and put on desktop files and folder and with everything i only see this. Help me please.
0
votes
1answer
56 views

mkdir: cannot create directory ‘/media/virtualCD’: Read-only file system

I just want to create a simple folder in root directory but I face this message: mkdir: cannot create directory ‘/media/virtualCD’: Read-only file system. I appreciate your help in advance.
0
votes
2answers
49 views

Why am I able to open executable files?

I really don't know how to give many details here. All it is is that I can open exe files for some reason. I'm not saying it's a bad thing, but I'm really confused. I am using Ubuntu 15.10. I can't ...
0
votes
1answer
21 views

Opening a file using xdg-open

I have a bash script which reads a file extension and list files of that extension using 'find' command. After that it reads name of the file. Now after this how can I open that file using name and ...
0
votes
2answers
9 views

troubleshooting updatedb

I am taking a course that makes me go on terminal and run updatedb. but this is what I get: nonrootuser$ updatedb updatedb: can not open a temporary file for `/var/lib/mlocate/mlocate.db' so far I ...
4
votes
4answers
824 views

Option or command for finding whether a file is empty

Is there a command that allows finding out whether or not a file contains something? I tried with ls' size option (ls -lsh) but it does not show me the empty files because the files/folders have no ...
0
votes
2answers
36 views

var/log/syslog growing indefinitely in size

The disk that contains Ubuntu on my computer is 115GB in size. When the disk was 114.7GBfull. I started deleting some files here and there to free up around 5GB. But I noticed the disk was 114GB ...
0
votes
1answer
18 views

Ubuntu Mate question [duplicate]

I am running Ubuntu Mate 15.10-64bit on my surface pro by booting it from a USB drive. I don't want to install it on the surface pro, I just want to keep booting it from the USB drive. I always change ...
0
votes
1answer
39 views

How to disable the need for making operations with sudo

I can read my Dropbox directory from Ubuntu OS. However, in order to delete/create/move file to this directory I must use "sudo". This means that I can do these operation only by shell. Is there any ...
22
votes
4answers
10k views

hidden files always being shown

When opening a folder, by default it always shows hidden files. I can uncheck the view option and they disappear but reappear on the next opening with the hidden files option re-checked. Have I ...
0
votes
1answer
27 views

SSH locked out need to put files onto server

Okay this is my last hope I have a server which i am locked out on because we were testing some different host files in the /etc/ssh folder. I am trying to get my back up onto the server so that i ...
0
votes
1answer
34 views

How to move data to Windows reliably?

I have a laptop which has Lubuntu installed and I have about 30-40GB of videos, documents, pictures and music files on it. I would like to move the data to another hard drive/pendrive and use it on a ...
5
votes
4answers
818 views

How to rename these files with regex?

I can't write a regex code for that. Microsoft Windows has changed my files' names and I want to remove the date from this names. How can I do this? (Names are below.) icon-culture (2015_09_04 ...
1
vote
1answer
21 views

dir2ogg- ERROR: “stdin” is not a supported format

Re: Convert m4a --> ogg I have installed dir2ogg 0.11.8 on Lubuntu 14.04 LTS; faad is inherently installed, Build: May 1 2012. I would like to convert the m4a file ManjusriMantra.m4a to ogg, ...
0
votes
1answer
27 views

opening or editing a file quickly?

how can i open a file with along name using leafpad,notepadqq....etc without copying the name and pasting it is there any trick on the keyboard or a command ? thanks on advanced Beginner
0
votes
1answer
23 views

FIle transfer help physically

Okay so just wondering if i can do this. I have a server that i cannot ssh into because it's missing some files. Is it possible for me to physically connect my computer running windows 10 and move ...
0
votes
0answers
19 views

Header file seen by Ubuntu as an archive file when it isn't. (Red filename from 'ls')

I am cross-compiling a Linux kernel for the raspberry pi. I am cross-compiling on Ubuntu. My build chokes because it cannot find a header file. The header file is actually there but it is displayed by ...
10
votes
3answers
1k views

How do I periodically turn off showing hidden files?

So, in order to hide some files and folders to unskilled eyes, I modified their names putting a dot to the start of the name. It works, and files are hidden. Nosy people that are not skilled will not ...
2
votes
2answers
1k views

'cat': can't open file: Permission denied

I am trying to copy the whole / directory to some other location. When doing cp recursively, it fails on some files like:- / # ls -lrt /sys/module/nf_conntrack_ipv4/uevent --w------- 1 root ...
0
votes
0answers
14 views

ncmpcpp can't find my music

I finally got ncmpcpp and MPD to work, but ncmpcpp won't find my music. I've restarted MPD multiple times, installed mpc and run mpc update, pressed U inside ncmpcpp, restarted my machine, tried with ...
1
vote
1answer
33 views

sftp user can't see files, what is the right permission

I installed a Magento on /var/www/html and set all files in it owned by www-data and group www-data. Added a user to be a member of www-data and use that user on sftp. Directory is set with ...
0
votes
2answers
84 views

How to add files to /var/www/html/ without using the terminal?

Using Ubuntu 15 I install Apache and want to add files to the /var/www/html/ directory. If I type in my browser: file:///var/www/html/ I can see the files (only index.html). However, I cannot add, ...
0
votes
0answers
40 views

Attempting to uninstall and reconfigure pygame for python 3.4.4 or Ubuntu 14.04

First off I want to mention I'm a scrub with ubuntu. Also I am a bit unsure if my python version is 3.4.4, but that is what it sais on my tgz file when I search for it, so I think that is correct. ...
0
votes
2answers
93 views

How to create hundred thousand (100,000) files with extension of “.jpg”, ‘.c’, ‘.sh’? [closed]

How to create hundred thousand (100,000) files in a directory with extension of each .jpg, .c, .sh? The size of each file will be 5kb and each extension will have 33,333 files.
4
votes
0answers
2k views

Ubuntu 14.04 nautilus/nemo file manager hanging on every action

I cannot use nautilus or nemo because of high loading time on each action, many times the applications simply hang and I've busted my time on trying to fix it with no success whatsoever. Here's how ...
11
votes
5answers
15k 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 ...
55
votes
2answers
325k views

How to rename a file in Terminal?

I have: /home/user/my_static /home/user/static/ How do I rename my_static to static and remove static(2)?
0
votes
2answers
59 views

Suggest apps for opening .mdl & .spr files [closed]

One app that can open .mdl files and another app that can open .spr file.
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 ...
1
vote
1answer
41 views

cannot delete an empty folder in “root”

I created an empty "FTP" folder whilst setting up an ftp prog on kubuntu 14.04. I wish to delete the empty folder "ftp" in my root but having used the terminal command rm I get the answer that the ...