by lifeLinux on May 14, 2011
The lsof command or “list open files” command in Linux is a powerful tool. In Linux and Unix everything behind the scenes are just files. This includes IP sockets, pipes, unix sockets, directories, devices, even inodes are just files. This means that lsof can actually tell you a lot of information of what is going […]
by lifeLinux on May 13, 2011
Find files larger than a certain size This example finds all the files under /root directory which are larger than 50k [root@lifelinux ~]# find /root -size +50k Sample output /root/ioncube/ioncube_loader_lin_5.3_ts.so /root/ioncube/ioncube_loader_lin_4.1.so /root/ioncube/ioncube_loader_lin_5.1.so /root/ioncube/ioncube_loader_lin_4.2.so …
by lifeLinux on March 27, 2011
What are the SUID, SGID and the Sticky Bits? Sticky Bit Lets start with Sticky bit first. Since this is the most simplest to explain. Setting the sticky bit tells Unix that once the concerned application is executed, it should remain in memory. Remember that Unix is a multi-user OS and was mainly designed so […]