Os Lab SK 02
Os Lab SK 02
Objectives:
• Guarantee proficient, stable, and secure activity of Linux-based frameworks, enhancing
asset utilization and execution.
• Influence Linux's security highlights, including client authorizations, firewalls, and
encryption, while tweaking the framework to meet explicit prerequisites.
• Robotize dull undertakings utilizing shell prearranging, further developing framework
organization and work process effectiveness.
• Utilizing terminal to perform task
• Figure out the orders
Software used:
• Linux Operating System
• Ubuntu
Take 01:
Go to root directory, then to Home then to Documents.
Output:
Take 02:
Create a text file in one directory (e.g. Documents) and move it into another directory (e.g.
Downloads).
Output:
Take 03:
Delete text file from Documents folder.
Output:
Take 04:
Enlist the files present in Downloads folder.
Output:
Take 05:
Make a new folder "Test" in Documents.
Output:
Take 06:
Copy text file from Downloads into Test folder residing in Documents
Output:
Take 07:
Delete Test folder from Documents directory.
Output:
Take 08:
Using cat command, Create three files (test, test1, test2) in the directory of your choice.
Output:
Take 09:
Enter multiple lines text in test file. (Hint: using cat command).
Output:
Take 010:
Enter one line text in testl and test2 files
Output:
Take 011:
Display content of all files at the same time.
Output:
Take 012:
Delete testl and test2 files.
Output:
Take 013:
Copy test file from current directory to some other directory.
Output:
Take 014:
Display message "This is my first Linux Lab". (Hint: using Echo command).
Output:
Conclusion:
These tasks cover essential Linux command-line operations, focusing on directory navigation,
file management, and text handling. Key commands such as cd, touch, mv, cp, and rm help users
navigate the filesystem and manage files. Additionally, commands like ls, cat, and echo are used
for organizing, viewing, and editing files. The exercises provide a strong foundation in both basic
and intermediate Linux operations, enabling efficient system management from the command
line.