Results 1 to 3 of 3
I am doing something for a class, and i have to list all the files in the users home directory, and i did a ls -F so the directories have ...
- 06-08-2010 #1Just Joined!
- Join Date
- Jun 2010
- Posts
- 2
removing things from a list
I am doing something for a class, and i have to list all the files in the users home directory, and i did a ls -F so the directories have a / after them but i don't know how to remove them because i just want the files not the directories
when I run the command i get
Desktop/
"file"
i need the Desktop/ to go away
- 06-08-2010 #2Linux User
- Join Date
- Nov 2009
- Location
- France
- Posts
- 292
find <where> -type f
0 + 1 = 1 != 2 <> 3 != 4 ...
Until the camel can pass though the eye of the needle.
- 06-08-2010 #3
Home work questions are specificaly mentioned in the forum rules as being not acceptable. You should consult google, the man pages, the info pages, and your teacher for assistance with homework. The excercises are there to help you learn how to do things for yourself, you should use every resource available to you to get things done before seeking help from others.
New to the internet, technical forums, or the hacker / open source community??
Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html
RHCE for RHEL version 5
RHCT for RHEL version 4


