How to Set Linux/Unix
(examples for user
|
More alias examples and info may be added,
if I re-visit or use this page.
INTRODUCTION : Below is information on setting command aliases --- to make it easy to call up a rather long command with just a few characters, typed at a terminal prompt. A command alias is usually set by using an 'alias' command in a 'run-control' (rc) file in the user's home directory. The name of the 'rc' file is typically
The 'rc' file is usually a 'dot' file --- a 'hidden' file --- in the user's home directory. The image at the top of this page shows that you can open a terminal and type the command 'alias' --- and the aliases that have been set in your various 'run control' and 'profile' files will be shown in the terminal.
Some handy aliases to add to a Statements (and comments) like the following can be entered (or pasted) in a user's 'run control' file.
The comment lines explain what most of these aliases
are intended to do.
Shell considerations : Most of these samples are intended to run with the Bourne or the Korn shells (command interpreters), as well as with the Bash shell (command interpreter). Most of these samples employ commands (and their parameters) available to all three interpreters, so the scripts (and aliases) will generally run in any of these three shells (command interpreters). In fact, the Korn and Bash command interpreters are offshoots of the Bourne shell (command interpreter). Here is a link to help search for more information on setting command aliases for use at command-line prompts.
|
Bottom of this
To return to a previously visited web page location, click on the
Back button of your web browser a sufficient number of times.
OR, use the History-list option of your web browser.
< Go to Top of Page, above. >
|