Tagged Questions
1
vote
1answer
154 views
Very basic question, ls a different directory and save file
I seriously can't understand where I'm going wrong with his question. The first part is.
List all the file and directory names in /etc which have 1 or more numbers in their name. Remember to use ...
6
votes
3answers
316 views
Bash autocomplete gives different file name than ls
An incredibly strange thing just happened. Through a serious typo, I entered
cp filename.xsl .^?~
Yeah, that's right, dot-caret-questionmark-tilde! Truth is stranger than fiction.
It gets weirder. ...
4
votes
5answers
758 views
Strange case: Text file that exist and doesn't exist
I'm completely puzzled about a problem with a single plain text file in my system fedora 12. I used a known software in bioinformatics, maker, to produce lots of plain text files and one of them it ...
7
votes
6answers
2k views
List files sorted numerically
I have a bunch of files from log1 to log164.
I'm trying to LIST the directory (sorted) in a UNIX terminal but the sort functions are only providing the format like this:
home:logs Home$ ls -1 | sort
...
8
votes
4answers
11k views
How to list files without directories, and filter by name (ls options)
I have a directory called uploads. It contains a bunch of files, plus a few subdirectories which in turn contain files.
Is there a way I can (in one step) do the following:
List ONLY the files in ...