answersLogoWhite

0


Best Answer

The generic syntax for commands is:

command-name options-or-parameters

The first non-blank field is always the command to be executed. Following that are either options (starts with a - or +), and any other non-blank field would be considered a parameter. An example:

cc -O -o testing -n -s -x main1.c sub1.c sub2.c

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

command [parameters]

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the generic syntax for all UNIX command?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What would the syntax of a command to list all documents in a directory that have the extension doc?

For windows: dir *.doc For Unix/Linux: ls *.doc


What do four ampersands all strung together mean in a UNIX command string?

4 ampersands together is not legal for Unix/Linux.


What is the rm -rf command in unix?

Recursively removes all files from the directory and all under it.


What is the unix command to send message to all the users who are logged in?

The command is 'wall' (write all). In some systems it can only be executed by the administrator.


How do you exit the edit command in unix?

There are many editors available in Unix, and they all have different methods of exiting out. You need to specify exactly which editor you are concerned with.


How do you see what is active on a UNIX machine?

Use the 'ps' command. This command lists all of the processes running on the system, when they started, who the owner is, etc.


What is the command for listing all files ending in small letters in unix?

Try the following: ls *[a-z]


What is the function of CLS in dos command?

The command CLS clears the screen and resets the location of the command prompt to the top of the screen. This is similar to the Unix command clear.


What is IP config?

A Command run in the command prompt that will show the current information on all network connections to other devices, (Excluding USB, I394, etc.) including the ip addresses and M.A.C Addresses. Syntax: ( Under Command Prompt ) C:\Users\<USER>\ipconfig Main Syntax - ipconfig


What command do you use to view IP address information?

For Unix/linux, use the 'ifconfig' command. For Windows, use 'ipconfig'


Which of the following commands reveals the default gateway address for all the hosts to which a router is connected?

Using The ipconfig Command in Command Prompt.SyntaxC:\Users\\ipconfigMain syntax - ipconfigThe proper syntax is IPCONFIG /allThe slash-all shows everything.Do a IPCONFIG /? for all the commands used.ipconfig


What command do you use to check disk space in Ubuntu?

Almost all Unix/Linux systems use the 'df' command to find out how big the partition is, how much is in use, and the percentage of the system in use. This command must be used in a command window.