LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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: 122

Rep: Reputation: 17
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:08 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration