I'm having trouble with a couple questions from my lab for linux and was wondering if you guys could help...Also any good websites that you guys reccomend for linux. This is an online class and the book is not the greatest.
[FONT="]1. How would you write a test that says if /tmp/foo is a directory or USERS is greater than 5?
[/FONT]2. What does this shell script do? FOO=/tmp/foo if [ ! d $FOO ]; then mkdir $FOO fi
3. How would you write a test that says if /tmp/foo is a directory or USERS is greater than 5?
[FONT="]1. How would you write a test that says if /tmp/foo is a directory or USERS is greater than 5?
[/FONT]2. What does this shell script do? FOO=/tmp/foo if [ ! d $FOO ]; then mkdir $FOO fi
3. How would you write a test that says if /tmp/foo is a directory or USERS is greater than 5?