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
4answers
209 views

Create a file with limited file size

I have written a server(Ubuntu 14.04 LTS Server) - client - java program. With this program I can send a text from my android-smartphone to my server saving it to the receivedData file. The program ...
1
vote
1answer
13 views

how to create a file with .dat extension in ubuntu 12.04

I am new to Ubuntu. I have been using Ubuntu 12.04 for the past few weeks. My question is, just like we can use notepad in Windows to create files with .dat extension, how do i create such a file in ...
4
votes
2answers
8k views

Why is it possible to convert a file just by renaming its extension?

When you rename files into a different, most of the times it does not work. But, suppose you have a .png file, you can just rename "image.png" to "image.jpeg" or "image.gif", it automatically gets ...
10
votes
5answers
5k views

How to copy only file attributes (metadata) without actual content of the file?

I've already copied terabytes of files with rsync but I forgot to use --archive to preserve files' special attributes. I tried executing rsync again this time with --archive but it was way slower ...
-1
votes
2answers
30 views

How to move files on Computer freely? [duplicate]

so I'm new to Ubuntu and I get frustrated everytime I need to move/delete/rename files on the computer drive I need to go through the terminal and go 'sudo ... ' .. is there a easier way to do it ...
8
votes
1answer
91 views

Convert a File to directory

As we know "Everything in Linux" is a file, and moreover directory is just a file containing other files. So, I don't know if this "crazy idea" possible, but it should be in someway according to the ...
-1
votes
0answers
26 views

python file for execute file [on hold]

I want execute python file for testing. I have text file and python file. How can I write loop ? #!/bin/env python testSE.py import subprocess import os import sys import requests import optparse ...
1
vote
1answer
14 views

Recovering data from a corrupted ubuntu system

My laptop running Linux 14.10 was being upgraded to the latest version when the process froze half way due to the PC being put to sleep. Now when I start it up I log in and it reverts back to the log ...
3
votes
1answer
38 views

How to show all files created on a specific date

On 16/05/2015 at 17:18 I visited a malicious website. And I suspect a drive-by-download, so I want to check my machine to see since that time in order of creation which files have been created or ...
1
vote
1answer
28 views

No more xorg.conf file in ubuntu 14.10?

I was looking to make modifications to my xorg.conf file because I'm experiencing flash video tearing in the browser (with the xorg nouveau drivers on my intel hd graphics for the Intel D525 Atom ...
4
votes
3answers
195 views

How do I find my file which was moved without destination

I am in a trouble. I pressed 'enter' without the destination. I had two files in the same directory with a common IDENTIFIER in their name. I wanted to move them to a folder, so I entered mv ...
0
votes
0answers
6 views

Folder date modified in Files shows date of folder creation not content modification

So when sorting by date modified in Files, the date the folder picks up is the date that the folder was first created, but if a file is modified in the folder the date doesn't change. Anyway to ...
1
vote
4answers
9k views

Right clicking a file, Can't delete files/folders, no option to delete.

I have some files and folders that I can't delete. I click menu -> right click and the delete option is not available. I can delete by using the terminal, but I'd prefer to do it from the GUI. It's ...
2
votes
2answers
23 views

remove file with -h_some_file_name in shell [duplicate]

I have a problem when trying removing a file with name something like -h_some_file_name, this is because of generated script that I made and forget to check the prefix. If I run the command rm ...
3
votes
3answers
3k views

How do I solve “Error splicing files?”

My hard drive crashed, so I'm using a Ubuntu live disk to access my files. But as I try to transfer them to my flash drive, it occasionally comes up with an error message which, when I view details, ...
0
votes
0answers
12 views

Error renaming file: -6: Not Supported

I tried to rename a file of my MotoG phone, through Ubuntu which is connected through a data cable. The phone is connected as a Media Device (MTP). I got a Error renaming file: -6: Not Supported. ...
1
vote
1answer
23 views

Files take up more space on new RAID array

I just upgraded and reinstalled my home server. One thing I did was going from software raid to a raid card. After doing this and starting to copy back my backups, I've noticed that my first ~1TB ...
8
votes
1answer
739 views

How to make faster first search at Unity-Dash? Way slower than second one

After a reboot, first searching at Unity Dash will be slower (15 sec) than the second search (seems instant), on my system at least. I guess this is because file index is cleared after a reboot and ...
1
vote
2answers
54 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 ...
1
vote
0answers
18 views

How can I restore system files that were accidentally deleted in /usr/share and /var/lib/dpkg?

So ya, earlier today I accidentally ran a rm -rf /usr/share and let it run for about 15 seconds. And then in trying to fix the error I went ahead and uninstalled all of my desktops and a bunch of ...
0
votes
2answers
5k views

Installing XAMPP

I'm new to linux and I'm trying to install XAMPP I downloaded the file and I cant execute it, I followed the Instruction on http://www.apachefriends.org/en/xampp-linux.html#374 but when I'm trying ...
0
votes
2answers
14 views

getting .desktop file to show up in launcher

I have a script working from a thumbdrive. It works fine when double clicked or launched with sh filename.sh. I made a .desktop file to launch it from the launcher and put it in both ...
0
votes
0answers
12 views

Android Photos Not Viewable

So I'm running Ubuntu 14.04.2 on my Laptop. When I plug my phone in, I can't open any pictures or videos. I've tried switching my media connection on my phone to all three options, nothings working. ...
12
votes
3answers
35k views

How to setup a LAN between Ubuntu and Windows

I wanna transfer some files from this PC with Ubuntu to a PC with Windows 7 I don't care how to do it (ftp, samba or whatever) I wanna know the steps, I searched a lot but I can't find anything that ...
3
votes
6answers
494 views

command to find files by searching only part of their names?

Say there are files with names: batman.c batwoman.c batgirl.c cricketbat.c What command and how should I use it to list all these files by using the searchtag bat?
25
votes
7answers
24k views

Text editor to edit 4.3 GB plain text file

Is there any text editor, which can edit such file? I've tried: gedit kate nano vim mcedit without success.
0
votes
1answer
16 views

what to do if I accidently changed .bin file? [duplicate]

I changed .bin opening file to other and I dont know how to make it back (to the normal image) I tried to use "open with" and this why it dont work
4
votes
2answers
278 views

Is there an item limit for the file explorer?

This is a question regarding Xubuntu 14.04. Very long story short, I had to use the program recoverjpeg to restore some photos that I forgot to back up after a fresh install. This resulted in 850k ...
1
vote
1answer
30 views

Lastlog grows to 4.2G after SSH logout

Running a VPS with Ubuntu 12.04.5 LTS. Noticed a spike in disk usage. Turns out the culprit is lastlog. Overwrote it with >/var/log/lastlog. After logging out of the session and logging back in, ...
0
votes
1answer
16 views

Script to generate thumbs only if thumb doesn't exist

I have a working script to generate thumbs to all pdf files in a folder( using Image Magic): for f in *.pdf; do convert -thumbnail 250x200 "$f"[0]"_thumb_wd_${f%.pdf}.jpg"; done How can i adjust ...
3
votes
3answers
515 views

How to move specific files while preserving their directory structure

I have large directory with lots of files and directories on a remote Windows system where I only have FTP access. I had to do some modifications in some of the files, so I downloaded the whole ...
5
votes
5answers
43k views

Can not access files in any folder on Samsung Galaxy SII

When I connect my Samsung Galaxy SII with USB cable my DCIM folder looks empty although I can see my files on phone. Do you have any idea what would be the problem? On computer: On phone:
1
vote
0answers
7 views

Startup Disk Creator not registering disk size [duplicate]

I'm trying to create a startup disk for ubuntu 15.04. I already have installed 15.04, but I need another copy. It states that the disk has 2kb of storage size and it has none of that left, but I can ...
1
vote
1answer
31 views

Is Nautilus same as Files on 14.04?

14.04 fully updated on notebook and desktop. But Nautilus on notebook and Files on desktop. Why and can I install same on both? Unity on both. Files on desktop does not show free space as Nautilus ...
7
votes
5answers
8k views

Ubuntu 14.04 Nautilus has no menu - File, Edit etc. don't exist

Since Ubuntu 13.04, and now 13.10 and 14.04, my Nautilus (Files) has no application menu. This means that I can't access Edit>Preferences and can only change preferences via dconf-editor, as the ...
-1
votes
2answers
115 views

How can edit a executable file linux

Hi all i have a file and ist run on my ubuntu server and need to edit it but cant . i open with notepad ++ and get this How can edit
0
votes
0answers
13 views

unable to install stuck on root file partition error

root partition file error unable to install on Toshiba L50d-a**also unable to uninstall **
1
vote
1answer
22 views

Trying to copy a file from server to client

Im trying to copy a file from my server to a client account I have, I am logged in to the server from my client and am having troubles copying a file over. I use the command: (tried with and without ...
-3
votes
0answers
17 views

system-installation

I want formatting /delete/ Ubuntu Mate 14.04, and install an other OS/ windows or other Linux/ Only the installed op.system /Ubuntu Mate is starting always F8 doesnt help, if I try it. There starts ...
1
vote
0answers
17 views

Difference in copying files recursively from a drive using rsync

I've used the command below to copy files from Windows drive to an external HDD, using the command: rsync -azv --progress --exclude "/Windows" --exclude "/Program Files" --exclude "Program Files ...
1
vote
4answers
103 views

Can't Execute jar files

I'm having trouble opening jar files because there is no java runtime in open with listed. Even I have installed it via Software Center(i also try to reinstall it via synaptic and i do a --purge via ...
3
votes
1answer
845 views

Can I remove the .xsession file and similar files from my machine?

Are the following files needed on my machine? (I want to remove them.) .xsession .xsession-errors .xsession-errors.old .Xathority.XXXXXX I believe most if not all of them originated ...
0
votes
0answers
58 views

Unknown files of 6GB each with random names in home directory?

I am Ubuntu14.04LTS user, using it in dual boot with windows8.1. I see 2 unknown folders of 6GB each in home directory, I delete those files and it went to Trash folder as you can see in picture. I ...
0
votes
0answers
10 views

Why some Folder & File icons are unvisabel

I use Lubuntu 14.04. The title of my folder/files are apparent but their icons are randomly unapparent. In some cases when I move the mouse on them they become unvisabel fore a short time. a ...
0
votes
0answers
18 views

chmod doesn't change permissions [duplicate]

I'm using Ubuntu 14.04 and I'm not able to change the permissions of any file inside a USB portable drive. The USB drive's path is /media/myuser/Expansion/. I tried the command sudo chmod 777 ...
3
votes
2answers
46 views

vmlinuz and initrd strange files appeared in “/” directory

I have recently noticed that four new files have appeared in my / directory: lrwxrwxrwx 1 root root 33 Apr 9 14:07 initrd.img -> boot/initrd.img-3.16.0-34-generic lrwxrwxrwx 1 root root ...
0
votes
0answers
22 views

Change wrong time when files are edited

Both, the time in the Unity desktop as well as the system time which I checked as described in How to display current time & date setting? are correct. However, when files are written they get a ...
1
vote
3answers
60 views

Commands or script to clean out media folder of unwanted filetypes

I have a media download folder with all sorts of irrelevant files e.g. readme, txt and torrent files in addition to the mp4, avi, mp3 and other valid media files. I want a script or a set of ...
0
votes
3answers
47 views

Unnoticingly I deleted a directory. Is there a way to recover it?

I found something over the internet here https://www.howtoforge.com/data_recovery_from_accidently_deleted_files_or_crashed_drives_in_ubuntu ...
0
votes
3answers
263 views

File transfer from and to BQ Ubuntu phone

My ubuntu (14.04 LTS) laptop does not automatically pick up my BQ ubuntu phone when connecting with a USB cable. Is it possible to transfer files between laptop and phone by cable and how is it done? ...