subject

1. Type the following commands:

$ head /etc/services

$ ls /etc

$ who

$ date

$ uname -a

2. Use history and tail to list the 10 most recent commands you issued. It is okay if you have only the preceding five commands in your history list. [Show your work]

3. Regarding using an exclamation point (!) to reference events: (!! references the last command) see page 129

a. Repeat the ls /etc command using that command’s event number [Show your work]

b. Repeat the uname command by specifying it as the nth preceding command. Be careful: Each time you issue a command, the relative number of each preceding command changes. You might want to give another history command before you proceed. [Show your work]

c. Repeat the previous command. [Show your work]

d. Repeat the most recent command that started with the string head. [Show your work]

4. Create an alias that translates the command d into date. Make sure the new alias works. Display the alias. [Show your work]

5. 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. [Show your work]

6. Where would you define an alias so that it is available each time you log in?

7. Assume the following set of commands are run in the order presented:

MYNAME=joe

CMD=echo

$CMD $MYNAME

$CMD my name is $MYNAME.

CMD="echo hello world"

$CMD

CMD="echo $MYNAME"

$CMD

Explain, in your own words, what is happening when commands 2, 4, 5, and 7 executed.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:40
5. illustrate how fine-line inventory classification can be used with product and market segments. what are the benefits and considerations when classifying inventory by product, market, and product/market?
Answers: 2
question
Computers and Technology, 22.06.2019 23:30
Which text format is this, "the text is transcribed exactly as it sounds and includes all the utterances of the speakers. "?
Answers: 2
question
Computers and Technology, 23.06.2019 00:30
Quic which one of the following is the most accurate definition of technology? a electronic tools that improve functionality b electronic tools that provide entertainment or practical value c any type of tool that serves a practical function d any type of tool that enhances communication
Answers: 1
question
Computers and Technology, 23.06.2019 06:30
Which option correctly describes a dbms application? a. software used to manage databases b. software used to organize files and folders c. software used to develop specialized images d. software used to create effective presentations
Answers: 1
You know the right answer?
1. Type the following commands:

$ head /etc/services

$ ls /etc

$...
Questions
question
Social Studies, 11.10.2020 20:01
question
Engineering, 11.10.2020 20:01
question
History, 11.10.2020 20:01
question
English, 11.10.2020 20:01
question
Mathematics, 11.10.2020 20:01
Questions on the website: 13722360