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)

2
votes
0answers
22 views

File command not finding the right info from an iso file

When I run file archlinux-2015.11.01-dual.iso it responds with archlinux-2015.11.01-dual.iso: x86 boot sector when I know it should be responding with something like ...
0
votes
0answers
13 views

Recovering deleted files [duplicate]

Is there any ways to recover the deleted files in Ubuntu without using any software? I mean to say just by code?
0
votes
1answer
176 views

Is closing a file after having opened it with `open()` required in Python? [closed]

Regarding my previous question, I noticed that in both answers that used the open() function, there was no mention of closing the file. I've read that it's good practice to do so, but is there ...
1
vote
6answers
2k views

Create a file and write to it using a python script? Without using the open() function? [closed]

Is it possible to do the above without using the os module or the open() function? How can I create a file and write to it, with the above conditions, using Python? Also, could you provide an ...
0
votes
0answers
63 views

How to open and view a .gsp file?

On Ubuntu, how can one open and view .gsp files, which are made using the Geometers' Sketchpad on Windows? Is it even possible? (I have tried KSEG, which is considered to be an alternative to ...
0
votes
0answers
75 views

NTFS drive not visible to windows anymore but on Ubuntu

I have a 4TB external drive which I was using with windows formatted with NTFS , For some file copying I plugged that drive into Ubuntu desktop and moved the files. Now when I am trying to connect the ...
3
votes
1answer
263 views

Upstart PID files in home directory?

What are all of these PID files doing in my home directory? $ ls -1 ~/upstart-* /home/mark/upstart-dbus-bridge.4885.pid /home/mark/upstart-file-bridge.4885.pid ...
-2
votes
2answers
43 views

What are this files do? [closed]

i'm new to ubuntu while i searched for files i found BitStormLite ec_storm_threshold rrefpropstormin.html StormbaanCoureur weather-storm.svg what are this files do ?
0
votes
1answer
14 views

Data after installing Ubuntu 15.10

I am interested in installing the new version of Ubuntu, Ubuntu 15.10. Is there any way to do so without deleting my files and previously installed programmes?
0
votes
0answers
55 views

Can't copy files to /cdrom folder Error code : permission denied

Screenshot while copying file to /cdrom folder I have created an Ubuntu persistent USB. Now i have to transfer files between my other PC (Windows 7) to Ubuntu. But i cant copy files to a folder that ...
0
votes
0answers
24 views

Deduplication of tiff files on os level

We have thousands of TIFF files on our linux fileserver. There are lots of doubles. Windows Server 2012 has a deduplication feature. Is there something simular in Ubuntu? If so which filesystem do ...
3
votes
2answers
162 views

How to view recent files from the command-line?

Is it possible to view recently accessed files using a single command in the command-line? Could you please provide an explanation of what exactly the command does?
2
votes
1answer
146 views

Any ubuntu plugin for terminal that creates a file with a basic html markup?

Like when I cd to a directory, let's say Desktop. I create a file using > index.html Can it be done somehow that same file has basic html markup, like html/head/body tags?
0
votes
3answers
138 views

How to find the shortest line in a script

I'm creating a script that prompts a user to enter a file name and search for the lines in the file, the longest line, and the shortest line. Here's what I have. #!/bin/bash echo -n "Enter a ...
0
votes
0answers
54 views

escape files with special characters in copy command

I'm going to copy many files and folders, some have special characters..how I can copy all files and escape those files with special characters?
-2
votes
2answers
58 views

Why is Ubuntu's main search feature so ineffective? [closed]

At least for me it is. When I click on the Search your computer and online sources icon in the top left corner and type a file I want to find, and type a file, for example for me, Casino Royale, it ...
0
votes
0answers
19 views

Move files (identicalName&content -> delete old // identicalName & diferrentContent -> rename&Move)

I have 2 directories and try to move contents from 1st to 2nd, i get the confirmation of overwriting if name is identical, but i actually care if the files are identical (md5? size? byteByByte? ...
1
vote
2answers
182 views

File disappeared on move

I had a directory with a file and another empty directory in it like this: . .. file.ext folder I did: mv file.ext /folder The file disappeared now, not in folder too not where it was before! ...
1
vote
1answer
149 views

Script for moving files that are older than 5 days

I'm currently working on a script that allows me to move any file thats older than 5 days into an archive folder with the same path, except for the root folder which changes. So something like: ...
0
votes
2answers
46 views

Opening text file with xdg-open

I am (very) new to the terminal and Ubuntu. I want to open a text file for practice, and have been trying to use xdg-open with no luck. I have tried: xdg-open /home/myusername/Documents/test.odt ...
0
votes
1answer
49 views

When i download something and click 'show in folder' nothing happens

I am running the newest Ubuntu, when I download something, such as an mp3 file, and click on Show in Folder, absolutely nothing happens. Is there an easy fix for this, without being technical and ...
0
votes
0answers
89 views

Give web app server sufficient permission to write/read in a folder

I'm having some troubles giving my web app sufficient permission to read and write in a folder. Most of the previous post I read are for apache server and I use wildfly ( where they use www-data). ...
1
vote
0answers
94 views

Linux- split large files in smaller chunks and append .txt to the smaller pieces

I have been trying to split a large file using the splitcommand but along with this I need to do the following: split a number of files in a directory add an extension .txt to the smaller chunks ...
0
votes
0answers
37 views

Geany file search fails

I recently installed a fresh new version of Ubuntu 15.10 and Geany 1.25. Now, Geany is not searching inside PHP files. In my previous installed version, it was working very fine. When searching for ...
0
votes
0answers
84 views

Aquaris phone other files using memory

I have a ubuntu (touch) phone Aquaris E5 (OS 15.04 r6) Of the 16gb of memory, 8gb is 'other' files When checking the memory, (system settings, about phone, memory), lots of file types are specified ...
1
vote
1answer
43 views

How to prevent the deletion (but not the creation) of items in a folder?

There is a folder which is being created within another folder in my home directory, and I want to be able to analyse the contents of this folder, however, I have a problem: as the folder is created, ...
1
vote
1answer
64 views

Can you change multiple dissimilar file names?

I am trying to rename a lot of music files. The files contain spaces and capitals and whatnot and I want to replace the spaces with underscores and remove all capital letters. Is there a way to do ...
10
votes
4answers
1k views

How would you count every occurrence of a term in all files in the current directory?

How would you count every occurrence of a term in all files in the current directory? - and subdirectories(?) I've read that to do this you would use grep; what is the exact command? Also, is it ...
0
votes
1answer
82 views

Where to save files and install software in a full install usb

I have a full install Ubuntu 14.04 on my pen drive. As far as I know,it's supposed to be a full install because I did it using a live dvd and moreover,there is no option to install from the usb pen ...
0
votes
3answers
124 views

How to lock files with custom-set password?

How can I lock files and programs with custom-set passwords? That is, without changing the permissions of the file so that the sudo password has to be used...
0
votes
1answer
121 views

Find-move-replace files from /folder1 to /folder1/sub-folders

Situation: folder1 have about 2000 files, folder2 have over 300 sub-folders and each sub-folder have 500 files. What I'm asking is to move/replace files from /folder1 to /folder2/sub-folders, but only ...
3
votes
1answer
61 views

If I make a file executable on one system, will it remain so if I move it to another?

If make a file executable with chmod +x <file> , will the change be still applied even if I move the file onto another system? Would that apply even if I distributed the file to a wide number ...
-1
votes
1answer
35 views

Where do files for the programs from the software center get saved? [duplicate]

So im looking for the README file for DOSBOX, but have no idea where it is. feedback for Ubuntu makers: it would be great if there was a "Programs" file like in Windows. Thanks
2
votes
3answers
120 views

Change names of incrementally ordered range of files

Say I have a range of files named: "blah-10-blah", "blah-11-blah" etc...up to "blah-30-blah". I would like to change the names to "blah-20-blah", "blah-21-blah" etc...up to "blah-40-blah". Is there ...
2
votes
1answer
178 views

How can I recursively copy files by file extension?

I would like to copy all files with a certain extension that are in sub directories to a different folder. I don't want to maintain the directory structure, I just want to copy all files found to a ...
0
votes
1answer
28 views

Is there a enviornmental variable for the path to header files?

I am installing some software, and I get an error that says Nux.h not found. I have the Nux.h header, in my downloads file folder, but I don't know where it should go. where do ".h" files go? Also, ...
1
vote
1answer
50 views

Rename the most recently used file

I have some files in /home/Desktop/Code directory. How can I change the file name which is last modified to a name "test.cpp" using terminal.
0
votes
1answer
259 views

Ubuntu, persistence and casper loop file

I have made a bootable linux USB key with Lili Usb Creator using Ubuntu Voyager 14.04 i386 iso. No problem with this program. MyLiveLinux work very speedly, no error, no driver problem on all my ...
13
votes
1answer
694 views

Executables vs Shared objects

I noticed something while doing find /bin -exec file {} \; : the file command reports some entries in /bin are shared objects , while others as executables . For instance, /bin/ntfsck: ELF ...
0
votes
0answers
116 views

Editing Phoshop(PSD) files on Ubuntu?

I was wondering that is it possible to edit psd files on ubuntu(like with gimp). Actually, I need to edit layers. I haven't managed to do it. It would be nice if there is a chance! :)
2
votes
1answer
169 views

Unable to write to disk but disk isn't full

I can't write to any file, even as root, or do any other operation that requires writing. Neither can any process that needs to write, so they're all failing. df says I've got plenty of room: ...
0
votes
1answer
8 views

Videos gone from right-click menu

Videos used to be an option when I right-click on the files icon on my launcher. Now it's gone even though that directory still exists. Why did it go away and how can I get it back?
1
vote
1answer
48 views

cp directories and files, preserving directories and overwriting files

I have a directory structure like this: dirHome and inside of it I have dir1, dir2, dir3. All of these directories (dir1, dir2, dir3) each have 3 files inside: file1, file2, file3. I have another copy ...
0
votes
0answers
24 views

Transfer video, music, etc frome note 4 to ubuntu

I can't transfer video and other files from note 4 to ubuntu as it is not possible through mtp. Even after tweaking some of the files setting my idVendor & idProduct (this was followed from ...
11
votes
2answers
1k views

Where is the $HOME folder located?

I read recently that .desktop files that are used as desktop shortcuts are placed in the $HOME/Desktop directory. Where is this directory? Also, what does the $ part mean / do?
2
votes
3answers
797 views

Why do we have .desktop files?

I wonder why do we have .desktop files, I downloaded a trivial .jpg picture from internet (yes, I'm a newbie, currently learning command line), and saw that when I list the file, I saw .desktop ...
1
vote
1answer
215 views

View audio files by length - command line?

Is there a command(s) to view audio files sorted by length in the command-line? For example the shortest to longest?
1
vote
1answer
46 views

Finding files with specific name and making output like txt

I used this command: ls *tagme* to make a list of file with partial word, but i ended up with allot more than terminal can show me. And ls *tagme* -print but i don't know where and what ...
2
votes
2answers
217 views

Command to write all .js files to a single file?

I am trying to put all .js files in a directory and sub directories into a single file in lexical order. I have tried: grep -r --include=*.js * > dir/.filename What did I do wrong?
0
votes
1answer
43 views

unable to run file as program

I downloaded a file (wich has no extension) and I cant execute it by checking the ´Allow executing file as program' checkbox. I did chmod +x on the file and now I can run it from the terminal with ...