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
command [parameters]
For windows: dir *.doc For Unix/Linux: ls *.doc
4 ampersands together is not legal for Unix/Linux.
Recursively removes all files from the directory and all under it.
The command is 'wall' (write all). In some systems it can only be executed by the administrator.
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.
Use the 'ps' command. This command lists all of the processes running on the system, when they started, who the owner is, etc.
Try the following: ls *[a-z]
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.
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
For Unix/linux, use the 'ifconfig' command. For Windows, use 'ipconfig'
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
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.