Showing posts with label c shell. Show all posts
Showing posts with label c shell. Show all posts

Thursday, May 22, 2014

Basic types of Unix shell






If that's not the case, next time you got a command that you're not sure
about (from a script for example), paste it to explainshell.com. It may
be quicker to learn shell this way.




Ref: http://unixhelp.ed.ac.uk/shell/oview2.html

Friday, April 4, 2014

C shell basic







The C Shell recognizes the following operators, in order of precedence.

     ()       - parenthesis - change order of evaluation
     -        - unary minus/negation
     ~        - one's complement
     !        - logical negation
     %        - remainder
     /        - divide
     *        - multiply
     -        - subtract
     +        - addition
     >>       - shift right
     <<       - shift left
     >        - greater than
     <        - less than
     >=       - greater than or equal
     <=       - less than or equal
     !=       - not equal to (strings)
     ==       - equal to (strings)
     &        - bitwise AND 
     ^        - bitwise exclusive OR
     |        - bitwise inclusive OR
     &&       - logical AND
     ||       - logical OR

Ref: 1 2



Labels