Category: BASH Shell
Given a text file file.txt, transpose its content. You may assume that each row has the same number of columns and each field is separated by the ‘ ‘ …
Under Linux Shell Console, you can create UI dialogs based only on Text Characters. The whiptail allows to create common UI components under Console. The UI are advantageous in …
In Linux BASH shell, you can use curly brace {} to represent a set of possible values in an array. For example, touch abc{1,2,3,4} This will be equivalent to …
If you have a VPS or dedicate server, you can issue the following command to let your server restarts (as root user): sudo shutdown -r now If you issue …
Like figlet, banner, toilet, we have cowsay and cowthink that generates an ASCII picture of a cow saying/thinking something provided by the user. The only difference between these two …