What is the difference between an argument and an
option/switch?
Answers were Sorted based on User's Feedback
Answer / viswanath
A linux/unix syntax format is as follows
command option arguement
example: ls -a /boot
here ls command, -a is option,/boot is arguement
option specifies the command how to run
arguement specifies the command on what to run
| Is This Answer Correct ? | 32 Yes | 3 No |
Answer / suitable
commands have the following syntax:
command options arguments
arguments are filenames or other data needed by the command
and
options used with the commands modify the command's behavior.
| Is This Answer Correct ? | 17 Yes | 5 No |
Answer / brijmohan
Whenever we try to excute something in linux and we are
using shell(terminal). there are three fields in that.
command option Argument
Command: it specify what you want to do. It is mendatory
filed.
Option: It is used to change the behaviour of command.
Argument: It may be file name or path.
| Is This Answer Correct ? | 5 Yes | 3 No |
How do display error messages instantly when command fails?
How to findout, if the user is local user or NIS user in the Linux (RHEL)?
What is the difference between home directory and working directory?
Tell me command which is use for create quota database in Linux.
What is the difference between an argument and an option/switch?
1 which file contains information about os wether it's 32 bit or 64 bit os 2 difference between logical block and physical block?? 3 what is the size of logical block and physical block?? 4 daemon for nfs on client end as well as server end??? 5 how to confirm from client end about nfs server sharing?? 6 what contains information about file and directory creating time or modification time??
What is the complete name of the default configuration file for LILO?
How to build new filesystem ? and what is irig file system?
What are RPM?s, what do they offer?
In how many ways linux can be installed n explain th steps involved in installation in any of the method..?
What is the difference between RedHat linux and Fedora and Ubuntu?
What command can you use to review boot messages?