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
2answers
71 views

Merging/joining a lot of csv files with numeric digits in the file name

As we process our csv data, we generate a lot of output files with 30 000 lines in each one of them. They all have the same columns/fields. They are all also in csv format and we put them into the ...
1
vote
1answer
58 views

Preview files in Ubuntu 15.10

In the Ubuntu desktop guide it is advertised that in Ubuntu 15.10 it is possible to see a preview of files and folders by pressing the space bar (just like in Mac OS X). ...
0
votes
0answers
29 views

Ubuntu phone app

I am trying to develop an app for Ubuntu phone and I have some questions. Am I able to access a database using HTML5 app? Is it posible to read/ write to file using HTML5 app?
0
votes
1answer
32 views

-s: command not found in ubuntu 15.10

I want to see if a file is empty or not, and I have seen that the command -s FILE. The problem is that when I try to use -s (both in the shell and in a script) I get an error saying: command not ...
3
votes
1answer
798 views

System without /tmp dir?

Running df -h gives: Filesystem Size Used Avail Use% Mounted on udev 1.9G 0 1.9G 0% /dev tmpfs 385M 6.2M 379M 2% /run /dev/sda2 113G 27G 81G 25% / ...
0
votes
1answer
27 views

How to locate specific files or whatever things like this are? [closed]

I need to locate this but have no clue what it is or where to find it. How do I go about this? /etc/modprobe.d/alsa-base.conf
0
votes
2answers
22 views

Extract a few names from a File

So, my Problem is that I have a file with a lot of names in it, and I want to extract Information by using a command. I want a few of the Names starting with a specific last name..for example "d". ...
0
votes
1answer
17 views

How do I replace “fancy” unicode chars with their ascii equivalends?

Is there a tool to replace fancy utf chars like U+2018 (LEFT SINGLE QUOTATION MARK), U+2019 (RIGHT SINGLE QUOTATION MARK) with normal quote chars: ', etc. like lodash deburr command does?
0
votes
1answer
16 views

Inaccessable files under orignal default username

Downloaded all old files from hard drive to new ubuntu computer. I did not change the user-name from the default OEM user-name, but changed it after. All my folders are no longer accessible, how do ...
0
votes
0answers
12 views

Can't access transferred files

I am new ubuntu user and transferred all old data to my new system using the OEM user name currently on the computer. I then put my new user name as administrator and can't access all the folders I ...
0
votes
2answers
96 views

Error upgrading from 12.04 to 15.04 and now unable to upgrade to 15.10

[picture of boot error] 1i started upgrading from 12.04 to 15.04 which appeared to go smoothly. After the upgrade and reboot i was unable to access the 15.04 and getting a acpi ppc error etc. i ...
0
votes
1answer
22 views

Recover overwritten terminal log output

I accidentally overwrote the log output of the terminal. What i did was script logfile commands exit and then i accidentally overwrote the file as: script logfile
1
vote
1answer
83 views

Folders on Android Internal Storage show as files via MTP?

I recently bought the new Nexus 5x and Google's official USB Type-C to USB A cable. Weirdly, upon plugging my N5X into my computer for the first time, the file system did not come up as expected. What ...
0
votes
1answer
31 views

What is Nautilus File system type

I am a beginner for Linux/Unix,according to what i have learn and researched there are ext ,2,3,4 and a GUI version Nautilus or such similar ones.. How do i know if graphical file managers use ext 2,3 ...
0
votes
1answer
38 views

File containing a list of all installed software, including dependencies?

All the guides I've seen recommend the use of the command dpkg --get-selections and redirecting the output to a text file. Isn't there a file somewhere on the filesystem that contains a list of all ...
1
vote
1answer
25 views

Lock file and release it

I have multiple threads running from different terminal windows in ubuntu trying to write to the same file. I would like to lock the file via terminal while writing so that the other thread(s) has ...
2
votes
0answers
17 views

File command not finding the right info from an iso file

When I run file archlinux-2015.11.01-dual.iso it responds with archlinux-2015.11.01-dual.iso: x86 boot sector when I know it should be responding with something like ...
0
votes
0answers
10 views

Recovering deleted files [duplicate]

Is there any ways to recover the deleted files in Ubuntu without using any software? I mean to say just by code?
0
votes
1answer
74 views

Is closing a file after having opened it with `open()` required in Python? [closed]

Regarding my previous question, I noticed that in both answers that used the open() function, there was no mention of closing the file. I've read that it's good practice to do so, but is there ...
1
vote
6answers
612 views

Create a file and write to it using a python script? Without using the open() function? [closed]

Is it possible to do the above without using the os module or the open() function? How can I create a file and write to it, with the above conditions, using Python? Also, could you provide an ...
0
votes
0answers
38 views

How to open and view a .gsp file?

On Ubuntu, how can one open and view .gsp files, which are made using the Geometers' Sketchpad on Windows? Is it even possible? (I have tried KSEG, which is considered to be an alternative to ...
0
votes
0answers
40 views

NTFS drive not visible to windows anymore but on Ubuntu

I have a 4TB external drive which I was using with windows formatted with NTFS , For some file copying I plugged that drive into Ubuntu desktop and moved the files. Now when I am trying to connect the ...
1
vote
1answer
103 views

Upstart PID files in home directory?

What are all of these PID files doing in my home directory? $ ls -1 ~/upstart-* /home/mark/upstart-dbus-bridge.4885.pid /home/mark/upstart-file-bridge.4885.pid ...
-2
votes
2answers
42 views

What are this files do? [closed]

i'm new to ubuntu while i searched for files i found BitStormLite ec_storm_threshold rrefpropstormin.html StormbaanCoureur weather-storm.svg what are this files do ?
0
votes
1answer
14 views

Data after installing Ubuntu 15.10

I am interested in installing the new version of Ubuntu, Ubuntu 15.10. Is there any way to do so without deleting my files and previously installed programmes?
0
votes
0answers
36 views

Can't copy files to /cdrom folder Error code : permission denied

Screenshot while copying file to /cdrom folder I have created an Ubuntu persistent USB. Now i have to transfer files between my other PC (Windows 7) to Ubuntu. But i cant copy files to a folder that ...
0
votes
0answers
18 views

Deduplication of tiff files on os level

We have thousands of TIFF files on our linux fileserver. There are lots of doubles. Windows Server 2012 has a deduplication feature. Is there something simular in Ubuntu? If so which filesystem do ...
3
votes
2answers
126 views

How to view recent files from the command-line?

Is it possible to view recently accessed files using a single command in the command-line? Could you please provide an explanation of what exactly the command does?
2
votes
1answer
140 views

Any ubuntu plugin for terminal that creates a file with a basic html markup?

Like when I cd to a directory, let's say Desktop. I create a file using > index.html Can it be done somehow that same file has basic html markup, like html/head/body tags?
0
votes
3answers
103 views

How to find the shortest line in a script

I'm creating a script that prompts a user to enter a file name and search for the lines in the file, the longest line, and the shortest line. Here's what I have. #!/bin/bash echo -n "Enter a ...
0
votes
0answers
38 views

escape files with special characters in copy command

I'm going to copy many files and folders, some have special characters..how I can copy all files and escape those files with special characters?
-2
votes
2answers
54 views

Why is Ubuntu's main search feature so ineffective? [closed]

At least for me it is. When I click on the Search your computer and online sources icon in the top left corner and type a file I want to find, and type a file, for example for me, Casino Royale, it ...
0
votes
0answers
18 views

Move files (identicalName&content -> delete old // identicalName & diferrentContent -> rename&Move)

I have 2 directories and try to move contents from 1st to 2nd, i get the confirmation of overwriting if name is identical, but i actually care if the files are identical (md5? size? byteByByte? ...
1
vote
2answers
141 views

File disappeared on move

I had a directory with a file and another empty directory in it like this: . .. file.ext folder I did: mv file.ext /folder The file disappeared now, not in folder too not where it was before! ...
1
vote
1answer
73 views

Script for moving files that are older than 5 days

I'm currently working on a script that allows me to move any file thats older than 5 days into an archive folder with the same path, except for the root folder which changes. So something like: ...
0
votes
2answers
29 views

Opening text file with xdg-open

I am (very) new to the terminal and Ubuntu. I want to open a text file for practice, and have been trying to use xdg-open with no luck. I have tried: xdg-open /home/myusername/Documents/test.odt ...
0
votes
1answer
35 views

When i download something and click 'show in folder' nothing happens

I am running the newest Ubuntu, when I download something, such as an mp3 file, and click on Show in Folder, absolutely nothing happens. Is there an easy fix for this, without being technical and ...
0
votes
0answers
33 views

Give web app server sufficient permission to write/read in a folder

I'm having some troubles giving my web app sufficient permission to read and write in a folder. Most of the previous post I read are for apache server and I use wildfly ( where they use www-data). ...
1
vote
0answers
45 views

Linux- split large files in smaller chunks and append .txt to the smaller pieces

I have been trying to split a large file using the splitcommand but along with this I need to do the following: split a number of files in a directory add an extension .txt to the smaller chunks ...
0
votes
0answers
27 views

Geany file search fails

I recently installed a fresh new version of Ubuntu 15.10 and Geany 1.25. Now, Geany is not searching inside PHP files. In my previous installed version, it was working very fine. When searching for ...
0
votes
0answers
59 views

Aquaris phone other files using memory

I have a ubuntu (touch) phone Aquaris E5 (OS 15.04 r6) Of the 16gb of memory, 8gb is 'other' files When checking the memory, (system settings, about phone, memory), lots of file types are specified ...
1
vote
1answer
41 views

How to prevent the deletion (but not the creation) of items in a folder?

There is a folder which is being created within another folder in my home directory, and I want to be able to analyse the contents of this folder, however, I have a problem: as the folder is created, ...
1
vote
1answer
57 views

Can you change multiple dissimilar file names?

I am trying to rename a lot of music files. The files contain spaces and capitals and whatnot and I want to replace the spaces with underscores and remove all capital letters. Is there a way to do ...
10
votes
4answers
716 views

How would you count every occurrence of a term in all files in the current directory?

How would you count every occurrence of a term in all files in the current directory? - and subdirectories(?) I've read that to do this you would use grep; what is the exact command? Also, is it ...
0
votes
1answer
53 views

Where to save files and install software in a full install usb

I have a full install Ubuntu 14.04 on my pen drive. As far as I know,it's supposed to be a full install because I did it using a live dvd and moreover,there is no option to install from the usb pen ...
0
votes
3answers
59 views

How to lock files with custom-set password?

How can I lock files and programs with custom-set passwords? That is, without changing the permissions of the file so that the sudo password has to be used...
0
votes
1answer
88 views

Find-move-replace files from /folder1 to /folder1/sub-folders

Situation: folder1 have about 2000 files, folder2 have over 300 sub-folders and each sub-folder have 500 files. What I'm asking is to move/replace files from /folder1 to /folder2/sub-folders, but only ...
3
votes
1answer
51 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 ...