0
votes
1answer
22 views

before.rules date [closed]

I can't figure out why one of my before rules file has a date that is in the future. Today's date is July 3rd but the file time stamp states Jul 6. Below is the output from ls -l in the /etc/ufw ...
-1
votes
2answers
89 views

No command is working, edited .bashrc file

I edited .bashrc file with PATH value, but when I open a new terminal after this, none of command is working. When i am opening a new terminal its giving : bash: export: `/usr/lib/java/jdk1.7.0_51': ...
1
vote
3answers
85 views

Output Directory Contents to File

I have a directory html. I would like to output the files of the directory, including the path, to a file. You can do something like this with the command: ls -R scripts/html > out.txt But the ...
0
votes
2answers
250 views

ls command very slow after deletion of thousand files on a directory

I have a dir under /home/myuser dir which an application stores and deletes millions of temporary files. When I do ls on this dir (now it only has a hundred files only) it is too slow (actually I do ...
4
votes
3answers
871 views

create a list of files located in multiple directories

I have a set of data files (*.all) located in different folders Documents/rawdata/Geob1005/1.all, 2.all, 3.all,...,n.all Documents/rawdata/Geob1006/A.all, B.all, C.all,...,Z.all and so ...
0
votes
1answer
88 views

mouse stopped working, checked htop, and HOLY WOW my kcore file is 140 petabytes!! (see screen shot)

My mouse suddenly stopped working on my Ubuntu plex server v12.04 LTS. It still works as a remote plex server so I'm not too concerned. But I did try to login locally with it and ran htop to see if I ...
11
votes
2answers
684 views

What are = and | in the output of “ls -F”?

I am working on creating a 'cheat sheet' of shell commands. I am currently researching the ls command and its flags. For the -F flag I know what the majority of the appended indicators mean but for; = ...
0
votes
1answer
1k views

Creating a new file with touch command actually creates eight unlisted files?

Have a look at this screenshot: Pardon for my language used when I installed Ubuntu. Anyways, it is beyond my imagination how come creating an empty file actually creates eight files, alas, the ...
4
votes
1answer
743 views

Summarize file sizes of a directory structure?

I have written a small backup script with rsync. I would like to monitor its progress by comparing the total file sizes on the source and destination directories. du Is inaccurate because it measures ...
16
votes
7answers
14k views

How to list all the files in a tree (a directory and its subdirs)?

For a task of mine I need to list all the files in a tree (a directory, all its subdirs, all subdirs of those, etc.). I'd prefer to see them in Nautilus or Krusader, but a command-line solution is ...