Create an alias that translates the command ls into ls –l. Test the alias. Give an ls command that does not use the alias. Remove the alias and show that the alias no longer exists.
What will be an ideal response?
$ alias ls='ls -l'
$ ls
-rwxr-xr-x. 1 max pubs 145 Oct 19 14:21 cptobak
-rwxr-xr-x. 1 max pubs 82 Oct 19 14:06 first
-rwxr-xr-x. 1 max pubs 82 Oct 19 14:21 first.bak
-rwxr-xr-x. 1 max pubs 151 Oct 19 16:24 mine
-rwxr-xr-x. 1 max pubs 28 Oct 19 13:52 short
$ \ls
cptobak first first.bak mine short
$ unalias ls
$ ls
cptobak first first.bak mine short
You might also like to view...
An option for Web page authors is to use a set of online Web page foundational technologies.
Answer the following statement true (T) or false (F)
Scripting language code is interpreted by which of the following?
a. The browser b. The server c. HTML d. (a) and (b)
Match the following functions with their appropriate purpose:
I. Len A. Select a specific number of characters from a text string from II. InStr left to right III. Left B. Select a specific number of characters from any specific point IV. Mid in the text string C. Count the number of characters up to and including a target symbol D. Count the total numbers of characters contained in a field
Outlines in Word also can be used to create slides in ________
Fill in the blank(s) with correct word