Linux FAQ's & Manuals
- Linux Scripts
- Debian Install
- Bash For Beginners
- Bugzilla
- Consultants Guide
- GCC Manual
- Linux Command Line Tools
- Gnu Pascal Coding Standards
- Linux Installation Disk
- Labolatorium Linux(PL)
- Budowa systemu Linux(PL)
- Linux Dictionary
- Network Administrators
- Rescue Disk for Linux
- Red Hat Installation
- Red Hat Customization
- Red Hat Getting Started
- Red Hat Security
- Secure & Optimize
- Slackware Manual
- Suse Support
- Suse FAQ
LinuxPlanet: New Linux Security Products Glimmer On Horizon
Beyond displaying an extensive slate of existing Linux products, vendors at this week's InfoSecurity show pointed to possible future offerings...
Computerworld Australia: Notes Jumps on SUSE Linux, Hurdles Remain
Despite all the announcements IBM made about its intention to port the Lotus Notes client to Linux in recent years, the release for Novell's SuSE Linux Enterprise Desktop (SLED) 10 this month passed with surprisingly little fanfare...
Linux.com: Review: Ubuntu Edgy is Nice, But Not So Edgy
After working with beta and release candidates over the last few weeks, I've found it to be a solid and usable upgrade for Dapper--but not a particularly cutting-edge release...
CNET News: Sun Names Likely License for Open-Source Java
Sun Microsystems likely will use the Community Development and Distribution License to govern the forthcoming open-source Java software project, CEO Jonathan Schwartz said Wednesday...
Computer Business Review: Will Oracle Buy Red Hat?
Linux vendor Red Hat Inc saw over $1bn wiped from its market capitalization in early trading after Oracle Corp announced that it was going to offer a Red Hat Enterprise Linux clone, leaving the company open to a potential takeover bid...
Beyond displaying an extensive slate of existing Linux products, vendors at this week's InfoSecurity show pointed to possible future offerings...
Computerworld Australia: Notes Jumps on SUSE Linux, Hurdles Remain
Despite all the announcements IBM made about its intention to port the Lotus Notes client to Linux in recent years, the release for Novell's SuSE Linux Enterprise Desktop (SLED) 10 this month passed with surprisingly little fanfare...
Linux.com: Review: Ubuntu Edgy is Nice, But Not So Edgy
After working with beta and release candidates over the last few weeks, I've found it to be a solid and usable upgrade for Dapper--but not a particularly cutting-edge release...
CNET News: Sun Names Likely License for Open-Source Java
Sun Microsystems likely will use the Community Development and Distribution License to govern the forthcoming open-source Java software project, CEO Jonathan Schwartz said Wednesday...
Computer Business Review: Will Oracle Buy Red Hat?
Linux vendor Red Hat Inc saw over $1bn wiped from its market capitalization in early trading after Oracle Corp announced that it was going to offer a Red Hat Enterprise Linux clone, leaving the company open to a potential takeover bid...
chapter 7. conditional statements
- table of contents
- 7.1. introduction to if
- 7.1.1. general
- 7.1.2. simple applications of if
- 7.2. more advanced if usage
- 7.2.1. if/then/else constructs
- 7.2.2. if/then/elif/else constructs
- 7.2.3. nested if statements
- 7.2.4. boolean operations
- 7.2.5. using the exit statement and if
- 7.3. using case statements
- 7.3.1. simplified conditions
- 7.3.2. initscript example
- 7.4. summary
- 7.5. exercises
in this chapter we will discuss the use of conditionals in bash scripts. this includes the following topics:
the if statement
using the exit status of a command
comparing and testing input and files
if/then/else constructs
if/then/elif/else constructs
using and testing the positional parameters
nested if statements
boolean expressions
using case statements