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
46 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
10 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
437 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
125 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
105 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
30 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
58k 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
348 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
284 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
107 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
65 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
41 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
91 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
106 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
54 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
791 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
34 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
19k 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 ...
0
votes
0answers
30 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
72 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. ...
10
votes
6answers
60k 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 ...
0
votes
1answer
28 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
39 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
58 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.
15
votes
2answers
80k views

Bash: ./filename : Cannot execute binary file

I couldn't execute a fortran compiled code in ubuntu 11.10 32 bit. Error message is bash: ./filename : Cannot execute binary file. I've installed the gcc and gfortran libraries too. Could anyone ...
2
votes
2answers
955 views

How to best copy large files to an SD card? [duplicate]

Possible Duplicate: Copying files to SD card not saving When copying large (or even files of a few KB) to an SD card from Ubuntu 10.10 (Maverick Meerkat), the files appear to be there, ...
0
votes
0answers
26 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
4answers
272 views

How does one read the contents of a text file located on the desktop using the terminal? [closed]

I recently failed to properly upgrade from ubuntu 12.10 to 14.10 and I'm having all sorts of GUI issues with Unity, Gnome & other interfaces as soon as I log in. I don't have access to most basic ...
0
votes
0answers
25 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 ...
1
vote
2answers
940 views

Filter files in a folder?

How can you filter out files in a given folder by typing in characters into a "filter by" box? Is there a script or extension that will enable this functionality in Nautilus?
12
votes
4answers
1k views

How do I integrate my Windows filesystem with Ubuntu?

I recently got a new Windows computer and would like to dual boot with Ubuntu. I don't really want to have 2 separate file systems (with mounting) but would like to integrate the two, if it is ...
2
votes
1answer
55 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
2answers
54 views

Why is my persistence file not increasing ?

I have an NTFS formatted drive with Ubuntu 14.04 on it and I'm trying to increase my persistence file, but no matter what, it won't increase. I've tried this with previous versions of Ubuntu as well, ...
0
votes
1answer
133 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 ...
2
votes
3answers
809 views

retrieving contents of multiple subfolders, and move them into single folder

I have downloaded over 7000 ebooks from Project Gutenburg, but I have an issue. Each book has been placed in its own zip file, and each zip file has been given its own folder. My problem is that I do ...
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 ...
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 ...
2
votes
1answer
51 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 ...
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
1answer
115 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
31 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
120 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
54 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
509 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
46 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 ...