Understand and Use Essential Tools
This post is part of a larger series on RHCSA Access a shell prompt and issue commands with correct syntax Bash The shell is the program which is invoked as part of the login process for a user. Redhat uses bash as its default shell. The default shell can be set per-user in the /etc/passwd file. The exam requires basic familiarity with how to navigate the shell. # Prints working directory pwd # Lists files in a directory ls # Change directory cd <dir> Bash Startup Files A bash shell can either be a login shell or non-login shell. The very first process that’s executed when a user logs in is the login shell, there is only one per login. Any shells spawned after that are children of the login shell and are considered non-login shells. ...