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
1answer
243 views

How can I transfer a binary file using minicom and a serial connection? [closed]

How can I transfer a binary file using a serial cable between my Ubuntu pc and a box where I've installed minicom? The minicom box doesn't have a connection.
4
votes
4answers
718 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
35 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 ...
13
votes
1answer
302 views

Converting 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
2answers
44 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 ...
1
vote
1answer
180 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 ...
1
vote
1answer
40 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 ...
0
votes
0answers
32 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 ...
4
votes
3answers
267 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 ...
3
votes
1answer
84 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 ...
2
votes
2answers
29 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 ...
0
votes
0answers
39 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
63 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 ...
1
vote
2answers
63 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
23 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. ...
0
votes
2answers
26 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
1answer
22 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
3
votes
6answers
1k 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?
4
votes
2answers
281 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 ...
0
votes
1answer
26 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 ...
1
vote
1answer
60 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, ...
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
votes
2answers
441 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
23 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
42 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 ...
2
votes
0answers
53 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
1answer
40 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 ...
1
vote
5answers
1k 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 ...
0
votes
0answers
84 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
14 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
30 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
88 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 ...
3
votes
2answers
100 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 ...
3
votes
1answer
102 views

Find the properties of an mp3 file via command line

Is it possible, via command line (shell command), to check for properties of a file (like when I right click on a file via Nautilus). Specifically, given an mp3 audio file, I would like to know how I ...
1
vote
0answers
51 views

while removing skype to install skype on ubuntu 14.04 I have all my files deleted

Please help me... I never use rm command but stupidly I did use this one below and as a result have all my files deleted including chrome bookmarks and settings.I lost a huge amount of my scientific ...
1
vote
0answers
29 views

Recovering Files from 2nd HDD on a Ubuntu Server

Been Long time, Ok So I have a Ubuntu 12 Server with 2 HDD's 1st HDD is Holding the OS and the 2nd HDD is Holding the Data. The users suddenly complained that there are no documents in the Share ...
0
votes
0answers
13 views

purpose of bamf-2.index [duplicate]

What is the purpose of /usr/share/applications/bamf-2.index ? I have noticed the applications it contains are installed in my computer. But I don't think it contains the complete list. Because the ...
0
votes
1answer
44 views

file changes not being saved

I'm new to Linux so please be gentle :-) I'm trying to update a .dtl file that contains html for the helpdesk application otrs that I'm running. I made a copy of the .dtl file and moved it over to ...
0
votes
1answer
22 views

Is O_NOATIME safe to ignore?

I am designing a filesystem to be implemented in FUSE. I have a question regarding what is allowed and best practice. There are 2 scenarios: User process calls open(..., O_NOATIME). Filesystem ...
2
votes
0answers
89 views

Aquaris E4.5 Ubuntu Edition, Bluetooth file shareing

How is it possible to send an file for example in image to another phone with Bluetooth. I managed to pair my phone with another phone through Bluetooth but I was not able to send an image file in ...
0
votes
2answers
57 views

6 gig file won't fit on 8 gig flash drive

I have a 6.4 GB file. I have a 8 GB flash drive. Why won't the file fit on the flash drive? More importantly, how do I get the file onto the drive?
1
vote
1answer
19 views

Files from windows

I recently installed ubuntu and when I opened the pictures, videos, download, etc. files they didn't have any of the files I had from when I used windows, why is that?
2
votes
1answer
26 views

Number of files shown via Properties and when copying are different?

I have looked at "Properties" of a folder to see the number of files and the folder's size. When I decided to copy the folder to my Desktop, number of files and the folder's size shown on the progress ...
1
vote
2answers
30 views

Managing space between smaller system drive and a larger extension drive

I have two drives, one with 150 GB and another with 1 TB. I need to use the 1 TB drive more, since I am running into space issues. By default, all installations (when I do apt-get) in my Ubuntu 14.04 ...
0
votes
0answers
23 views

How to store last email in a file?

I wanto to set my bash detecting incoming e-mails and maybe execute commands in the emails, detecting programmed regular expresions, what commands does let me to do this? I'd like to have a solution ...
22
votes
2answers
2k views

Does the /dev/null file actually have a fixed size?

I have just found out that /dev/null is a file and not a directory. I'm just wondering if it has an actual file size.
1
vote
1answer
44 views

Internal Differences Between File deleted from GUI and CLI

I am using inotify system call for watching one of my file for all the events (delete,modify etc). But When I deleted file from GUI, no notification was fired. Whereas when I deleted file from CLI ...
0
votes
1answer
21 views

API for file selection on Ubuntu Touch

Some apps (like background selection in Settings) use a call to open media (image / audio). I would like to create an app that lets you select an audio file and does something with it (QML / C++) I ...
1
vote
0answers
71 views

Show Copy dialog by default

In Unity, when i move files, I see this: icon that tells me there is a transfer going on. I would rather see the window with multiple progress bars that tells me what the disk write speed is, and ...
1
vote
2answers
181 views

How to set default program to open specific file type

I wish to set the default program to open .jpg files and other image files to GIMP. To do this as said in one of the answers here, I went into this section (Right-click > Properties > Open ...