LinuxQuestions.org
Visit Jeremy's Blog.
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 03-20-2017, 06:47 AM   #1
bala1989murugan
LQ Newbie
 
Registered: Sep 2016
Posts: 16

Rep: Reputation: Disabled
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.
 
Old 03-20-2017, 07:05 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,098

Rep: Reputation: 7137Reputation: 7137Reputation: 7137Reputation: 7137Reputation: 7137Reputation: 7137Reputation: 7137Reputation: 7137Reputation: 7137Reputation: 7137Reputation: 7137
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.
 
2 members found this post helpful.
Old 03-20-2017, 08:05 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,287

Rep: Reputation: 7900Reputation: 7900Reputation: 7900Reputation: 7900Reputation: 7900Reputation: 7900Reputation: 7900Reputation: 7900Reputation: 7900Reputation: 7900Reputation: 7900
Quote:
Originally Posted by bala1989murugan View Post
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.
 
1 members found this post helpful.
Old 03-20-2017, 09:21 AM   #4
bala1989murugan
LQ Newbie
 
Registered: Sep 2016
Posts: 16

Original Poster
Rep: Reputation: Disabled
Yes .
Thank you.

Last edited by bala1989murugan; 03-20-2017 at 09:25 AM.
 
  


Reply

Tags
command, command line interface, command substitution, command-line top


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
Trying to understand which parameters I need for a generic backup using rsync annadane Debian 3 03-06-2017 02:50 PM
LXer: Linux Utility - Understand Linux Crontab Or Cron Expressions To Run Command At Specific Interval LXer Syndicated Linux News 0 06-14-2016 12:30 PM
LXer: 17 Linux df command examples to understand it LXer Syndicated Linux News 0 03-04-2016 12:21 PM
How to pass parameters to Top command using command line. pinga123 Linux - Newbie 1 06-09-2015 01:43 AM
[SOLVED] Very new to Linux/Trying to understand the Sed command kayjay1 Linux - Newbie 2 02-27-2011 02:07 PM

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

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

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