Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using the linux terminal and commands, perform the following activities and take a snapshot of the results and post as your answer. Take a snapshot
Using the linux terminal and commands, perform the following activities and take a snapshot of the results and post as your answer. Take a snapshot of each question after answering, paste into a word document and submit same after completion.
Display your current directory.
Change to the bin directory.
Now change to your home directory using only three key presses.
Go to the parent directory of the current directory.
Go to the root directory.
List the contents of the root directory.
List a long listing of the root directory.
List all the files including hidden files in your home directory.
List the files in boot in a human readable format.
Create a directory tyingd in your home directory.
Change to the etc directory, stay here and create a directory latedir in your home directory.
Create in one command the directories ~dirrdirrdirrdirr is a subdirectory from dirr and dirr is a subdirectory from dirr
Remove the directory tyingd.
Display the type of file of bincatetcpasswd and usrbinpasswd
Create a directory ~touceh and enter it Create the files derrie.txt and dvant.txt in touched.
Change the date on dvant.txt to match yesterday's date.
Copy dvant.txt to copy.dvant.txt
Rename copy.dvant.txt to kimono
Create a directory called ~testbackup and copy all files from ~touceh into it
Use one command to remove the directory ~testbackup and all files in it
Use rename to rename all conf files to backup
Display the first lines of etcservices
Display the last line of etcpasswd
Use cat to create a file named counter.txt that looks like this:UnDeuxTroixQuatreCinq
Use cp to make a backup of this file to cnttxt
Use cat to make a backup of this file to catcnt.txt
Display catcnt.txt but with all lines in reverse order the last line first
Use more to display etcservices
Display the readable character strings from the usrbinpasswd command.
Use ls to find the biggest file in etc
Use cat to create a file named fishing.txt that contains the contents this is a wonderful opportunity for me followed by the contents of etcpasswd
Use cat to create a file named tailing.txt that contains the contents of fishing.txt preceded by the contents of etcpasswd Is tac a shell builtin command
a Create an alias called 'village' that echoes your hometown. b Use your alias to test that it works.
Execute set x to display shell expansion for every command.
Test the functionality of set x by executing your city and rm aliases.
Execute set x to stop displaying shell expansion.
Remove your village alias.
What is the location of the cat and the passwd commands?
Explain the difference between the following commands:echobinecho
Explain the difference between the following commands: echo Heloloecho n Helolo
Display X Y Z with two spaces between Y and Z
Complete the following command do not use spaces to display exactly the following output:
Use echo to display the following exactly:?
Use one echo command to display three words on three lines.
Execute ls after cd etc but only if cd etc did not error.
Execute cd etc after cd etc, but only if cd etc fails.
Use echo to display Hello followed by your username. use a bash variable!
Create a variable answer with a value of
How many commands can be kept in memory for your current shell session?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started