Question: Hide Instru Part 1 : Linux Command - Line The goal of this part is to have you learn and practice various Linux commands. Note

Hide Instru
Part 1: Linux Command-Line
The goal of this part is to have you learn and practice various Linux commands. Note that you may use these commands at differ points in each term. Specifically, after this assignment you will be able to use the following commands:
man -k
echo
pwd
cat [>]
cd
Is
touch
mkdir
ps aux [|]
mv
cp
sudo
rm[-R]
chmod
chown
An easy way to determine what a command does is to type man and then the name of the command you are trying to learn about. For instance, man cp in the command line interface (CLI) will bring up a page about the cp command. Simply press q to leave that screen.
-16.1.3 File Permissions
List all of the files (including hidden ones) in the your_first_name directory with permission details.
Remove all permissions for the others group on your_last_name.txt.
Change the owner of your_middle_name.txt to root (You will need to type in your password).
17-1.4 File Manipulation
Add the string 'hello' to your_last_name.txt.
Hint: You can direct the output of any command to a file using the >(redirection) operator. The redirection operator will concatenate the output to the end of the file. Combining that with the echo command you can create a text file or update its contents like this: echo Accio Firebolt > harry.txt.
Add the contents of your_last_name.txt to your_last_name3.txt (in the subdir directory). Hint: The cat command will print the contents of a file. Consider combining that with a redirection operator.
Print the contents of your_last_name.txt to the console.
 Hide Instru Part 1: Linux Command-Line The goal of this part

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!