Basic Linux Tutorial
Introduction – What is it? Why to learn? Linux installation directory structures Boot process Run levels in Linux Desktop Environments Different shells BASH Internal and External Commands Basic Linux Commands Important files and directories in Linux Environmental and Shell Variables Command history in Linux Character classes in Linux Text editors vim nano Searching files Creating new files Viewing File Contents File commands File permissions and ownership WildCards (Globbing) in files File compression Directory commands xargs command in Linux Comparing files Searching patterns using grep command Translating the characters using tr command Extracting data using cut command Stream editing using sed command Data extraction and reporting using awk command Sorting the file or string input uniq command in Linux Difference between grep, tr, cut, sed and awk commands Hardware commands Hard disk and memory space commands Working with Processes Managing Jobs Working with cron jobs Service command in Linux Network commands Managing Users and Groups Other Popular commands Standard streams and Redirection Pipes Package Managers in LinuxJobs in linux shell
A job is a conceptual thing in Linux. With Job you can manage your own processes and send them in background and foreground. A job can be sent in background in 2 ways.- using CTRL+z shorcut key. In this case, job is in suspended mode.
- using & at the end of the command in shell. In this case,
- job is in running status in the background
fg %JOB_NUMBER
You can kill the job using below syntax.
kill %JOB_NUMBER
bg command can be used to resume suspended jobs in the background. Main purpose of sending the job to background is that you can work on multiple jobs at the same time and you do not need to wait for the job to finish before starting new one. You can use “disown” command to remove specific job from the list of jobs. “wait” command is used to wait until background jobs have finished. “suspend” command has the same effect as pressing hotkey “ctrl+z”Web development and Automation testing
solutions delivered!!