Professional Documents
Culture Documents
In Linux Os Shell is a special program that accepts instructions or commands in English, if its a valid command and pass it to kernel. Shell is a command language interpreter that executes commands read from the standard input device(keyboard) or from a file. Shell is not a part of system kernel but uses the system kernel to execute the programs, create files etc. To find the our current shell following command is used:#echo $ shell
Linux/Unix Shells
Shell script defined as: "Shell Script is series of command written in plain text file. Shell script is just like batch file is MS-DOS but have more power than the MSDOS batch file."
Variable
A variable is the label that has a value which will be used to configure the shell. # set / less # set / env
Permissions are defined for three types of users:1. The owner of the file 2. The group that the owner belongs to 3. Other users Thus linux file permissions are nine bits of information (3types by 3types of users), each of them may have just one or two values: allowed or denied.
Symbol in the position 0 - is the type of file.It is d if the item is a directory and l if the item is a link. Symbols in the position 1 to 3 rwx are permissions for the owner of the file. Symbols in the position 4 to 6 r-- are permissions for the group. Symbols in the position 7 to 9 r-- are permissions for the others.
the system would uncompress (untar) the myfile.tar file in the current directory.