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
116 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
42 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
85 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
44 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
65 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
86 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
161 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
130 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
63 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
36 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
121 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
195 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
29 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
295 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
788 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
2answers
153 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
203 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
9 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
56 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
25 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
800 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
223 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
47 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
227 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
45 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 ...
0
votes
4answers
76 views

Renaming bunch of files, but only part of the title

I need to rename a bunch of files (about 167k), and only part of the title in each file. From: Aaaa.bb - 2 tag tag_tag 9tag Aaaa.bb - 125 tag_tag 9tag Aaaa.bb - 3567 tag 9tag To: Aaaa.bb - 000002 ...
0
votes
1answer
87 views

How do I view non matching files only in fdupes?

I understand how fdupes works to find and display duplicate files when comparing two directories, what I would like to know, is how to do the opposite, that is, display any and all non matching files ...
1
vote
1answer
54 views

how to associate a filetype with a program?

trying to associate .bluej files with bluej. so i rightclick a bluej file ->properties ->open with and here is the problem. it says: "Select an application to open "pacjage.bluej" and other files of ...
-1
votes
1answer
50 views

when tried to edit .bashrc file The command could not be located because '/usr/bin' is not included in the PATH environment variable [duplicate]

When i tried to edit .bashrc file I am getting the above error how to solve this. when i gave $ echo $PATH /home/vijay/usr/bin:PATH:/bin is displayed Steps in detail would help
0
votes
0answers
49 views

how to lock any files on computer

I have seen folders on my computer that are locked and I want to be able to password lock a folder making it inaccessible to anyone without the password (e.g users, superusers, admin, and root) wants ...
0
votes
0answers
34 views

how to make a movie with some png files in ubuntu . also how to set the pause time?

how to make a movie with some PNG files in Ubuntu . also how to set the pause time ? it should be in a format that is playable in Vlc player.
0
votes
1answer
86 views

lubuntu: How do I run .64 files?

I have problem with a .64 file I downloaded from the Godot Engine website. How do I execute this file? I really have no clue. Thanks you.
1
vote
6answers
325 views

How can I see files' permissions?

I'm running Ubuntu 14.04 32-bit and I'm trying to understand how to see files' permisions and ownership.
0
votes
0answers
89 views

How do I access my files on my Lumia 930?

When I plug in my phone I get this dialogue and an icon is locked to the launcher. I tried just pressing "OK" and also setting it to open in "files". Either way I'm brought to this screen. How do ...
0
votes
2answers
54 views

Buring ISO File to USB

I am getting ready to burn an ISO of the Ubuntu OS to a USB drive. Where do I find and download the ISO file? Do I need to download the entire OS, and if yes, does this impact my current Windows OS? ...
0
votes
0answers
142 views

Recovering deleted files on EXT4 disk

I deleted some files and folders on a external disk which I now want to "undelete", the disk uses EXT4 which makes it realy hard for me to make tools like testdisk work. I am using ubuntu 14.0 and I ...
3
votes
2answers
493 views

How to list the last modified files in a specific directory recursively

It may be a generic Linux question but I'll give it a try here. I need a list of recently modified files very often and currently for it I am piping ls output to grep with the param on today or a ...
2
votes
2answers
33 views

How to log access to a specific file?

I have already looked at this question and its answers How to log access to a specific folder and changes in its contents?, however I would like something more specific, so that it logs the access to ...
0
votes
1answer
41 views

Apply same delimiter to all files

I have several files in different sub-directories. Some of them have a tab delimiter with just one 'tab character', as follow: 1971 1 1 120 1971 1 2 148 1971 1 3 159,5 ... And other ones have a tab ...
4
votes
3answers
339 views

For loop with file names

I have several files (tables) named as: institute_model_scenario_river.txt (institute, model, scenario, and river are variables.) I would like to create a for loop that will identify each files that ...
-1
votes
2answers
119 views

What type of file is the README file in sudoers.d?

Just curious...figured would be a nice file to read with all my administrative privileges and not...LOL. Will not open since Ubuntu can't identify file type. Don't worry, im not gonna change it, i ...
0
votes
0answers
27 views

How to use Compact packet?

As a home task I am trying to compress four files of different type (.txt .doc .py and a compiled program) using adaptive Huffman Algorithm. I know that Ubuntu Compact packet is using this algorithm, ...
0
votes
1answer
75 views

Sort and classify files using their name components (unix)

I have a folder with thousands of files respecting the following naming scheme: 'institute_model_scenario_river.txt' Each components of the files names (institute, model, scenario, river) are ...
0
votes
0answers
30 views

How to rename more than one file into a folder with Lubuntu [duplicate]

I use Lubuntu 15.04, 64 Bit version. I used to use a software called "IrfanView" to edit, rename (as a batch processing) and organize my images collection (taken with my digital camera). ...
0
votes
1answer
118 views

Which directories dpkg removes?

While browsing the filesystem, I have encountered a file named .placeholder in /etc/cron.d/. In the file, the following was written: #DO NOT EDIT OR REMOVE #This file is a simple placeholder to keep ...
0
votes
0answers
74 views

Windows can't see files on USB storage that were renamed in Ubuntu

I had files on my detachable hard drive that I put there in windows 7. Then I renamed some of them in ubuntu 14.04, and now if I plug the disk into a windows 7 computer it just doesn't see these ...
0
votes
2answers
31 views

Directory Management / Permissions (Newbie Questions)

How do I delete a directory when the file manager says I do not have permission to? I created the directory on my local machine, I am the admin (and sole user) of this machine Yet if I right click to ...