answersLogoWhite

0


Best Answer

Different commands can have different syntaxes. The most common format is 'command -a -b -c -d' or 'command -abcd'. Commands with long options will also support the syntax 'command --option --option2 --coption3'.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you give command line arguments while running a program in Linux?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How many arguments for the chgrp command in Linux take at a minimum?

2


How do you start the display program in Linux from the command line?

the command "display" brings up the ImageMagick program.


How do you use the top command in Linux?

Just type "top" into the command line. It requires no arguments. To exit, press 'q'.


What is the emerge command in Linux?

emerge is a Gentoo-specific command that downloads the source code to a program and compiles it.


What command can you use to list services that are running?

Linux OS is : PS -ef


Running processes on a Linux system can be reported using which command?

ps aux


How do you execute an Apache program in Linux?

Enter this command as root: "apachectl start"


What command starts the command line in Linux?

That would be a semi-contradiction; the command line would need to be already running in order to enter a command. The name of the program that actually provides the command line is called a shell. There are many different shells available for Linux, including Bash, ash, C Shell, fish, ksh, zsh, and scsh.The default command shell is /bin/sh (not /bin/bash, note).


What does the c99 command do in Linux?

The c99 command is a wrapper program that actually calls 'cc'. This is the standard c compiler for Linux. Since other Unix based systems use a c99 command to call the compiler with the 1999 standards there is a similar command to do the same thing under Linux.


What is puTTY used for?

PuTTY is a program for Microsoft Windows that allows you to control a computer running a Linux or Unix-based operating system via SSH using a command-line interface.


How many different commands are there for Linux?

Innumerable. Remember that any program on Linux can be launched from the command line, so there are as many commands as there are programs.


Which command line can be used to restart a running Linux system immediately?

shutdown -r now