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)

3
votes
1answer
52 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
29 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
111 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 ...
1
vote
1answer
98 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
27 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
38 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
116 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
455 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
60 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
80 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
36 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
23 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
780 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
177 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
45 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
171 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
32 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
73 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
70 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
38 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
38 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
35 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
15 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
55 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
315 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
56 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
46 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
77 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
271 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
29 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
37 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
301 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
98 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
48 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
49 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
52 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
27 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 ...
4
votes
1answer
284 views

Ubuntu creating unwanted README.MD~

I have a folder containing a repository I am working on. In my repo, I have a file called README.md, as most repos do. However, randomly, Ubuntu creates a file called README.md~, which gets pushed up ...
4
votes
1answer
196 views

How can I copy and combine several .txt lists in alphabetical order?

I have several .txt files containing contact lists from different phones, how can I combine these while avoiding duplicates in alphabetical order using the terminal? example: contacts1.txt: John ...
3
votes
6answers
372 views

Find all files with specific extensions that contains a string

I'd like to know how could i find all files whose extension can be .xml and .py that contain the string "Jason" under a path "./" recursively? Or how could i exclude .po from the search?
0
votes
1answer
65 views

Hide a string in a txt file?

I plan to hide bulm+mNtdeWE/P7ccZzg=w=n. Where ? In a txt file, but not in the content, nor in the extra attributes. I did it on OSX 10+ and Windows 7, with respective processes. Now I am trying this ...
2
votes
1answer
85 views

How do I change the default name for a new folder?

When I create a new folder in the Thunar file-manager via CtrlShiftN, a folder appears. The default name which is suggested is New folder. I like to change that suggestion to ideas or drawer.
-2
votes
1answer
66 views

How to give Windows 7 access to a file?

I have my Ubuntu installation mounted on a 3TB drive and also use it as a storage for large files I use on my Windows 7 Dual boot. Recently I spent a long time encrypting a file for use in Windows. By ...
5
votes
1answer
293 views

How to decrease the file name by 1 in ubuntu

I have around 200 .png files in my folder, naming like - 02.png 03.png 04.png ... 201.png As you can see I dont have 01.png so I want to rename the all files decreasing by one, to make it like - ...
1
vote
1answer
294 views

How to recover deleted files in ubuntu using live usb? [based on filetype]

I had accidentally deleted a few files from an Ubuntu Desktop. Now I need to recover only the perl files which had been sitting in /home/user directory. How can this be done? I am able to boot using ...
0
votes
1answer
82 views

How to remove .htaccess file

When i try this: ls -lh: -rw-rw-r-- 1 ubuntu ubuntu 401 Sep 20 07:11 .htaccess But i can't remove it. rm .htaccess rm: cannot remove ‘.htaccess’: No such file or directory or lsof ...