[linux test command] Check the existence of the directory. Used to see if there are too many directories to specify

https://orebibou.com/2016/07/linuxunixでファイル・ディレクトリの存在確認をする/

test -f File PATH#File existence check
test -d directory PATH#Directory existence confirmation

Recommended Posts

[linux test command] Check the existence of the directory. Used to see if there are too many directories to specify
I used the worldcup command to check the outcome of the World Cup.
Since there are many earthquakes, get the history of earthquakes
Check the memory status of the server with the Linux free command
Check the operating status of the server with the Linux top command
Commands and files to check the version of CentOS Linux
[Linux] I tried to summarize the command of resource confirmation system
How to output the output result of the Linux man command to a file
A command to easily check the speed of the network on the console