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
36 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
56 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
18 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
20 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
17 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
637 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
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 ...
0
votes
1answer
18 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
42 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
193 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
18 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
28 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 ...
1
vote
0answers
31 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
37 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
4answers
313 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
74 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
11 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 ...
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
68 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
63 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
61 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
39 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
28 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
41 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
19 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
63 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
45 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
29 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
19 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
1k 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
37 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
17 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 ...
0
votes
0answers
41 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
114 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 ...
0
votes
0answers
39 views

Different view style per folder in gnome files (nautilus)

Is there a way to set different view styles per folder in nautilus? For example: I want my Home folder view as list, but for the Pictures folder the big icon view is better.
1
vote
1answer
76 views

I need help with this file, i edited it wrong, what do i replace with?

What comes after the second CHROMIUM_FLAGS= in gedit? I did the wrong thing when trying to install pepper flash. i went by confusing instructions and now i want to just return this file to normal, i ...
0
votes
1answer
99 views

How to get rights for audio files on ubuntu phone?

I am trying to copy audio files from Aquaris Ubuntu phone to my PC (Ubuntu 14.04), but it says I do not have the rights to do so. Other files like photos and films are no problem, only the music ...
5
votes
3answers
1k views

How to create multiple files with the Terminal?

I've been learning to program with a really cool introductory book to C and I write off every example and task so I can learn the syntax by heart. I did every file manually until now, but the ...
0
votes
1answer
12 views

Views preferences in Files

I am new to ubuntu and I don't know how to get to the files permissions. It seems pretty straightforward in https://help.ubuntu.com/stable/ubuntu-help/nautilus-views.html but I just have no idea how ...
0
votes
0answers
8 views

recovering files from windows backup

I am attempting to transfer files from my old Windows 7 computer to a new Computer that is running ubuntu 14.04. I have been backing up my files on my Windows box to an second sata HD. What I would ...
0
votes
2answers
43 views

Check for redundancy before downloading any file

Is there a way you can check whether you have already downloaded a file previously or not before actually downloading it. I know - wget can do that, only if the filename of the file trying to be ...
2
votes
3answers
216 views

how can i compare data in 2 files to identify common and unique data? [duplicate]

How can I compare data in 2 files to identify common and unique data ? I can't do it line by line because I have file 1 which contains say 100 id/codes/number-set and I want to compare a file 2 to ...
0
votes
0answers
31 views

Windows 7 deleted itself when installing Linux; How can I recover lost documents?

I tried to install Ubuntu 14 using a USB drive to my laptop. Somehow Windows 7 deleted itself. I was able to find the Windows 7 bootloader, but when I run that from the boot option screen nothing ...
0
votes
0answers
14 views

deleting files on 14.04

I can not delete files on external drives, Only removes file headers but drive still shows files on other computer and is still full. On previous editions, eg. 12.04, had option to re-format drives, ...
0
votes
3answers
49 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 ...