Difference between revisions of "Script Course"

From rbachwiki
Jump to navigation Jump to search
Line 6: Line 6:
Example
Example
  [ -e /etc/passwd ]
  [ -e /etc/passwd ]
-e True if file exists




=[[Bash| Bash menu]]-[[Main_Page| Home]]=
=[[Bash| Bash menu]]-[[Main_Page| Home]]=

Revision as of 16:05, 11 March 2019

Tests

Escape Sequence
Test Statements

Syntax

[condition to test for]

Example

[ -e /etc/passwd ]
-e True if file exists


Bash menu- Home