LinuxQuestions.org
Review your favorite Linux distribution.
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 08-12-2004, 06:37 PM   #1
naijaguy
Member
 
Registered: Aug 2004
Posts: 88

Rep: Reputation: 15
see what arguments are available for a command


When I type ls at the prompt, what argument can I type onto the end so that it will show me all the arguments I can put with ls?
 
Old 08-12-2004, 06:42 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,111

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Try reading the man page: i.e. type 'man ls' at the prompt.

Alternatively, most programs have help options, usually -h or --help.
 
Old 08-12-2004, 09:52 PM   #3
irlandes
Member
 
Registered: Nov 2003
Posts: 117

Rep: Reputation: 16
some commands

I do not know when it applies, but there have been times when I type a command, and before I type the options I accidenttally hit the return key, it gives me the options in an error response.
 
Old 08-12-2004, 10:05 PM   #4
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
Re: some commands

Quote:
Originally posted by irlandes
I do not know when it applies, but there have been times when I type a command, and before I type the options I accidenttally hit the return key, it gives me the options in an error response.
This typically applies when the application requires command options. In this situation the program is probably coded to respond in the same way as if you had typed --help or -h.
 
  


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
alsamixer command line arguments dereko Debian 3 09-29-2008 02:06 PM
Awk command-line arguments lowpro2k3 Programming 1 03-28-2005 09:09 PM
command arguments in perl djgerbavore Programming 1 12-30-2004 08:06 AM
Take arguments of console command from file RedDwarf Linux - General 5 08-03-2004 06:12 PM
Help with command line arguments ? synapse Linux - Newbie 2 02-23-2004 02:25 AM


All times are GMT -5. The time now is 07:18 PM.

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