![waterborn9800](/avatars/32085.jpg)
waterborn9800
13.02.2020 •
Computers and Technology
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.
Solved
Show answers
More tips
- F Family and Home What Kind of Wedding to have After 11 Years of Marriage?...
- C Computers and Internet How to Top Up Your Skype Account Without Losing Money?...
- H Health and Medicine How does childbirth happen: everything future mothers need to know...
- H Health and Medicine What Are the Best Vitamins? A Scientific View on Vitamin Supplements...
- A Auto and Moto How to Deregister a Car in Moscow?...
- A Auto and Moto What Is the Cost of Customs Clearance for a Car in Russia?...
- A Auto and Moto How to choose the right drive for your BMW...
- H Health and Medicine 10 Tips for Avoiding Vitamin Deficiency...
- L Leisure and Entertainment Mysteries of the Name Vyacheslav Dobrynin...
- H Health and Medicine What makes Graves’ disease dangerous?...
Answers on questions: Computers and Technology
- C Computers and Technology Read the scenario and draw the flowchart for it A program needs to be developed for helping your younger siblings to calculate the area of a triangle when the inputs are given. The...
- C Computers and Technology What Type of electromagnetic energy is in a tv, nintendo 3ds and a mp3 player...
- C Computers and Technology If the relocation register holds the value 283968, was the relocated job moved toward a lower or higher addressable end of the main memory? By how many kilobytes was it moved? Explain...
- M Mathematics Find the area of triangle abc with the given parts. round to the nearest whole number. a = 26.4° b = 12.3 in. c = 7.7 in. a- 19.1 in.2 b- 42.4 in.2 c- 44.4 in.2 d- 21.1 in.2...
- A Advanced Placement (AP) Ill give out brainiest in a research studying the effect of sugar intake on concentration, the researcher randomly assigns student participants to either a group that receives water...
- S Social Studies Match each characteristic with its correct region. had a plantation economy had settlers from many countries had rocky soil that limited large scale farming had a diverse economy,...
- H History In what ways was jone s naval stragety like that of the conetial army...
- S Social Studies What states and major bodies of water border new york?...
- M Mathematics The turner family say is $42 each month how much money i have the turner saved after 15 months...
- H Health What is the correct definition of ligament? a. place where two or more bones meet. b. a type of connecting tissue that allows joints to move easily, cushions bones, and supports...
Ответ:
Just love it thanks for free entertainment