LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 06-25-2004, 05:12 AM   #1
samills70
Member
 
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
srichand
Member
 
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.

Srichand
 
  


Reply


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


All times are GMT -5. The time now is 04:34 AM.

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