Linux: Check if a file or directory exists.
More often than you will need to verify in your scripts whether a file or directory exists or not. To do this, you can use the test…
cat linux-check-if-a-file-or-directory-exists.md →# Linux, Devops, Scripting, Cats and various things come to my mind
// also on this box: ./practice, ./tools and ./games
More often than you will need to verify in your scripts whether a file or directory exists or not. To do this, you can use the test…
cat linux-check-if-a-file-or-directory-exists.md →A REST API (also known as RESTful API) is an application programming interface (API or web API) that conforms to the constraints of REST…
cat create-rest-apis-with-fastapi.md →Do you want a quick, dirty, and unsafe way to execute commands to your Linux box over HTTP? You can use the following hack! I don't…
cat linux-create-a-one-line-web-server-in-bash-that-will-execute-shell-commands.md →I work in an environment where the email servers are behind an SSH gateway, and sending emails through them is a pain since we need to do…
cat linux-how-to-port-forward-only-while-a-process-uses-a-port.md →Note that I am not an HR person; I work in the IT industry, and my experience with interviews where on side of the candidate, but I believe…
cat simple-and-honest-answers-to-difficult-interview-questions-for-it-and-not-only-people.md →Find command is one of the most valuable commands; it can find files and directories based on many criteria like age, size, and name. Let’s…
cat linux-find-command-most-used-cases.md →King Solomon was famous for being wise when he had to deal with the problems of others but performed poorly with his problems; This…
cat solomons-paradox-what-is-and-how-to-reverse-it.md →csv is the most common file format that you will use when you deal with data; all major spreadsheets like Excel or Libre Office Calc…
cat csvkit-query-csv-files-using-sql-from-the-command-line.md →Assume you have two directories that needs to be constantly synced, not just every one minute by using a cronjob but as soon as possible…
cat linux-constantly-rsync-two-directories.md →Assume that you have a lot of RAM that you don't need but your storage devices are quite slow. At the same time, you have a program that…
cat linux-create-a-ram-disk-to-speed-up-your-i-o-file-operations.md →