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 [2024/02/16 00:48] (current)
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 ] |

on the occasion of the current invasion of Russia in Ukraine

Russian Stop this War
bash/quick_reference.txt · Last modified: 2024/02/16 00:48 (external edit)

Impressum Datenschutz