LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-09-2014, 12: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, 04:27 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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, 04:49 PM   #3
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
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, 05: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, 05: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



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

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

All times are GMT -5. The time now is 10:34 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