Sting project on git sourcetree1/1/2024 ![]() Linux Secure Shell (SSH) I : key generation, private key and public key.Managing User Account - useradd, usermod, and userdel.Linux shell programming : if/elif/else/fi.Linux shell programming : loop control - for, while, break, and break n.Linux shell programming : input/output redirection & here document.Linux shell programming : metacharacters & quotes.Linux shell programming : variables & commands substitution.Linux shell programming : arrays - three different ways of declaring arrays & looping with Linux shell programming : operations on array.Linux shell programming - special shell variables.Linux shell programming - variables and functions (readonly, unset, and functions).Linux - 7 File types : Regular, Directory, Block file, Character device file, Pipe file, Symbolic link file, and Socket file.Linux - sed III (selective printing of certain lines, selective definition of certain lines).Linux - sed II (file spacing, numbering, text conversion and substitution).Linux - sed I (substitution: sed 's///', sed -i).Linux Tips 2 - ctrl a, curl r, tail -f, umask.Note: $# is the count of the arguments passed to the script. Here is an example of the "case" statement that kill a "sleep" process by sending signals and it's PID. For instance SIGKILL or signal number 9 tells the program that someone tries to kill it, and SIGHUP used to signal that a terminal hangup has occurred, and it has a value of 1. Signals don't carry any argument and their names are mostly self explanatory. Each signal identified by a number, from 1 to 31. Linux kernel implements about 30 signals. True if the file exists (note that this is not particularly portable, thus -f is generally used) Returns true if expr1 is less than or equal to expr2 Returns true if expr1 is greater than or equal to expr2 Returns true if expr1 is greater than expr2 ![]() Returns true if the expressions are not equal Returns true if the expressions are equal Returns true if the strings are not equal ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |