Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-25-2004, 05:12 AM   #1
Registered: May 2004
Posts: 32

Rep: Reputation: 15
Exclamation Note to newbies on ls command!!

Just a note to newbies starting out. If you want to find files in you current working directory you must use the "ls" command and then an extension. If you are coming over from a windows/dos based environment be aware that, for instance if you're looking for directories starting with N, " ls N* " will NOT give you all files with N in the beginning.... it will list the files in any directory starting with N* in your present working directory. You have to type ls -d N* to get the directories in the current working directory. This perplexed me for quite some time... I know, I'm a bit slow on the uptake :-) but there you have it. So if you're getting loads of files listed, and they look like nothing that you're actually looking for you're getting the command wrong.
Old 06-25-2004, 09:47 AM   #2
Registered: May 2004
Location: Bangalore, India
Distribution: Fedora Core 2 (modified), Debian
Posts: 34

Rep: Reputation: 15
man ls
or info ls will give you loads of other options you could use.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Just a note... czon General 0 08-18-2005 12:12 PM
A Note To Everyone TheLinuxDuck Programming 2 03-22-2005 10:07 AM
A personal note of thanks to Jeremy and LQ vharishankar LQ Suggestions & Feedback 4 11-03-2004 10:24 PM
Just a thank you note to all who helped cubeman Linux - Hardware 0 10-19-2003 06:04 PM
Quick note for SMB newbies (like me) dragonlinux Linux - Networking 0 10-16-2003 03:19 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:31 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration