Question: This exercise provides practice repeating commands using the tcsh shells history. Assume that you have just run the history command and it displays the following

This exercise provides practice repeating commands using the tcsh shells history. Assume that you have just run the history command and it displays the following list. Also assume that you are always typing command #12. That is, assume youre always typing the command after command #11 which is the history command.

1 mkdir practiceDir

2 chmod 700 practiceDir

3 cd practiceDir

4 touch junk1 junk2 junk3

5 ls al 6 date > junk4

7 cat /etc/passwd >> junk4

8 rm junk2

9 ls al

10 cp ~/.login junk2

11 history

What command will be executed when you type each of the following? Write in the command number in the space provided.

A. !9 ______________

B. !-4 ______________

C. !! ______________

D. !h ______________

E. !c ______________

F. !ca ______________

G. !?login ______________

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!