Horje
LINUX TEST FOLDER EXITS Code Example
LINUX TEST FOLDER EXITS
You can use test -d (see man test).

-d file True if file exists and is a directory.

For example:

test -d "/etc" && echo Exists || echo Does not exist




Shell

Related
telecharger un site avec linux Code Example telecharger un site avec linux Code Example
real user sys time shell Code Example real user sys time shell Code Example
*15856 connect() to unix:/var/run/php/php8.0-fpm.sock failed (11: Resource temporarily unavailable) Code Example *15856 connect() to unix:/var/run/php/php8.0-fpm.sock failed (11: Resource temporarily unavailable) Code Example
bash check if command is available Code Example bash check if command is available Code Example
kali virtualbox guest additions check version Code Example kali virtualbox guest additions check version Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10