You are on page 1of 8

6/14/22, 6:13 PM Project: 0x00.

Shell, navigation | Lagos Intranet

(/)

0x00. Shell, navigation



By Guillaume


Weight: 0


Ongoing project - started Jun 8, 2022, must end by Jun 17, 2022
- you're done with 0% of tasks.


Checker was released at Jun 8, 2022 6:00 AM


An auto review will be launched at the deadline

Welcome to the Matrix!

This project will (probably) be your first experience with an Unix terminal!

For this project, please start and connect to your Sandbox Ubuntu 20.04 .

Resources
Read or watch:

Linux navigation (/rltoken/wpsA1kZvIz5_aVkvXuKN5Q) 


Linux - looking around (/rltoken/q1dtRMnA99cyFF4ALjoX_w)
https://alx-intranet.hbtn.io/projects/1103#quiz-completed 1/8
6/14/22, 6:13 PM Project: 0x00. Shell, navigation | Lagos Intranet

Linux - manipulating files (/rltoken/t97eLJ6U-HwjZTe4QfxKdw)


(/)
Or in your terminal:

man pwd
man ls
man cd
man less
man touch
man cp
man mv
man rm
man mkdir
man rmdir

Extra resources:

Linux - /tmp (/rltoken/czGvASt_M8PW05Ubdp8EBw)

Learning Objectives
At the end of this project, you are expected to be able to explain to anyone
(/rltoken/cbOGeLNvliyLR8bzoLGGiQ), without the help of Google:

General
How to navigate in an Unix system
How to list files and directories
How to display the content of a file
How to create a file or directory
How to remove a file or directory
How to move or copy a file or directory

Copyright - Plagiarism
You are tasked to come up with solutions for the tasks below yourself to meet with the above learning
objectives.
You will not be able to meet the objectives of this or any following project by copying and pasting
someone else’s work.
You are not allowed to publish any content of this project.
Any form of plagiarism is strictly forbidden and will result in removal from the program.

Requirements
All tasks must be done inside the sandbox Ubuntu 20.04
Your sandbox must be available at the end of this project - the Checker will access to it at midnight
for running the correction!


Quiz questions
https://alx-intranet.hbtn.io/projects/1103#quiz-completed 2/8
6/14/22, 6:13 PM Project: 0x00. Shell, navigation | Lagos Intranet

(/)
Great!
You've completed the quiz successfully! Keep going!
(Hide quiz)

Question #0

Which command should you use to display the current path of your current directory?

pwd

cd

ls

touch

less

Question #1

Which command should you use to list all files of your current directory?

pwd

ls

cd

less

touch

Question #2

Which command should you use to change directory?

touch

ls

pwd

less

cd

Question #3

Which command should you use to display the content of a file?

pwd

less

https://alx-intranet.hbtn.io/projects/1103#quiz-completed 3/8
6/14/22, 6:13 PM Project: 0x00. Shell, navigation | Lagos Intranet

cd
(/)
ls

touch

Question #4

Which command should you use to create an empty file?

pwd

touch

cd

less

ls

Question #5

Which command should you use to copy a file (or directory if additional argument)?

mkdir

rm

mv

cp

rmdir

Question #6

Which command should you use to rename or move a file (or directory)?

cp

mv

rm

mkdir

rmdir

Question #7

Which command should you use to delete a file (or directory if additional argument)?

rmdir 
https://alx-intranet.hbtn.io/projects/1103#quiz-completed 4/8
6/14/22, 6:13 PM Project: 0x00. Shell, navigation | Lagos Intranet

mv
(/)
rm

mkdir

cp

Question #8

Which command should you use to create a directory?

rmdir

rm

mv

cp

mkdir

Question #9

Which command should you use to delete a directory?

cp

mv

rm

mkdir

rmdir

Tasks
0. Create me! mandatory

Access your sandbox and:

Change your working directory to /root


Then, create an empty file so_cool

Advices:

Don’t forget to validate your current working directory


Don’t forget to display the list of files of your current directory to validate the creation of the new file

https://alx-intranet.hbtn.io/projects/1103#quiz-completed 5/8
6/14/22, 6:13 PM Project: 0x00. Shell, navigation | Lagos Intranet


Done?
Help
Check your code
 Get a sandbox
(/)

1. More of me mandatory

Access your sandbox and:

Change your working directory to /root


Then, copy the file school to /tmp

Advices:

Don’t forget to validate your current working directory


Don’t forget to display the list of files of your current directory to validate the copy of the file


Done?
Help
Check your code
 Get a sandbox

2. To old mandatory

Access your sandbox and:

Change your working directory to /root


Then, rename the file old_school to new_school (in the same directory)

Advices:

Don’t forget to validate your current working directory


Don’t forget to display the list of files of your current directory to validate the renaming of the file


Done?
Help
Check your code
 Get a sandbox

3. Not here mandatory

Access your sandbox and:

Change your working directory to /root


Then, move the file not_here to /tmp/right_school

Advices:

Don’t forget to validate your current working directory


Don’t forget to display the list of files of your current directory to validate the move of the file 
https://alx-intranet.hbtn.io/projects/1103#quiz-completed 6/8
6/14/22, 6:13 PM Project: 0x00. Shell, navigation | Lagos Intranet

(/)

Done?
Help
Check your code
 Get a sandbox

4. Not anymore mandatory

Access your sandbox and:

Change your working directory to /root


Then, delete the file ready_to_be_removed

Advices:

Don’t forget to validate your current working directory


Don’t forget to display the list of files of your current directory to validate the removal of the file


Done?
Help
Check your code
 Get a sandbox

5. Organization is key! mandatory

Access your sandbox and:

Change your working directory to /root


Then, create a directory school_is_amazing

Advices:

Don’t forget to validate your current working directory


Don’t forget to display the list of directories of your current directory to validate the creation of the
directory


Done?
Help
Check your code
 Get a sandbox

6. No need mandatory

Access your sandbox and:

Change your working directory to /root


Then, remove the directory empty_directory

Advices:

Don’t forget to validate your current working directory

https://alx-intranet.hbtn.io/projects/1103#quiz-completed 7/8
6/14/22, 6:13 PM Project: 0x00. Shell, navigation | Lagos Intranet

Don’t forget to display the list of directories of your current directory to validate the removal of the
(/) directory


Done?
Help
Check your code
 Get a sandbox

Copyright © 2022 ALX, All rights reserved.


https://alx-intranet.hbtn.io/projects/1103#quiz-completed 8/8

You might also like