Linux Shell Scripting
permissions
file
g - Group file owner
o - User classified as
other
a - All other system user
- Remove permission
w - Write permission
x - Execute permission
u+x,g+wx,o+x myscript
permission for file called
'myscript' as User (Person
who creates that file or
directory) has execute
permission (u+x) Group of
file owner can write to this
file as well as execute this
file (g+wx) Others can
only execute file but can
not modify it, Since we
have not given w (write
permission) to them. (o+x).
currently login person
(i..e. yourself)
characters of given file
that match a pattern.
order
-r Reverse normal order
-n Sort in numeric order
-nr Sort in reverse
numeric order