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
0answers
14 views

Recovering Files from 2nd HDD on a Ubuntu Server

Been Long time, Ok So I have a Ubuntu 12 Server with 2 HDD's 1st HDD is Holding the OS and the 2nd HDD is Holding the Data. The users suddenly complained that there are no documents in the Share ...
0
votes
0answers
13 views

purpose of bamf-2.index [duplicate]

What is the purpose of /usr/share/applications/bamf-2.index ? I have noticed the applications it contains are installed in my computer. But I don't think it contains the complete list. Because the ...
0
votes
1answer
32 views

file changes not being saved

I'm new to Linux so please be gentle :-) I'm trying to update a .dtl file that contains html for the helpdesk application otrs that I'm running. I made a copy of the .dtl file and moved it over to ...
0
votes
1answer
13 views

Is O_NOATIME safe to ignore?

I am designing a filesystem to be implemented in FUSE. I have a question regarding what is allowed and best practice. There are 2 scenarios: User process calls open(..., O_NOATIME). Filesystem ...
1
vote
0answers
19 views

Aquaris E4.5 Ubuntu Edition, Bluetooth file shareing

How is it possible to send an file for example in image to another phone with Bluetooth. I managed to pair my phone with another phone through Bluetooth but I was not able to send an image file in ...
0
votes
2answers
36 views

6 gig file won't fit on 8 gig flash drive

I have a 6.4 GB file. I have a 8 GB flash drive. Why won't the file fit on the flash drive? More importantly, how do I get the file onto the drive?
1
vote
1answer
17 views

Files from windows

I recently installed ubuntu and when I opened the pictures, videos, download, etc. files they didn't have any of the files I had from when I used windows, why is that?
2
votes
1answer
20 views

Number of files shown via Properties and when copying are different?

I have looked at "Properties" of a folder to see the number of files and the folder's size. When I decided to copy the folder to my Desktop, number of files and the folder's size shown on the progress ...
1
vote
2answers
24 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
18 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 ...
22
votes
2answers
1k views

Does the /dev/null file actually have a fixed size?

I have just found out that /dev/null is a file and not a directory. I'm just wondering if it has an actual file size.
0
votes
1answer
20 views

Internal Differences Between File deleted from GUI and CLI

I am using inotify system call for watching one of my file for all the events (delete,modify etc). But When I deleted file from GUI, no notification was fired. Whereas when I deleted file from CLI ...
0
votes
1answer
9 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 ...
0
votes
0answers
16 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 ...
2
votes
2answers
32 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 ...
0
votes
0answers
15 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.
1
vote
1answer
55 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
60 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 ...
5
votes
3answers
398 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
11 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
0answers
7 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
37 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 ...
2
votes
3answers
159 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
0answers
25 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
13 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, ...
-1
votes
0answers
43 views

How to transfer file from Ubuntu 14.04 to Moto E running Android 4.4.4?

When i am trying to copy file from ubuntu 14.04 to Moto E running Android 4.4.4 I am getting error like Error while copying to "store_00020001". but there is plenty of space in Moto E.
0
votes
2answers
34 views

Unnoticingly I deleted a directory. Is there a way to recover it?

I found something over the internet here https://www.howtoforge.com/data_recovery_from_accidently_deleted_files_or_crashed_drives_in_ubuntu ...
0
votes
3answers
51 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
2answers
50 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?
0
votes
0answers
20 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
14 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 ...
0
votes
1answer
23 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 ...
7
votes
1answer
173 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.
2
votes
1answer
43 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
34 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
7 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
141 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 ...
1
vote
1answer
76 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
21 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 ...
0
votes
3answers
47 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
2
votes
3answers
49 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 ...
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 ...
6
votes
2answers
151 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
2answers
147 views

File transfer from and to BQ Ubuntu phone [SOLVED]

My ubuntu (14.04 LTS) laptop does not automatically pick up my BQ ubuntu phone when connecting with a USB cable. Is it possible to transfer files between laptop and phone by cable and how is it done? ...
0
votes
0answers
51 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
34 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
44 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 ...
0
votes
2answers
39 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 ...
13
votes
7answers
767 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
2answers
27 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 ...