Home News Using Linux Basename Command in Bash Scripts By Abhishek Prakash Chaturvedi October 23, 2019 The basename command in Linux prints the final component in a file path. This is particularly helpful in bash scripts where you want to extract the file name from the long file path. Complete Story Facebook Twitter Linkedin Email Print Previous articleThe Complete 2019 CompTIA Certification Training Bundle Next articleCloning Disks in Linux using dd & cat commands Must Read Developer How to Set Environment Variables in Linux Developer How To Limit The Number Of SSH Logins Per User, Group, System In Linux Developer How to Install and Secure Tomcat 10 on AlmaLinux Developer 5 Useful Linux Command Line Tools that Everyone Should Use Developer Where Do Files Go When the rm Command Is Issued?