Subject:- Linux
There are total 5 conditional statements which can be used in bash programming 1. if statement 2. if-else statement 3. if..elif..else..fi statement (Else If ladder) 4. if..then..else..if..then..fi..fi..(Nested if) 5. case statement
Subject:- Linux
rm command is a command for removing files and directories. It is used to perform following:- To delete single file To delete multiple files To delete files interactively To delete a empty directory To delete a directory with content
Subject:- Linux
mkdir command in Linux allows the user to create directories. rmdir command is used remove empty directories from the filesystem in Linux. cd command in linux known as change directory command. It is used to change current working. You can perform following operation using cd command:- To change your current directory To quickly switch to home directory To quickly switch to previous working directory To switch to root directory To switch to parent directory of current directory
Subject:- Linux
You able to learn various type of process in linux such as foreground and background process, parent and child process, daemons process, Zombie and Orphan process, init Process.
Subject:- Linux
ps command is used to displays information about the active processes running on the system. It also provides a other details of the current state of the system and its processes, including the process ID (PID), process state, parent process ID (PPID), CPU usage, memory usage and so on. I have also discussed how to show information about all processes running on the system, to display a full-format listing of process, to show information about processes associated with a specific user, to display the process associated with command name, to display the output of the ps command by specifying the columns names.
Subject:- Linux
Every process in linux is appeared as tree starts from root(systemd). You can view the process tree with process id, process tree specific to a user. You can also view that who is the owner/user of a process. You can identifid the parent and child process running in linux. pstree command with flags:- pstree -p pstree -u pstree -T
Subject:- Linux
Top command tool is used to monitor the system performance in dynamic view. With help of top command you change the nice value, kill the process, find the CPU usage, Memory usage, find process id and many more.
Subject:- Linux
How to change the nice value or priority of process in linux using nice and renice command. The default nice value assigned to process is 0 and lies between -20 to 19. Here you can learn What is nice value of process, priority of process, how to find process with nice value, how to change the priority of process and how to run process with user defined priority.
Subject:- Linux
Managing the background jobs and foreground process. You can use the jobs command to list the jobs that are currently running or suspended in the background. You can use the fg command to bring a background job to the foreground. You must have job id to bring the background process to the foreground, write a fg command followed by job id. You can use the bg command to return a job to the background. The Control+Z keys suspend the job, and place it in the background as a stopped job. The bg command runs the job in the background.
Subject:- Linux
kill command is used to terminate the process or stop the process. In this video, you will learn differnt types of signals such as SIGCONT, SIGINT, SIGKILL, SIGTERM, SIGSTOP, SIGTSTP signals. You can kill the process either by using Process ID or Process Name. You can learn how to use control keys such as The Control+Z(ctrl+z) key suspend the job, and place it in the background as a stopped job. The Control+C(ctrl+c) terminate or interupt the running process.