0% found this document useful (0 votes)
9 views

Bootcamp

This document outlines the topics and tasks covered in a Linux bootcamp including basics and advanced concepts. The bootcamp is divided into two parts: Linux Basics covering topics like commands, directories, files, users; and Linux Advanced covering networking, redirection, administration. It also includes two practice sets with tasks on files, permissions, networking, redirection, regex, administration to help participants apply and strengthen their skills.

Uploaded by

kartik20csu340
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

Bootcamp

This document outlines the topics and tasks covered in a Linux bootcamp including basics and advanced concepts. The bootcamp is divided into two parts: Linux Basics covering topics like commands, directories, files, users; and Linux Advanced covering networking, redirection, administration. It also includes two practice sets with tasks on files, permissions, networking, redirection, regex, administration to help participants apply and strengthen their skills.

Uploaded by

kartik20csu340
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Bootcamp for

LINUX
(Basic+Advance)

2
0
2
4
Table of
Content

Linux Basics

Linux Advance

Practice Set-1

Practice Set-2
Linux
Basics
( 1 week )
Linux Introduction (about, History, Features, Distributions)
Linux Directories- commands
pwd cd ls
path mkdir rmdir
Linux Files- commands
file touch rm
cp mv rename
Linux File Contents- Commands
head cat more
tail tac less
Linux File Hierarchy
Binary Directories Data Directories Usr Directory
Configuration Directories Memory Directories var Directory
Non-standard directories
Linux Filter- Commands
cut comm uniq
grep tr sort
gzip
Linux Users
Introduction To Users Linux User Management Local Groups
Local su Commands User Password
Linux File Security
Linux File OwnerShip Linux Advance Permission Linux File Links
Linux Permission
Vi Editor with Commands
Linux
Advance
( 1 week )

Linux Networking- commands


Linux Redirection
Input Redirection Output Redirection Error Redirection
Linux System Admin
Linux uptime Linux service Linux terminating
wget ftp or sftp free
top last ps
shutdown env init
info du nano editer
shred mount route
Linux Regex
Grep RegEx rename RegEx Sed RegEx
Linux Shell Commands
Aliases Arguments Displaying Shell
Control Operators File Globbing Shell History
Shell Embedding History Commands History Size
Bang Bang
100+ Linux Commands
Linux (set 1 & 2 - 1 week )

Practice Set-1
Task 1: File and Directory Basics

Navigate to your home directory.


Create a new directory named "LinuxExercise."
Enter the "LinuxExercise" directory.
Inside the "LinuxExercise" directory, create an empty file named "example.txt."
List the contents of the "LinuxExercise" directory.

Task 2: File Operations

Create a copy of "example.txt" and name it "example_copy.txt."


Move "example_copy.txt" to the parent directory.
List the contents of the current and parent directories.
Remove "example.txt."
Create a new directory named "Data" inside "LinuxExercise."

Task 3: Viewing and Editing Files

View the contents of "example.txt."


Open "example.txt" using a text editor.
Add a few lines of text.
Save and close the editor.
Display the first few lines of "example.txt."
Display the last few lines of "example.txt."

Task 4: File Security and Permissions

Change the ownership of the "Data" directory to your user.


Change the group ownership of "Data" to a new group.
Grant read, write, and execute permissions to the owner of "Data."
Create a new file named "secure_file.txt" inside "Data."
Check the detailed permissions of the files and directories.

Task 5: User Management

Check information about active users.


Change your password.
Execute a command with elevated privileges using sudo.
Create a new user named "TestUser."
Add "TestUser" to the group that owns the "Data" directory.
LINUX
Practice Set-2
Task 1: Networking

Use a command to identify and display information about the available network interfaces and their
configurations.
Use a command to download a file from the internet. Explore different options to customize the download
process.
Determine the uptime of the system using a command. Understand the output and interpret the system's
online duration.
Investigate the network connections on the system using a command like netstat or an alternative.
Utilize a command like top to monitor system resource usage in real-time. Identify the processes consuming
the most resources.

Task 2: Redirection and Shell Commands

Redirect the output of a command (e.g., ls) to a file named "file_list.txt." Use input redirection to display its
contents.
Set up an alias for a commonly used command to save time and keystrokes. Test the alias to ensure it works
as expected.
Explore control operators by chaining multiple commands together. Create a command sequence that
performs a useful action.
Use shell embedding to execute the output of one command as an argument for another. Achieve a
meaningful result using this technique.

Task 3: Regex and File Manipulation

Search for specific lines in a file using grep with a regular expression. Experiment with different patterns.
Use sed to replace a pattern in a text file. Understand the syntax and apply it to modify the file content.
Rename files in the current directory using a regular expression. Exercise caution and ensure the renaming
process works as intended.
Demonstrate file globbing to list files based on a pattern. Test different patterns and observe the results.

Task 4: System Administration

Use a command like uname to display information about the system. Identify the system name, version, and
architecture.
Display the available disk space using a command like df. Identify the filesystems and their utilization.
Use ps to view the current process status. Identify processes running on the system.
Display the system log file (/var/log/syslog or an alternative) using cat. Identify any recent system events.
Use w to check the system's load average. Understand the load average values and their significance.

Task 5: Miscellaneous Commands

Mount a temporary filesystem and then unmount it. Understand the concept of mounting and unmounting
in Linux.
Intentionally generate an error and redirect the error message to a file. Explore how error redirection works.
Create a simple text file using the nano editor. Explore basic editing functionalities.
View and manipulate the shell's history. Use commands like history to recall and execute previously used
commands.
Use the last command to display information about user logins. Identify users who recently logged in.

You might also like