This post covers various interview questions for DevOps engineers related to BASH and Linux, including types of variables used in shell scripting, checking if a file exists, default file permissions, CRONTAB, debugging shell scripts, disk usage, shebang line, Linux process stages, metacharacters, renaming files, reading command line arguments, standard streams in Linux, differentiating between two shell variables, checking file existence, extracting part of a string variable, differences in string matching, SSH authentication, special shell variable $?, using grep to find numeric digits, listing file names only, checking if a zip file contains a directory, and when to use curly braces around shell variables.

6m read timeFrom okpreetam.medium.com
Post cover image
Table of contents
Tips for using the Linux test commandSSH Authentication Refused: Bad Ownership or Modes for DirectoryHow to return exit status codes in BashWhen do we need curly braces around shell variables?All about {Curly Braces} in Bash - Linux.com
4 Comments

Sort: