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 to catagories tickets in RHEL, which tickets are belong to PROBLEM, INCIDENT and CHANGE management? please given to me with examples

0 Answers  


Without using w command how can Iknow that who are users logged in and what they are doing and whether they are idle or running mode?

4 Answers  


what is the difference between semaphore, mutex & spinlock?????

1 Answers   Patni,


How to send automated email to a set of people at fixed time ?

3 Answers   Accenture, HP,


What is the difference between semaphore and spinlock?

1 Answers  






why accounting Software does not support on linux?

5 Answers  


What utility can you use to automate rotation of logs?

2 Answers  


What is the difference between home directory and working directory?

10 Answers   Accenture, Flexi,


How to build new filesystem ? and what is irig file system?

3 Answers  


What are main anti-spam features available in sendmail?

1 Answers   CSC,


how to install linux OS? pls send step by step

3 Answers  


How can i recover the linux system after it was crashed by step by step process..

3 Answers   IBM,


Categories