Sponsored Content
Full Discussion: Man command
Top Forums Shell Programming and Scripting Man command Post 302462631 by mayur_verma on Thursday 14th of October 2010 04:22:34 PM
Old 10-14-2010
Man command

How to get only the options and arguments of a command excluding the
descriptive help?
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Man command

I know what the man command does and I know how to use it, but i am trying to find an answer to a question. When you run man on an other command it will give you the first page on your screen and then you hit the space bar and it brings up the second page. What command option would I use if I... (5 Replies)
Discussion started by: shipoffools
5 Replies

2. Programming

man pages of any command from a c program in unix

i wanted to display the man pages of any command in unix from a c program.can some one help me plzzzzzz. (2 Replies)
Discussion started by: spanduu
2 Replies

3. Solaris

Creating a Man page for a command

Hi, I would like to develop a man page as the one we usually get when we execute man <command name>. This man page will be for a samll utility that i have written. If this is not possible then what are the available possibilites for creating such help. thanks in advance. (2 Replies)
Discussion started by: raghu.amilineni
2 Replies

4. Linux

man command

Hey people do u know how to disable the man command in linux??? i am not able to do anythg apart from disabling the permission for /usr/bin/... i dont wanna uninstall the man / man pages also... this has been one of the toughest challenges i have come across in linux... can anybody... (5 Replies)
Discussion started by: linux.user
5 Replies

5. Homework & Coursework Questions

man command output to a txt file

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: I am trying to outut the man command output into a text file which will help me for future reference. 2.... (8 Replies)
Discussion started by: hariniiyer300
8 Replies

6. UNIX for Dummies Questions & Answers

Unix man command to find out month of the year?

how can i display month of the year i was born with using man command? thanks (2 Replies)
Discussion started by: janetroop95
2 Replies

7. UNIX for Dummies Questions & Answers

MAN command for various shells

Whenever I run manual page on a command I get information about arguments, syntax and so on. However, I wounder if that information is valid only for a certain shell and if yes, then for which one? In other words, would I have different man outputs for csh, ksh, bash and others? Thanks (7 Replies)
Discussion started by: rdogadin
7 Replies

8. Shell Programming and Scripting

Description of the option print0 in the command find (man page)

This is the description of the option -print0 fon the command find in the man page: What does the "True" in the first line of the description mean? (3 Replies)
Discussion started by: puertas12
3 Replies

9. UNIX for Beginners Questions & Answers

Using man command

hi linux expert how to use man command for get help about "extended regular expression"? many thanks samad (2 Replies)
Discussion started by: abdossamad2003
2 Replies
command(1)						      General Commands Manual							command(1)

NAME
command - execute a simple command SYNOPSIS
command_name [argument ...] DESCRIPTION
enables the shell to treat the arguments as a simple command, suppressing the shell function lookup. If command_name is not the name of the function, the effect of is the same as omitting command. Operands recognizes the following operands: command_name The name of a HP-UX command or a shell built-in command. argument One or more strings to be interpreted as arguments to command_name. The command is necessary to allow functions that have the same name as a command to call the command (instead of a recursive call to the function). Nothing in the description of is intended to imply that the command line is parsed any differently than any other simple command. For example, is not parsed in any special way that causes or to be treated other than a pipe operator or semicolon or that prevents function lookup on b or c. EXTERNAL INFLUENCES
Environment Variables determines the search path used during the command search. RETURN VALUE
exits with one of the following values: o If fails: 126 The utility specified by the command_name is found but not executable. 127 An error occurred in the utility or the utility specified by command_name is not found. o If does not fail: The exit status of is the same as that of the simple command specified by the arguments: command_name[argument ...] EXAMPLES
Create a version of the command that always prints the name of the new working directory whenever it is used: cd() { command "$@" >/dev/null pwd } Circumvent the redefined command above, and change directories without printing the name of the new working directory: SEE ALSO
getconf(1), sh-posix(1), confstr(3C). STANDARDS CONFORMANCE
command(1)
All times are GMT -4. The time now is 06:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy