Sticky bit is a
bit set in permission of a file or directory to give special access –rights to
user. When we set the sticky bit for any
executable file, it will remain in swap space after the process exited. It
will help to reduce time of execution in repeatedly used programs. So, we can
set this sticky bit for frequently used programs like editors, commands etc.
So, execution of them will be faster as compared to without sticky bit.
Main important use of sticky
bit is on directory, when we set sticky bit for directory then files reside
in...
Wednesday, October 23, 2013
Sticky bit concept and implementation Check CPU usage of file system
SetUID:
SetUID is a set User
ID upon execution. We can identify SetUID bit is set or not in permissions
of file by long listing the details of file as below.
[linuxconcepts@localhost
test]$ cat > setuid.sh
#!/bin/sh
echo "SET
USER ID BIT";
date
[linuxconcepts@localhost
test]$
[linuxconcepts@localhost
test]$ ls -l setuid.sh
-rw-rw-r--....
Tuesday, September 17, 2013
Tuesday, August 6, 2013
Advanced use of sed command useful tricks of sed command
UNIX is an open source operating system. It is a multiuser,
multitasking operating system and developed in 1969 at AT & T’s laboratory.
First, it was developed in assembly language but later it was recoded in ‘C’
language when this language developed by Dennis Ritchie. Actually, Unix is not
an operating...
Wednesday, July 31, 2013
Interview Questions for Linux Administrator Linux Commands & Tools
There are many devices or mount points mounted on system.
But sometimes, we need to mount these mount points by unique ID. This case
generally happens in network because in same network, might have same name
mount points on different disks. To avoid this conflict, we will mount the
mount points by their block...
Tuesday, July 30, 2013
Monday, July 29, 2013
Check CPU usage in Linux Interview Questions for Linux Administrator
There are many commands which needed to know beginner of Unix
OS. But it is not possible to understand all commands in one day. If you really
new to Linux then please go through this article and understand the most used
commands in Linux.
If you are new to Linux then, you will need to know, how to
create directory, how to...
Subscribe to:
Posts (Atom)