Librenix
Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

Bash: Use the Test Command for multiple aspects

Up
vote
Down

The Bash shell has a builtin test command that can be used to check for multiple aspects in a script. This exercise helps you build a script that checks to see if a file exists and if it does, checks to see if it is writable.
 read more | score:7635 | -aweber, December 4, 2011
More Programming articles...

Abstract Art Prints by Ray Yeargin

coding headlines

Develop your own Raspberry Pi OS

Tutorial: Install SVN, Configure multi-protocol access (Ubuntu 11.10)

Add Video Streaming to C/C++ apps with Nex Gen Media Server API

e-book: Sed One-Liners Explained

Tutorial: Android app build environment with Eclipse, PhoneGap (Ubuntu 11.04)

Debugging Shell Scripts

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

 
Articles are owned by their authors.   © 2000-2012 Ray Yeargin