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)

4
votes
4answers
12k views

Creating a large size file in less time

I want to create a large file ~10G filled with zeros and random values. I have tried using: dd if=/dev/urandom of=10Gfile bs=5G count=10 It creates a file of about 2Gb and exits with a exit status '...
0
votes
1answer
13 views

How to encrypt file or blocking access to file and only execute apache?

My operating system is ubuntu server 14.04. I want to encrypt /var/www folder. I've tried for blocking access to file with chown -R www-data /var/www and chmod 700 commands. Any unix user can not open ...
2
votes
1answer
71 views

Creating files when “sudoed” messes up permissions and users

I have some trouble installing some packages I compiled from source. Everything seems to work fine, until I try to actually use the files installed in a global place. It turns out the permisions and ...
1
vote
2answers
52 views

How to split a file up into many smaller files and then reconstruct them? [duplicate]

I need to upload a file which is about a GB to an online server to get to a friend. Now there seems to be a problem with my internet connection because if I try to upload a file more than 20MB then it ...
1
vote
0answers
21 views

How can I access files from Linux LVM?

I just migrated from Windows 10 to Ubuntu 16. While installing Ubuntu I checked for having Linux LVM and since then I'm facing a big problem of accessing the data from the drives I had in Windows. ...
3
votes
1answer
4k views

How to release a locked file

We have a file server running ubuntu server. Sometime, when one of the users is using a file and closing it, the server still shows that the file is locked for editing. How can I release that lock? ...
6
votes
2answers
62 views

How to delete folders that have n or fewer files in them?

I need to do some folder clean-up, and I'd like to remove directories that have 10 or fewer files in them. I tried looking at GNU's find, but there wasn't anything related to the number of files in a ...
4
votes
3answers
4k views

Tiptoi Ravensburger - How to add new audio files?

Tiptoi Ravensburger learning game: How can I add new audio files in Ubuntu Linux?
0
votes
0answers
7 views

Permission denied due to file access restriction logs

When a user tries to perform an operation on a file not allowed due to the file's permissions, is this event logged somewhere in Ubuntu?
0
votes
1answer
24 views

why i can't see some folders and files?

In a folder, I have some files that I can't see in an open window. But I can see them when I run ls -l in the terminal. These files are CMakeCache.txt, cmake_install.cmake, Makefile, temp. Could you ...
6
votes
1answer
205 views

create file and its parent directory

I know that touch command creates a file: $ touch test1.txt bout how I can create a file and its full path? for example my desktop contains nothing: ~/Desktop/$ ls ~/Desktop/$ and I want to ...
22
votes
2answers
19k views

Split a large file into smaller files and then integrate them to get the original file

How do I split a 7GB (movie) file into smaller files of (say) 1GB, and then (in another Ubuntu computer) integrate them to get the original file (using just bash commands)?
0
votes
1answer
17 views

Is `scp` for non sudo users executable?

Can non sudo users execute scp command while using two remote servers?
0
votes
0answers
31 views

How to see difference or compare files using sublime?

Using sublime as notepad++ not available for ubuntu :( I want to see differences among two files one is from repository and another is external file, is there any way to see difference using sublime, ...
7
votes
7answers
15k views

How do i share my files from windows 7 to Ubuntu?

I just Downloaded Ubuntu to my laptop and I noticed that my files like music and pictures aren't here. How can I get them from my Windows 7 part of my computer to the Ubuntu part? Please make it ...
0
votes
2answers
35 views

How to associate all extensions with their respective programs by XFE file manager?

Trying to open any file in the XFE file manager, I have to associate the program to its file format, such as PDF format have to inform the evince program, as shown below. I wonder if there is a ...
0
votes
1answer
21 views

I want to make a DVD with video_ts and audio_ts folders into an mp4/avi/video file

I have a collection of DVDs with audio_ts and video_ts folders that have a menu where you select chapters, etc., and I want to watch these movies on my phone. I move movies to my phone using the VLC ...
0
votes
0answers
28 views

how to see all activities done on ubuntu 16.04 LTS?

I'm a user of Ubuntu 16.04 LTS, I have done some modifications like installing new packages and creating some directories and modifying files; Then I want to see all the activities that I have done ,...
1
vote
2answers
125 views

Determinate if a file is already opened

I want to create a bash script to determine if my file is already opened by another user. I have already tried with lsof but it didn't work as i wanted. The files can have different types of ...
0
votes
0answers
10 views

Files manager Devices Label automatically changes name by appending name with digit at end

When I'm using qBittorrent, often times my program can't find my downloaded files due to its location changing to the same named Device but with a digit added to the end of the Label. I store my ...
2
votes
1answer
67 views

How to allow users to create and delete file(s) / folder(s), but not modify them?

I have created a group name "app-data" and a folder /db-data/archived-data/ I want members of app-data to have all rights on /db-data/ folder but I want the same group users have only create and ...
1
vote
1answer
132 views

How do I unzip, install and run the game Xonotic.zip?

I have downloaded Xonotic using the orange download button on the site, but now I have no idea how to: Unzip the zip file of Xonotic Install Xonotic Run the game Xonotic I have looked everywhere, ...
1
vote
1answer
39 views

Having Trouble Transferring file to a new folder

I get this message when I try moving a file to a new folder sudo mv bios.rom usr/share/higan/GameBoyAdvance.sys mv: cannot move 'bios.rom' to 'usr/share/higan/GameBoyAdvance.sys': no such file or ...
1
vote
1answer
73 views

ubuntu 16.04 invalid encoding file in home folder

0@@X@8@!@@@@@��@@@@�� (invalid encoding) automatic generate this type of file in my home folder.And also it is empty file. If i delete this file then automatic regenerate again. thanks
0
votes
2answers
35 views

How to choose files to download in deluge using deluge-console?

I would like to ask if there is any command to choose between files to download in Deluge that can be used in the console (deluge-console). I'm using it on a Raspberry Pi and as I mostly connect via ...
1
vote
2answers
37 views

How to Export several grep outputs into one file?

I have a little grep command line that finds certain values in a text file and exports them into a .csv-file. Here it is: cat file.txt | grep 'Values a' | cut -d' ' -f9 >a.csv cat file.txt | grep ...
35
votes
7answers
24k views

Use path bar and address bar in Nautilus

By default, Nautilus use/show the path bar: Using Ubuntu Tweak I managed to set by default the address bar: Is it possible to set both of them as default (show both: the buttons and the text ...
4
votes
5answers
218 views

My quest to find the fastest search app for linux

I miss "everything search" and " listary " of Windows - they are super quick to find and launch. Time for them to index my whole harddisk is 0.2 seconds[i guess they use the ntfs journal database]. ...
3
votes
1answer
30 views

Real size of folder?

When I run du -hs Folder in the terminal I get: 118M When I run du -s Folder in the terminal I get: 120664M When I run du -h Folder in the terminal I get: 118m When I find the size through the file ...
18
votes
1answer
794 views

Moved a directory to an unknown …/ place (three dots)

I came across this weird situation when I accidentally moved one of my directory to an unknown place I am unable to find. What I did was executed this command - /opt/lampp/htdocs/cake$ mv cakephp/ .....
0
votes
1answer
44 views

How to change values in XML file

I have an XML file like below. I want change the values at default-value place of each argument name using a shell script like: where argument name= protocol and default-value=tcp, where argument ...
1
vote
2answers
24 views

How can I move files from my pen-drive to a directory present in / using GUI?

How can I move files from my pen-drive to the /personal folder using the graphical interface in Ubuntu 16.04 LTS? Can I shift my /personal folder to anywhere from / ?
3
votes
1answer
2k views

How to search a network share?

Usually when I want to find a particular file on my local machine, I'll open up a terminal and do find . -name "*blah*" from the directory which I want to search within. Now I want to search from a ...
0
votes
1answer
5k views

How to unlock selected files from root?

I am trying to unlock files from my root to a admin account. I've tried by going into the account and moving the files into it, but when I go to the account its all locked. And when I do CTRL+A and it ...
0
votes
0answers
29 views

Dash cant find music, videos and pictures

I use the ubuntu dash(launcher, starter?....) often to open documents and of course programs. I would like to open videos etc. with it too, but everytime I open the picture, video or music tab, it ...
0
votes
4answers
9k 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
0
votes
2answers
35 views

Shell Script Won't Run

Newbie. I am trying to install BeautifulSoup4. There is a shell script "convert-py3k" to run, to convert to Python 3 version. It has an executable permission but, neither double clicking nor, ...
-1
votes
1answer
50 views

Display all the files with read and write permissions and display result in a file

I need to display all the files with read and write permissions and save the result in a file. Can anybody help me with that? It's easy but I am little bit confused, so please help me on this.
-2
votes
1answer
24 views

What is doing this? [duplicate]

When I try to download new software or update (in terminal) I get these errors... W: chmod 0700 of directory /var/lib/apt/lists/partial failed - setupAPTPartialDirectory (1: Operation not permitted) ...
0
votes
1answer
47 views

Cannot find other disk partitions after installing Ubuntu

My PC was running on Windows 10. There were 3 partitions on my hard disk. I recently installed Ubuntu 16.04 LTS and removed Windows 10. But when I open Files application, I cant find any of the disk ...
4
votes
6answers
1k 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
0answers
8 views

I can't access the files in ubuntu folder with windows [migrated]

I am running Ubuntu server 14.x.x. I can see the file names with: ls /media/File_Server/TV2 but in Windows, the folder is empty. How can I access these files in Windows?
1
vote
0answers
25 views

How do I arrange files in a folder in some particuar order?

I have saved a set of drivers required for Windows in one of my hard-disk partitions. Now I want to arrange them in some particular order such as BIOS Drivers Applications I want the order of ...
1
vote
1answer
46 views

File contents remains on disk after securely erasing it

I have tried wipe, shred, srm, peazip's secure erase, etc. No matter with what options I securely erase the file with all those utilities and then do a search with a hex editor on disk, the contents ...
0
votes
2answers
1k views

How to sort the files in download folder of Ubuntu by date of download?

how can I sort the files in my download folder in the order of the date of download? My OS is Ubuntu 14.10 & I am using Nautilus - Files 3.10.1
0
votes
0answers
54 views

No message notification/download skype ubuntu 16.04 when receiving files from contact

I have installed from canonical partner repo along with i386 architechture. Calls work fine, SENDING files work fine. GETTING files: no notification, no download, no file. I haven't really seen ...
0
votes
0answers
61 views

Can't access some files (NTFS), permission denied (not even with sudo)

Got a screwed up Surface Pro 2 and any recovery attempt on the Windows 10 installation has failed. So to save all the files I booted up the device with 16.04 LTS Live USB. The filesystem mounts ...
0
votes
0answers
11 views

How to provide web address of file in file selector dialog

The file selector dialog(say when adding attachments to email) in ubuntu 16.04 doesn't allow to provide web address of the file to select a file. It only allows local files to be selected. Windows on ...
1
vote
0answers
24 views

Trusty Tahr 14.04 and iPhone

I am running 14.04 and recently removed Samba after the bug-scare. After removal of samba I was unable to play CD's. The DVD portion still works. I am also unable to transfer files from my iPhone to ...
2
votes
3answers
2k 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!