2 Days Industry Relevant Linux Training Program by Vimal Daga
Key Concepts of the training are -
Unit Files in Linux.
Application of Terminal Multiplexer (tmux command).
Application of netcat command.
Configure and Launch RHEL8 EC2 instance on AWS cloud and implementation of SSH protocol using PuTTY.
High-level knowledge of PID (process ID) and how to troubleshoot any process.
Creation of service file.
Learnt About Scope.
Learn how to limit the cpu, memory (ram) and cpu core for httpd using httpd.service file.
how to work os
how to work kernel
what is process/task
loginctl
control group
i/o operation
session-1.scope
slice command
sys ,free -m ,ps -aux command
kill ,last,lastb,lastlog etc
sudo loginctl kill-session 7 — siganal=SIGSTOP
#what is difference between ctrl+z and ctrl+c
Ctrl+U. This shortcut erases everything from the current cursor position to the beginning of the line.
Ctrl+R: Recall the last command matching the characters you provide. Ctrl+O: Run a command you found with Ctrl+r
journalctl command in Linux is used to view systemd, kernal and journal logs
tlog command=>Tlog is a terminal I/O logging and playback package
#tlog-play — file-path=my.log → play automatically commnad
what is tmux How do I use tmux? ctrl+b => multiple session one screen , how to work kill ,attach session etc..
what is top command
what is Networkmanger
#vim vi emacs command
context switching concept
# Pids concepts
#Daemon-reload command
#starce ,ping comand
what is netcat => is a command-line utility that reads and writes data across network connections(yum install nc) n
server side=> nc -l 1234 — keep-open
client side=>nc ip port
tr comamnd (short for translate) => #date | ‘ a-z’ ‘ AZ’
what is socat comamnd =>Socat is a command line based utility that establishes two bidirectional byte streams and transfers data between them.(yum install socat)
#tail, arch, auditctl, ausearch,man, $ system to run any command
Day-2
🔅introduction of compiler, binary code ,procesor, run-time, ram ,kernel ,pid( processorID
The grep command can search for a string in groups of Dmidecode command(Dmidecode is a tool or command which is used to retrieve the useful information of your system’s hardware components in human readable format)
# sleep ,pidof command & proc Memory Leakage concept,stack memory ,heap memory & malloc Valgrind for memory leakage check, memcheck tool(yum install valgrind)
#chmod s+u (it is a very powerful command)
The chmod command is also capable of changing the additional permissions or special modes of a file or directory.
# How to install GCC the C compiler on RHEL 8 /ec2 machine
#introduction of systemctl,slice,systemd coreutils explain in very details systemd command
#locate *.jpg -> serach overall jpg data
#locate -n 2 *jpg =>only find 2 jgp How to limit the cpu, memory (ram) and cpu core for httpd using httpd.service dd is a command-line utility for Unix and Unix-like operating systems whose primary purpose is to convert and copy files.
To backup the entire harddisk => dd if = /dev/sda of = /dev/sdb
To create an image of a Hard Disk=>dd if=/dev/hda1 of=~/partition.img
# Httpd web server concepts
#Sudo bash -c “command” nproc is a simple Unix command which is used to print the number of processing units available in the system or to the current processvmstat ,chrt , mpstat ,sar,The pmlogger tool provides flexibility and control over the logged Cockpit is a server administration tool sponsored by Red Hat
The iostat command is used to monitor system input/output (I/O) devices (physical and logical) that are loaded,
tcpdump command =>tcpdump is a packet sniffing and packet analyzing tool for a System Administrator to troubleshoot connectivity issues in Linux