APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS













February 2008: These tests are all badly in need of update.
Some questions are incorrect because of changing technology and others just make no sense in today's IT world.
I do intend to update these, but it's a big project..

Linux Skills Test

Copyright 2002,2003 A.P. Lawrence

Next
Previous
Return to Start Page

Medium Difficulty

The following shell script will produce an "ls" listing if it is NOT executed with the argument "nope":
#!/bin/sh
[ "$1" = "nope" ] && echo "nope"; exit 1
ls

Answer

My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!


We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.