User Tools

Site Tools


bash:quick_reference

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

bash:quick_reference [2015/12/10 13:35]
Daniel Gohlke changed order
bash:quick_reference [2016/12/07 13:22] (current)
Daniel Gohlke changed description
Line 33: Line 33:
 |-lt |Less Than |if [ "$foo" -lt "9" ] | |-lt |Less Than |if [ "$foo" -lt "9" ] |
 |-n |String is not zero length |if [ -n "$foo" ] | |-n |String is not zero length |if [ -n "$foo" ] |
-|-ne |Numeric Inquality |if [ "$foo" -ne "9" ] |+|-ne |Not Equal |if [ "$foo" -ne "9" ] |
 |-nt |Newer Than |if [ "$file1" -nt "$file2" ] | |-nt |Newer Than |if [ "$file1" -nt "$file2" ] |
 |-O |True if file exists and is owned by the effective user id |if [ -O file ] | |-O |True if file exists and is owned by the effective user id |if [ -O file ] |
advertising
bash/quick_reference.1449750950.txt · Last modified: 2015/12/10 13:35 by Daniel Gohlke

Impressum Datenschutz