Remove duplicate lines from a text file
Jun 4,93The uniq command is used to remove duplicate lines from a text file in Linux. By default, this command discards all …
Read MoreShow the full path of shell commands
Jun 4,93The which command shows the full path of shell commands in Linux. This command searches only paths set in the …
Read Moreuntil loop
Jun 3,93The until loop executes the commands between the do and done statements as long as the tested condition is false. …
Read Morewhile loop
Jun 3,93The while loop executes the commands between the do and done statements as long as the tested condition is true. …
Read Morefor loop
Jun 3,93Loops are used to perform actions over and over again until a condition is met (or until a condition is …
Read Morecase statement
Jun 3,93The case statement is often used when more than two outcomes are possible. Here is the syntax: case $VARIABLE in …
Read More