LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to understand Linux command parameters (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-understand-linux-command-parameters-4175602181/)

bala1989murugan 03-20-2017 05:47 AM

How to understand Linux command parameters
 
Dear Team,
How to understand Linux command parameters like
for example, In this command, We are mentioning -b & -n1.
top -b -n1

what it represent -b & -n1

If any links available, kindly suggest to understand clearly.

pan64 03-20-2017 06:05 AM

that is easy, see man top and look for -b and -n
for example:
Code:

      -b  :Batch-mode operation
            Starts  top in 'Batch' mode, which could be useful for sending output from top to other programs or to a file.  In this mode, top will not accept input and runs until the itera‐
            tions limit you've set with the '-n' command-line option or until killed.

      -n  :Number-of-iterations limit as:  -n number
            Specifies the maximum number of iterations, or frames, top should produce before ending.


TB0ne 03-20-2017 07:05 AM

Quote:

Originally Posted by bala1989murugan (Post 5685841)
Dear Team,
How to understand Linux command parameters like for example, In this command, We are mentioning -b & -n1.
top -b -n1

what it represent -b & -n1

If any links available, kindly suggest to understand clearly.

You appear to have a pattern of asking questions that indicate little to no effort on your part, and not following up on those that you're answered in:

http://www.linuxquestions.org/questi...on-4175601162/
http://www.linuxquestions.org/questi...-a-4175601334/
http://www.linuxquestions.org/questi...on-4175601939/
http://www.linuxquestions.org/questi...ng-4175600189/

Did you try reading the man page on those commands, or even trying to look up what those parameters are??? We are always happy to help, but read the "Question Guidelines" and do basic research on your own first.

bala1989murugan 03-20-2017 08:21 AM

Yes .
Thank you.


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