The Standard Output and Standard Error of a command may be redirected to a file ( ls –l /Users > usersfile 2> errorfile).The Standard Output of one command may be sent to the Standard Input of another command using a pipe ( | ) symbol ( ps aux | less).Commands may be chained using semicolons ( date who).The help command displays BASH function help ( help echo). Ctrl C cancels a command by sending a SIGINT kill signal to the foreground process.The ~ metacharacter represents the user’s home directories.Single quotes protect all special shell characters, double quotes protect most shell characters (variables are one exception), backquotes perform command substitution ( echo The date is `date`) and backslash protects the next character ( echo You owe \$4.50).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |