Posts

Showing posts from August, 2021

Common questions

 1.Difference betweeb dpkg and apt/apt-get apt-get handles lists of packages available to the system. It also handles package dependecy resolution, so that when installing a package, all the other packages required by it get installed too. It also handles package download from package repositories. dpkg is the low level tool that actually installs package contents to the system. more in here 2.Difference between apt update and apt upgrade and why we use them more info here

Bash Scripting

Image
 Bash Scriping: Entire course:  here Types of shells in linux -> here Use of she-bang -> here echo and escape characters -> here Array basics -> here  and here loops == for ->  here  while -> here functions in bash -> here IFS -> here Grep -> here Awk -> here  loops in awqk -> here  condtional statements-> here grep vs sed vs awk -> here shell parameter expansion -> here printf -> here AWK series by tecmint: part1 part2 part3 part4 part5 part6 part7 part8 part9 part10 part11 part12 part13 all search techniques Important points: 1.By default, read interprets the backslash as an escape character, which sometimes may cause unexpected behavior. To disable backslash escaping, invoke the command with the -r option. Below is an example showing how read works when invoked with and without the -r option: 2.echo by itself displays a line of text. It will take any thing within the following "..." two quotation marks, l...