How to Check if File or Directory Exists in Bash Shell

Posted by abhishekpc on Sep 16, 2019 10:27 AM EDT
Linux Handbook; By Abhishek Prakash Chaturvedi
Mail this story
Print this story

If you are working on a Bash script that interacts with files and directories, you might encounter a situation where you need to make sure that the file or directory exists. This tutorial teaches you how to do that.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.