Useful tips for everyday
What is a Posix lock? POSIX defines a file-locking standard that allows the ability to lock arbitrary byte ranges in a file for read or…
How do I redirect print output to a text file in Python? How to redirect print output to a file in Python a_file = open(“sample.txt”,…
What is file System magic number? ANSWER: A magic number is a numeric or string constant that indicates the file type. This number is in…
What does function call exec () results in? A call to any exec function from a process with more than one thread results in all…
How do I enable all permissions? How to turn permissions on or off On your Android device, open the Settings app . Tap Apps &…
How do you check which scripts are running? ps -ef will show you list of the currently running processes. Last field is the process name…
How does cp preserve permissions? Preserve File Permissions Using cp You can use the -p option of cp to preserve the mode, ownership, and timestamps…
Do you need to expand volume group for LVM resize? Note: If you do not have any or enough free space in the volume group,…
What is file integrity in Linux? File integrity monitoring (FIM) refers to an IT security process and technology that tests and checks operating system (OS),…
How do I change timezone in CentOS 6? Procedure Backup current TimeZone in /root directory. cp /etc/localtime /root/timezone.old. Create Symbolic Link to your desired TimeZone.…