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)

1
vote
2answers
30 views

Managing space between smaller system drive and a larger extension drive

I have two drives, one with 150 GB and another with 1 TB. I need to use the 1 TB drive more, since I am running into space issues. By default, all installations (when I do apt-get) in my Ubuntu 14.04 ...
0
votes
0answers
20 views

How to store last email in a file?

I wanto to set my bash detecting incoming e-mails and maybe execute commands in the emails, detecting programmed regular expresions, what commands does let me to do this? I'd like to have a solution ...
4
votes
2answers
40k views

How to break or delete the symbolic link?

sudo ln -fs /usr/share/icons/Cyclone/cursor.theme etc/alternatives/x-cursor-theme I want to delete this link, as it seems to make some problems. Is this done by deleting cursor.theme file or what ...
0
votes
1answer
19 views

API for file selection on Ubuntu Touch

Some apps (like background selection in Settings) use a call to open media (image / audio). I would like to create an app that lets you select an audio file and does something with it (QML / C++) I ...
1
vote
2answers
136 views

How to set default program to open specific file type

I wish to set the default program to open .jpg files and other image files to GIMP. To do this as said in one of the answers here, I went into this section (Right-click > Properties > Open ...
1
vote
0answers
52 views

Show Copy dialog by default

In Unity, when i move files, I see this: icon that tells me there is a transfer going on. I would rather see the window with multiple progress bars that tells me what the disk write speed is, and ...
0
votes
0answers
44 views

Different view style per folder in gnome files (nautilus)

Is there a way to set different view styles per folder in nautilus? For example: I want my Home folder view as list, but for the Pictures folder the big icon view is better.
2
votes
3answers
252 views

how can i compare data in 2 files to identify common and unique data? [duplicate]

How can I compare data in 2 files to identify common and unique data ? I can't do it line by line because I have file 1 which contains say 100 id/codes/number-set and I want to compare a file 2 to ...
0
votes
1answer
148 views

How to disable locking in LibreOffice?

I want to disable file locking in LibreOffice, i.e., the creation of a hidden lock file in the directory of an opened document. The advice of the official documentation to comment out the second of ...
1
vote
1answer
83 views

I need help with this file, i edited it wrong, what do i replace with?

What comes after the second CHROMIUM_FLAGS= in gedit? I did the wrong thing when trying to install pepper flash. i went by confusing instructions and now i want to just return this file to normal, i ...
0
votes
1answer
109 views

How to get rights for audio files on ubuntu phone?

I am trying to copy audio files from Aquaris Ubuntu phone to my PC (Ubuntu 14.04), but it says I do not have the rights to do so. Other files like photos and films are no problem, only the music ...
6
votes
3answers
2k views

How to create multiple files with the Terminal?

I've been learning to program with a really cool introductory book to C and I write off every example and task so I can learn the syntax by heart. I did every file manually until now, but the ...
0
votes
1answer
123 views

Is it possible to reverse the effect of bleach bit to fix my problem about an oversized folder?

Is it possible to reverse the effect of bleach bit? What happened: Last week I installed Bleach Bit and ran it for the first time on my newly installed Ubuntu system. I noticed that it was doing ...
0
votes
1answer
12 views

Views preferences in Files

I am new to ubuntu and I don't know how to get to the files permissions. It seems pretty straightforward in https://help.ubuntu.com/stable/ubuntu-help/nautilus-views.html but I just have no idea how ...
0
votes
2answers
94 views

Convert NTFS TO FAT file system

How I change NTFS file system to FAT or MS-DOS file system without losing my data using Linux Commands?
3
votes
1answer
62 views

Identical folders have different sizes

I have to separate external usb HDDs from different vendors. I use Ubuntu LTS 12.04 and according to udisks, both have the same block size, 512, and the same file system, NTFS. Now I've copied a ...
0
votes
0answers
10 views

recovering files from windows backup

I am attempting to transfer files from my old Windows 7 computer to a new Computer that is running ubuntu 14.04. I have been backing up my files on my Windows box to an second sata HD. What I would ...
0
votes
2answers
44 views

Check for redundancy before downloading any file

Is there a way you can check whether you have already downloaded a file previously or not before actually downloading it. I know - wget can do that, only if the filename of the file trying to be ...
7
votes
1answer
198 views

Where do deleted files go in Ubuntu?

I have a very simple question. Where do files go when you delete them? I know when I send files to "Trash", they go to "trash", but when I delete them, I do not know where they go.
16
votes
6answers
22k views

How can I email an attachment from the command line

Is it possible to email attachments from the command line? If possible, I'd like something as simple as: mail -a myfile.txt -t me@example.com -s "Here's my file"
0
votes
0answers
40 views

Windows 7 deleted itself when installing Linux; How can I recover lost documents?

I tried to install Ubuntu 14 using a USB drive to my laptop. Somehow Windows 7 deleted itself. I was able to find the Windows 7 bootloader, but when I run that from the boot option screen nothing ...
0
votes
0answers
14 views

deleting files on 14.04

I can not delete files on external drives, Only removes file headers but drive still shows files on other computer and is still full. On previous editions, eg. 12.04, had option to re-format drives, ...
0
votes
3answers
69 views

append .mp3 at end of every file in a folder [duplicate]

I have a folder with multiple files in it, and I want to append .mp3 extension at end of each file. is there any way to rename all these files with one command.?
0
votes
0answers
27 views

Split multiple files at same time to custom pieces

I need to split multiple files of one exension recursively (does the subdirectories at same time), the first piece of each file should be 3mb and the rest of the file is in the second part. Both ...
0
votes
0answers
27 views

Is there a way to get all file browsing dialogues to use a single click to open files and folders?

I am using Ubuntu 14.10 with Unity. I have set Nautilus to open files using single click. However, when navigating the 'Open' / 'Select a file' dialogues in any other application (e.g. libreoffice), I ...
2
votes
1answer
198 views

cannot exec 'anything' : no such file or directory screen

I’m running some call of duty game servers with screen. I have a start.sh: #!/bin/bash user=cabe game=cod verision=cod1.5 server=xxx.xx.xxx:28970 mod= ip=xxx.xx.xxx port=28970 punkbuster=1 ...
0
votes
1answer
63 views

truncate all files recursively

can anybody give me a solution to enlarge all files of same extension by 264 bytes on entire hard disk? truncate -s +264 /*encrypted would enlarge all *.encrypted files by 264 bytes but only in one ...
2
votes
2answers
237 views

Getting rid of the p7m file extension

The internet has not been helpful this time. I have a zip archive that also has a p7m extension. How can I lose that extension so that I can view the files? Any help is appreciated. Than you!
0
votes
2answers
267 views

Open a file at a certain position and read one byte in bash

Since two persons already voted to close this post, I'll try to make the question as clear as possible. A file on a physical device is represented as a binary sequence. That being said, what I need to ...
0
votes
1answer
58 views

How to search ASCII text with Ubuntu Terminal

I have a file in which when I use the file myFile I get returned myFile: ASCII text, with very long lines I then proceeded to open it up as a .txt file and it opens up in notepad as a lot of ip ...
0
votes
0answers
14 views

How to know the block numbers that are read from a file?

I am looking at the linux kernel source and trying to find out in which part of the code I can track the block numbers/IDs that are currently being read by a user. In sum, if a user is reading a file, ...
0
votes
2answers
454 views

Open files with vim in terminal

Is there any way to open file with vim in the terminal without typing file name, but for example then I see in the directory my file, go with arrow keys or something like that? I think I saw one of ...
2
votes
3answers
164 views

How to delete temp files created by Archive Manager?

I used Archive Manager to extract files from an archive, but there wasn't enough free disk space. After the process crashed my disk remained full and I am unable to locate and delete what is filling ...
1
vote
1answer
118 views

Print a list of “full” relative paths of all the files present in a directory and in its sub-directories

I need to print a list of "full" relative paths of all the files present in a directory and in its sub-directories. I used to do this with du and grep: du -a <path_to_directory> | grep -Po ...
0
votes
1answer
34 views

Input/output error on /etc/shadow

the file /etc/shadow seems to be corrupted as every time I try to remove it throws an input/output error. Now this is a problem because it contains my passwords and I get login without it. Anyone now ...
2
votes
1answer
60k views

How to Fix “Read-only file system” error when I run something as sudo and try to make a folder/file?

When I try to save something or rename a file/folder it say this error " Read-only file system" or run something as root in the terminal it say this error sudo: unable to open /var/lib/sudo/"My User ...
0
votes
3answers
553 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
7
votes
2answers
341 views

How to use zenity file selection

I am new to zenity and I am trying to make a simple script for loading a file using zenity --file-selection and the wc command to get the word count of that file. I have successfully made a form which ...
0
votes
1answer
23 views

I want to use my secondary HDD for everything [closed]

In windows, you can change some settings so that only the operating system is on the sdd, and all installed programs and user documents are installed/stored on a secondary HDD. How would I do this so ...
0
votes
0answers
126 views

Ubuntu is not using swap space from swap file

Instead of using a swap partition, I've always used a swap file (Debian, OpenSUSE, Slackware, Ubuntu) and I've never had problems. But I've just installed Ubuntu 14.04 LTS, I created a swap file as ...
0
votes
1answer
87 views

How to Compress (More then one at a time) PDF files from terminal

I work with lots of rather large imaged documents ranging from a few bites to multiple gigs of data per file. I need these documents to take up less storage space and especially to be more ...
12
votes
7answers
1k 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 thorough each line and delete the file at the stated path?
0
votes
1answer
45 views

Multiple files in program tar.gz installation package. What should I compile?

I downloaded a tar.gz file, extracted it and there are 3 files: Makefile, program.c and protocol.h I've opened them in gedit and Makefile contains only one line program : program.c protocol.h In ...
1
vote
1answer
128 views

Ubuntu File and folder permissions

sudo chmod -R 777 /opt/lampp/htdocs output is chmod: changing permissions of .... Operation not permitted I want to give every permission to htdocs and all its sub-folders and to every file on ...
1
vote
1answer
111 views

Running executable file

I am pretty new to ubuntu and have done following. I have made a file named PinkBunny using following commands and have written some text in it. khan@ubuntu:~$ cat>PinkBunny Hellow Guys! ^C ...
0
votes
2answers
42 views

file permssion want to know [duplicate]

I want to know the file permission code I have run the command and get this code, How can i know which file has which permission ls -l -rw-r--r-- 1 www-data www-data 4253 Mar 16 10:17 ...
3
votes
2answers
59 views

Jpg images turn black on using cp command line

I have used the following command to copy folder containing JPEG and PNG images: sudo cp -r ~/Downloads/wallpap/ /usr/share/backgrounds/ However the JPEG images turn black while the PNG images are ...
0
votes
1answer
839 views

How to connect a SONY PSP system to ubuntu?

I tried to connect my SONY PSP e1004 on to my UBUNTU 12.10 desktop,But no result.Nothing happens.What will I do? I must connect my PSP to computer for file and games sharing.Tell me what to do!
0
votes
2answers
38 views

Incorrect 'date modified' in Ubuntu 14.04

When copying files of the same name between folders (and overwriting), or even renaming a single file, it seems the 'date modified' doesn't change, which is supremely annoying as you can imagine. Is ...
10
votes
1answer
20k views

What represent .Xauthority file?

I had a problem wherein I couldn't get passed the login window in Ubuntu 12.04, even though I have the correct username and password, it still comes back to the login screen. I've found a solution ...