You can check if novapasta is a directory using the test command or the ls command in the terminal. Here are two methods:
Method 1: Using test
Run the following command:
test -d novapasta && echo "novapasta is a directory" || echo "novapasta is not a directory"
Method 2: Using ls
You can also use:
ls -ld novapasta
If novapasta is a directory, this command will display its details. If it’s not, you’ll see an error message.
Feel free to ask if you have more questions!
