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
1answer
17 views

Convert NTFS TO FAT file system

How I change NTFS files system to FAT or msdos file System without lossig my data using linux Commands?
0
votes
0answers
9 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
9 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
17 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
1answer
59 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.
1
vote
1answer
23 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
27 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
123 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
68 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
16 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
27 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
38 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
20 views

I want to use my secondary HDD for everything

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 ...
5
votes
2answers
133 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
91 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
35 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
33 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
42 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
38 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
731 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
24 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
17 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
53 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
33 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
18 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
31 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
30 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
50 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
10 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
12 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
37 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
37 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 ...
2
votes
1answer
43 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 ...
0
votes
1answer
16 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
75 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
43 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
19 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
59 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
22 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
52 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: ...
0
votes
0answers
35 views

How to get source list with Ubuntu and Debian packages?

I am using bugtraq OS and I want to add a new source list in my source file at /etc/apt/sources.list, so I need to get a sources.list file for Debian and Ubuntu in one file.
0
votes
1answer
113 views

At least one output file must be specified ffmpeg

ffmpeg -i oceans.mov -an -c:v libx264 -r 24 -preset fast \ -profile:v baseline -g 64 -keyint_min 64 -b:v:0 230k -maxrate 250k -s:v:0 304x128 \ -x264opts pic-struct:no-scenecut -movflags ...
0
votes
2answers
40 views

If I run an application, ~/.application is created. Is it safe to delete?

How do I stop it for creating such folders... eg..if I open the application say - Stellarium, then in the home - a folder ".Stellarium" gets created This was not being created before...What can do to ...
10
votes
2answers
2k views

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 ...
0
votes
0answers
68 views

How to delete Nautilus - Files completely in Ubuntu 14.04LTS

I have tried: sudo apt-get remove nautilus sudo apt-get remove --purge nautilus In the Ubuntu Software Center, it seems nautilus is uninstalled: On the other hand, I have also done the ...
0
votes
0answers
7 views

How to Edit the File Chooser

Is there a way to increase the icon size in the file-chooser dialogue? As you can see from the screen shot below, under the green dot, my icons are very tiny and I would like to increase their size a ...
3
votes
1answer
33 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 ...