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)

0
votes
0answers
11 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
45 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
287 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
44 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
52 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
80 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
116 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
30 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
33 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
76 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
207 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
261 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
65 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
17 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
285 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
136 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
35 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
814 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
224 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 ...
7
votes
2answers
395 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
3answers
513 views

File transfer from and to BQ Ubuntu phone

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
145 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
46 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
175 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
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 ...
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
2answers
40 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 ...
0
votes
0answers
41 views

Is there a way to log rejected file access attempts in the Linux file system?

It often happens when you install a new program or when you just configure something, that you hit issues with the file system permissions because you don't have the folder/file permissions set ...
0
votes
3answers
106 views

How to run executable (application/x-executable)

I downloaded the linux version of this game and go a zip inside the zip is a application/x-executable file which I can't run. ./filename does nothing as well as sh filename. EDIT: I meant this game. ...
3
votes
2answers
65 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
31 views

Download page won't offer me the iso file for mac

The download page won't offer me the iso file for mac option, so when I try to install ubuntu, my mac doesn't recognise the file.
0
votes
0answers
18 views

Why can't I run an executable text file in terminal? [duplicate]

In the past when I would go into the properties and set the .sh file to be executable program or whatever, when I returned to the file and double clicked it it would provide several options such as ...
0
votes
1answer
44 views

How would you define a function or script within your path that takes arguments to name the file?

I am learning about the alias command in an online class. I am also interested in ffmpeg. I figured what if I typed an alias, then I wouldn't have to do all of that typing and remember the commands. ...
0
votes
1answer
35 views

I have absolutely no access to any of my files

I had to reinstall Ubuntu due to an issue with the menus and after installing it and updating everything I have absolutely no access to anything even though I am the administrator account.
0
votes
1answer
59 views

Is it possible to send and receive a file from ubuntu to windows without apps like samba etc?

Most of the suggestions and queries are showing samba and other application installations. It needs to be done programatically without any third-party client or servers.
0
votes
0answers
30 views

Basic file presentation mode missing from Ubuntu. (only the names of the files)

In windows I could see the one line names of multiple folders without icons on different columns on the screen. In ubuntu we have only two choices, a one line version that takes the whole line, or as ...
0
votes
0answers
36 views

What is the IO Block property in stat command in ubuntu?

srimanth@srimanth-Inspiron-N5110:~$ stat /home/srimanth/Videos/Better\ Call\ Saul/Better.Call.Saul.S01E02.720p.HDTV.X264-DIMENSION.mkv File: ‘/home/srimanth/Videos/Better Call ...
2
votes
2answers
299 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
1answer
123 views

How to Compress (More than 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 ...
2
votes
1answer
60 views

Is it possible to prevent a file from being deleted unless in safe mode?

Is it possible to make a file only deletable when in safe mode on linux? Specifically I am using ubuntu 14.04 and I need to prevent a file from being deleted. If this solution is not possible is ...
1
vote
1answer
35 views

Files take up more space on new RAID array

I just upgraded and reinstalled my home server. One thing I did was going from software raid to a raid card. After doing this and starting to copy back my backups, I've noticed that my first ~1TB ...
0
votes
1answer
265 views

Cannot access second hard drive

I am new to Ubuntu and I need a little help... Recently, due to a power supply interruption, my Iomega NAS broke. I've read that I was able to rescue the files that were on it by installing Ubuntu on ...
0
votes
1answer
21 views

problem whle installing ubuntu

I am trying to install ubuntu from the hard drive.When the home screen appears after restarting the computer a message says that "No root file system is defined"(as superuser).I partitioned my hardisk ...
2
votes
1answer
57 views

Script to write at the beginning of every line of a text file the name of the file

I would like to write a shell script that allows me to open a text file with a particular name and write the name of the file at the beginning of every line. So, if my file is called "test" and it has ...
0
votes
1answer
21 views

more install problems

alright so got through the entire process of installing Ubuntu I thought. I even got on it and was working on it all day yesterday. today I restarted my computer to make sure I could still get on. and ...
0
votes
1answer
170 views

How to rename a movie file by using its internal name attribute?

I had to recover a bunch of movie files from my external HDD due to filesystem corruption and used photorec to do so. Now all my files have random names like f00000.avi. We are talking about 1000+ ...
0
votes
2answers
38 views

Extract images from several doc files

I have a folder with several doc files which contain a few images each of them. I want to extract those images from the docs: unzip foo.docx "word/media/*" The above command can extract the images ...
0
votes
2answers
211 views

open a folder with several files in python [closed]

How can I open a folder with several files in it? I tested this codes but it returns an strange answer. import os for ZebRa in os.listdir(os.getcwd()): num_words = 0 for line in ZebRa: ...