Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [files]

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.

0
votes
2answers
34 views

A 100+ GB tar.gz file does not properly extract

I have downloaded a 120 GB dataset in a tar.gz using Download Accelerator Plus, and used the following command to extract it: tar -xvzf train_val2018.tar.gz The dataset, when extracted, should ...
1
vote
1answer
72 views

Make a file with root access only and able to be accessed by another file without using a password

I have two files A and B. I need the contents of A to be accessible only by root, so I have run the command chmod 000 A. Now, I want file B to be able to access file A without asking for the root ...
-3
votes
1answer
47 views

How can I index all my files in ubuntu? [on hold]

I want to access my files by a no. so that i do not need to type a filename, whenever I need to.
5
votes
1answer
331 views

FILE extension changing while copying from Ubuntu to windows

I downloaded data in Ubuntu which has an extension .text/plain bit when I copied it to my Windows 10 through USB the file extension is changed to '.file'. What should I do now to open it?
1
vote
1answer
21 views

How do I enable fill out in a pdf file?

I can not fill in a pdf file. I checked file-properties-security and it appears that the fill in and sign option are not permitted. It is also written as security method NO METHOD. I do not ...
3
votes
2answers
93 views

Quick method to create a file and open it

I want to create a markdown file and open it simultaneously $ touch ~/Documents/Ubuntu/drafts.md; open ~/Document/Ubuntu/drafts.md The solution is cumbersome, is there a shortcut to handle such a ...
0
votes
6answers
544 views

How can I find out how many files ending in .c or .cpp inside a directory contain the string: string?

How can I find out how many files ending in .c or .cpp inside a directory contain the string: string? The string can occur anywhere in the entire file, including comments or as part of a larger ...
1
vote
1answer
45 views

Find a file based on specifications

Maybe this is a duplicate but how do I find a file (that I don't know the name of) based on some specifications? For example how do I find a file that: Is human-readable Has exactly 1033 bytes in ...
0
votes
0answers
14 views

How can i use extended attributes for file tagging in ubuntu desktop in a pratical way?

I was wondering why there is no graphical implementation of xattr in ubuntu desktop. In my opinion tagging files and folders with extended attributes is a quite convenient way to organize data. Does ...
0
votes
1answer
37 views

Changing file extension

I have about 1000 images saved in a weird way. "file_name".jpeg?image=%2Fmars%2Freadonly%2Fthemis%2Fpds%2FODTGEO_v2%2Fbrowse%2Fodtbws2_0050%2Fv545xxbws2%2FV54577010POL.png&rotate=0&format=...
0
votes
1answer
44 views

Mount does not limit the size of drive

I set a ramdisk via sudo mount ramfs -t ramfs /media/typicalramdisk/ -o size=1M Then I put files inside it. They exceeded 1 MB and I still could place files in this drive. I tried 1m, 900k and a ...
0
votes
0answers
26 views

want to exchange the content of 2 files [duplicate]

I have 2 files F1 and F2 and I want the content of F1 moves to F2 and the content of F2 moves to F1 is it possible with line commands?
1
vote
2answers
77 views

How do you get a *.desktop file to work for a non-repository app?

I turned the Amazon cloud reader site https://read.amazon.com into a desktop app with nativefier. It works amazingly well as a standalone reader for books that have been downloaded and also ...
0
votes
1answer
33 views

Deleted Files App

I have deleted libzeitgeist and somehow also the Files app was removed. What to do now? How to get it back? Ubuntu 18.10 Desktop Minimal installation
1
vote
0answers
30 views

Can't find dkms.conf file when installing wifi driver rtl8812au

I am an old newbie who has got tired of Windows and migrated to Linux - Ubuntu 18.04 LTS. I am trying to install a wifi driver for Netgear A6100. I have found a package for rlt88au but when installing ...
0
votes
2answers
62 views

I downloaded a file with uTorrent and now I can't find it

I installed uTorrent using the Ubuntu Software Center. I downloaded a huge file using uTorrent and now I can't find it. It says the file is in a path that doesn't exist in my computer, and I don't ...
0
votes
1answer
42 views

How to Open .001 .002 .003 and .r01 .r02 .r03 RAR Files

Is WinRAR the same as Linux rar? Additional features? Missing features? Special way of handling files? Software is available for Microsoft Windows (named WinRAR), Linux... -wikipedia The ...
0
votes
0answers
7 views

How to create FTP folder shortcut (link)

I just set up an FTP server home and everything is alright but I've been wondering on how can I make a shortcut (preferably the terminal way) of the FTP folder? It was easy doing it with Dolphin, but ...
0
votes
1answer
68 views

Explain “In Linux and UNIX, everything is a file” [closed]

Please anybody tell me the means of above stanza. "In Linux and UNIX, everything is a file"
0
votes
1answer
45 views

How to transfer all files from root account to another account?

I was new to Ubuntu and always had a bad habit of using the root account. How do I transfer my all files from the root account to another account? Overall, I just want the new account to be an exact ...
1
vote
0answers
33 views

Most of my files are being copied to the root of my home directory

The /home directory is on a 500GB SSD, with Documents, Pictures, etc. (currently residing on the 4TB HDD) symlinked to my /home. For some reason, right after I logged in, the files have been moved to ...
0
votes
0answers
70 views

Open a file with… in a Linux terminal [duplicate]

How can I open a file with another program than the default one with a command line in the terminal? For example I want to open a PDF. To open it with the default PDF viewer I just write xdg-open ...
0
votes
2answers
248 views

No such file or directory?

Im installing SquirrelMail in Ubuntu Server 18.04. I got it from here: wget https://sourceforge.net/projects/squirrelmail/files/stable/1.4.22/squirrelmail-webmail-1.4.22.zip Then I unzipped using ...
0
votes
1answer
82 views

/dev/null questions

so I was messing around with /dev/null mooving files to it like ... sudo mv test /dev/null and reading it ... :~$ cat /dev/null this is a file :~$ but then I made another file with the file ...
1
vote
0answers
27 views

Need ownership of newly created file to automatically switch to me.

I'm creating a Plex server and adding the files to the server with a share drive. I add these files from a macbook onto the server computer. When I add them, the owner of the files becomes "nobody" ...
10
votes
1answer
1k views

accidentally deleted /var/lib/apt/

I accidentally deleted content of /var/lib/apt with command below: sudo rm -rf /var/lib/apt/* what should I do now? can I restore it? is it necessary?
1
vote
1answer
93 views

Popup when opening files in Telegram Desktop [duplicate]

I have a super weird question. Whenever I try to open a file or try to show a file by clicking on the message in Telegram Desktop, this popup shows up: I always have to click 'Yes', which is ...
-2
votes
2answers
48 views

How to see the contents of a file without using a text editor [duplicate]

I'm wondering how to read the contents of a file, for instance, I have a text file containing the words hello world and I want to read this file without using a text editor. What can I do?
2
votes
1answer
34 views

Merging non-zero differing bytes in large files

I am trying to a salvage an old scratched DVD by ripping it to ISO. I have two readers and created an ISO from each. Each reader is unable to read certain different bytes of the DVD and replaces them ...
0
votes
0answers
11 views

Allow view of a image but blocking copy, edition and save as in Ubuntu

I saw this enter link description here but it does refer to block a copy of a file. Is it possible to define a file or a diretory to allow a user to view the images but blocks: a) print screen b) ...
0
votes
1answer
25 views

struct file object of a file

Whenever a file is created in kernel space, struct file object instantiated. Type of that file does not matter. For device nodes, standard text files etc, a struct file object is created when a file ...
2
votes
1answer
226 views

file: symbol lookup error: file: undefined symbol: magic_setparam

My file command is broken. $ file file: symbol lookup error: file: undefined symbol: magic_setparam $ which file /usr/local/bin/file $ ldd $(which file) linux-vdso.so.1 (0x00007fffc43fd000) ...
0
votes
1answer
262 views

sudo apt-get update error. [duplicate]

Version 18.04 sudo apt-get update I am trying to "update" but am getting the following message: Err:1 http://archive.ubuntu.com/ubuntu bionic InRelease Could not resolve 'archive.ubuntu.com' Err:2 ...
1
vote
1answer
21 views

How to truncate a file that is being written to

I have a long running process on a remote computer which I started like this: $ nohup ./process > output & My problem is that the output file is getting bigger and bigger fast. And of course, ...
0
votes
0answers
13 views

Windows Ubuntu Subsystem mv folder disappeared but works with file

I am using Windows Ubuntu Subsystem 18.04. The command I run is mv venv ../d/ and the folder can neither be found in current directory nor in d. This command is double checked from .bash_history. ...
0
votes
1answer
27 views

Multiple File Descriptors

Can we open a file with two different open() system calls? My purpose is to write something into the file with the first file descriptor and to read something from the file with the second ...
-1
votes
0answers
23 views

File Manager closes when clicked on an video file properties

So I tried to open a .mp4 video file's properties on the file manager, but after I clicked "Properties", the properties box didn't open and the file manager closed. I checked this with other video ...
0
votes
2answers
98 views

How can I copy or move images from thousands of folders into one folder? [duplicate]

I have about 2855 folders containing a large number of images and I want to copy or move all the images into one folder. Please provide a detailed explanation.
0
votes
1answer
29 views

Can't see my file

I created a file in desktop I can not see it there , but when I'm running ls command it shows that the file is on Desktop. Can someone help me, please?
0
votes
0answers
15 views

Locating packages [duplicate]

I have an application that has dependencies on these 2 packages l compat-libstdc++-33-3.2.3-68.1.x86_64.rpm or later l compat-libstdc++-33-3.2.3-68.1.i686.rpm or later Can someone point me in the ...
0
votes
1answer
26 views

Moved a folder to /dev. Folder has disappeared after rebooting

As the title says, I can't find the folder there now. I looked it up and /dev is some form of device files, so I'm not sure whether the folder I moved there should disappear after rebooting or not?
0
votes
0answers
20 views

cannot open ISO file [duplicate]

Trying to use Ubuntu. Brand new.I downloaded the Ubuntu file but it opens a folder including Ubuntu. Then I have right-clicked everywhere but that does not open another menu.
-1
votes
0answers
72 views

All files gone from Ubuntu 18.04 but folders remain

I don't know what happened but suddenly all my files are gone from my computer (except those on the Downloads folder), the folders which contain the information remain there but the content is now ...
0
votes
1answer
189 views

Create checksum sha256 of all files and directories?

I need to create a list of checksums of the files that are inside a directory, including any subdirectories. The command that I try to execute is the following: sha256sum -b * Usage: -b = Read ...
0
votes
0answers
46 views

Show total file size while transferring files?

I'm fairly new to the Linux world. One thing that keeps nudging me is that the transfer progress bar doesn't show total size of the data being transferred. (It only shows number of files transferred ...
1
vote
2answers
107 views

How to capture a screenshot immediately, without any confirmation, clipboard interference or screen blackout effect?

For Windows, IrfanView offers a powerful screenshot tool with these features: Custom filenames (number and timestamp) such as 000001_20170324110124.Screenshot.png (not an actual filename of a file I ...
2
votes
0answers
24 views

When extracting from an archive, how to stop “Files” to select the extracted folder(s) afterwards

I like to extract archives and delete them afterwards. Now, when I select one or more archives and "right-click -> extract here", after successful extraction, the extracted folder(s) is automatically ...
0
votes
0answers
81 views

Files is not working

I am using Ubuntu 16.04 LTS. When I click on Files to open it, there is no response. When I try to launch Nautilus through the terminal, this is what I get: ricknrose@rick-System-Product-Name:~$ ...
0
votes
1answer
18 views

Moving Subdirectories Between Directories by Folder Name

I have a series of sub-directories, all in one parent-directory, each titled like such: StringA (Date1) StringW [String10] StringB (Date2) StringX [String11] StringB (Date3) StringY [String12] ...
-1
votes
0answers
32 views

How to get rid of green checkmarks on my files?

At some point, I used a Google Drive sync application called overGrive. I think it pooped all these green checkmarks all over my files. There is no option in the program that interacts with the ...