by infra xpertzz | Feb 3, 2021 | Shell Scripting
GNU 3.1. Interactive editing What is sed? A Stream Editor (sed) is used to perform basic transformations on text read from a file or a pipe. The result is sent to standard output. The syntax for the sed command has no output file specification, but results can be...
by infra xpertzz | Feb 3, 2021 | Shell Scripting
BASH ENVIRONMENT 2.1. Initialization System-wide configuration files /etc/profile When invoked interactively with the –login option or when invoked as sh, Bash reads the /etc/profile instructions. These usually set the shell variables PATH, USER, MAIL, HOSTNAME...
by infra xpertzz | Jan 31, 2021 | Shell Scripting
BASH SCRIPT BASICS 1.1. Shell programs General shell functions – The UNIX shell program interprets user commands, which are either directly entered by the user, or which can be read from a file called the shell script or shell program. Shell scripts are...