What is the difference between an argument and an
option/switch?

Answers were Sorted based on User's Feedback



What is the difference between an argument and an option/switch? ..

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

What is the difference between an argument and an option/switch? ..

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

What is the difference between an argument and an option/switch? ..

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

Post New Answer

More Linux AllOther Interview Questions

how can i create samba server in fedora 9.0 ? and domain/LDAP controller! clilent side is windows pc .?

0 Answers   Wipro,


My root password has been changed, how can i enter into the system without root password?

6 Answers  


am installed windows and later i installed ubuntu i want to unistall ubuntu can any one tel the procedure to uninstall ubuntu in my windows 7 please mail to me ---kiranpulsar2007@gmail.com and later i want to install ubuntu after uninstalling ubuntu tel the procedure for that also i dont know to patrition the hard disk drive please tel to them please reply

1 Answers  


What is the complete name of the default configuration file for LILO?

1 Answers  


What is the use of DNS Server? Name other servers works same as like DNS?

2 Answers  






What is the difference between ext3 and ext4?

0 Answers   IBM,


What is the difference between RedHat linux and Fedora and Ubuntu?

3 Answers   CSC,


How do display error messages instantly when command fails?

4 Answers  


In Linux(RHEL) server have two users with same name. one is local user and second one is NIS user. if you login the server which user will login (local or NIS)

1 Answers  


i want to install XP on RHEL5 with virtualization tell me step by step configuration

1 Answers  


why accounting Software does not support on linux?

5 Answers  


in linux gui desktop icon was lost how con u back this icons

2 Answers  


Categories