Week 2: Assignment 2
2.3 Do laboratory work 6 and laboratory work 7, laboratory work 8 in the course NDG Linux Essentials English: (make a
211.76K

Assignment 2 OS file (2)

1. Week 2: Assignment 2

Getting Help, Navigating the Filesystem Managing files and Directories
1. PURPOSE OF THE WORK
•Use several help systems to get help for commands.
•Learn how to locate commands.
•Navigate home and system directories.
•List files and directories.
2. TASKS FOR WORK
2.1Open the course NDG Linux Essentials English:
© Astana IT University
2025
1/12

2. 2.3 Do laboratory work 6 and laboratory work 7, laboratory work 8 in the course NDG Linux Essentials English: (make a

2.2 Check the theory Chapter 06 and Chapter 07, Chapter 08 and answer the questions Exam 6, Exam 7, Exam 8. Take a
screenshot of a page with grade, attempt, login name. Like that
2.3 Do laboratory work 6 and laboratory work 7, laboratory work 8 in the course NDG Linux Essentials English: (make a Screenshot )
3.1 Testing commands
$ man man
$ man 7 signal
$ man passwd
$ man 5 passwd
3.2 Learn commands and make examples using the commands:
apropos, help info, whatis, whereis, type.

3.

Symbol
Stands for
~
Home directory
/
Root directory
.
Current directory
..
Parent directory
3.3 Changing working directory to home directory
cd ~
Copy the command above into the terminal and press Enter to run the command.
This will change your current working directory to the home directory .~ Note: (In
our lab environment, your user's home directory is = ).~/home/theia
3.4 Changing working directory to parent
cd ..
This will change your current working directory to the parent of the current working directory.
If your working directory was , then it will become ./home/theia/home
3.5 Changing working directory to root directory
cd /
This will change your current working directory to the root directory ./
3.6 Changing working directory to child
3/12

4.

cd bin
This will change your current working directory to the directory./bin
The directory is called a child of the root directory because it's inside of it.bin/
Changing working directory back to home directory
cd ../home/theia
This will change your current working directory back to your home directory.
Of course, a simpler way to do this would be:
cd ~
3.7. Changing working directory back to project directory
cd ../project
This will change your current working directory back to your project directory.
The project directory is a special empty directory we provide for your work.
3.8 Managing Files and Directories
Create directories and files
- Create a folder project inside your home directory
- Inside project, create a text file notes.txt using touch
Use commands: Copy, move, rename
- Copy notes.txt to backup.txt
- Move backup.txt to parent directory
- Rename notes.txt to info.txt
Delete files and directories
- Delete backup.txt
- Delete the project folder and its contents using rm -r
4/12

5.

3.9. Using mkdir, touch, mv, cp commands, create the following directories and files
4. Read the lecture 2
5. Upload your document to the moodle.
English     Русский Правила