LinuxQuestions.org
Register a domain and help support LQ
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 02-09-2014, 01:31 PM   #1
phillyfilly
LQ Newbie
 
Registered: Feb 2014
Posts: 10

Rep: Reputation: Disabled
man pages - man command


What does it mean, in the man pages, for the end of the line to have a minus? man top - or man php -v -

Also what do these commands mean? Thanks.
 
Old 02-09-2014, 05:27 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,260

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
Can you tells us what distro+version this is and post a copy of the exact page you're looking at.

On Centos , if I type 'man top' I get
Code:
TOP(1)                        Linux User’s Manual                       TOP(1)

NAME
       top - display Linux tasks

SYNOPSIS
       top -hv | -abcHimMsS -d delay -n iterations -p pid [, pid ...]

       The traditional switches ’-’ and whitespace are optional.

DESCRIPTION
etc
 
Old 02-09-2014, 05:49 PM   #3
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 2,517
Blog Entries: 1

Rep: Reputation: 494Reputation: 494Reputation: 494Reputation: 494Reputation: 494
the - by itself on the cli is normally a substitute for /dev/stdin. Perhaps a legacy thing where a keyboard wasn't a given? Just a guess.
 
Old 02-10-2014, 06:38 AM   #4
yooden
Member
 
Registered: Dec 2013
Distribution: Debian Wheezy/Jessie # XFCE
Posts: 53

Rep: Reputation: Disabled
Quote:
Originally Posted by Shadow_7 View Post
the - by itself on the cli is normally a substitute for /dev/stdin.
Except where it is not (bash(1), sh(1)). Check the manpage for the program in question.
 
Old 02-10-2014, 06:41 AM   #5
yooden
Member
 
Registered: Dec 2013
Distribution: Debian Wheezy/Jessie # XFCE
Posts: 53

Rep: Reputation: Disabled
Quote:
Originally Posted by phillyfilly View Post
What does it mean, in the man pages, for the end of the line to have a minus? man top - or man php -v -
If you would run the programs, the output would explain it to you. Why don't you do that before asking here?

Quote:
Also what do these commands mean? Thanks.
Which ones, top and php? Look at the manpages.
 
  


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
How to get man pages for linux command iptions xombboxer Linux - Newbie 6 06-14-2012 08:32 PM
INFO command vs. MAN pages .... pode1 Linux - Newbie 6 05-08-2010 06:09 PM
man pages BlinkingSpirit Linux - Newbie 10 08-05-2009 08:20 AM
C++ man pages Guest1234 Linux - Newbie 2 06-29-2008 10:12 AM
Need help adding Man pages/command after not initially installing wilko666 Slackware - Installation 3 10-30-2005 06:23 AM


All times are GMT -5. The time now is 06:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration