Useful tips for everyday
Where are rpm files stored CentOS? /var/lib/rpm/ Most files pertaining to RPM are kept in the /var/lib/rpm/ directory. For more information on RPM, refer to…
What is the difference between compile and package? package will compile your code and also package it. For example, if your pom says the project…
What is the use of port no 1080? A SOCKS server accepts incoming client connection on TCP port 1080, as defined in RFC 1928. What…
What is a gigamon device? Gigamon is a privately held network visibility and traffic monitoring technology vendor. The company’s proprietary products can manipulate and route…
Which is the correct way to close a file descriptor? In that aspect, close is a bit like free: it is invalidating the value (file…
What is vi mode in Shell? inputrc to extensively customise how you enter your command lines, including specifying whether you want the default Emacs-like keybindings…
How do I run fsck on next reboot? touch /forcefsck To configure file system check on n number of reboots, run the following: tune2fs -c…
How do you set bandwidth management with limits per IP? Navigate to Manage | Policies | Rules | Access Rules | LAN to WAN. Edit…
Is there a way to boot Windows using GRUB? In case you have indeed installed your MS Windows on a first hard drive and first…
How do you grep a string? The basic grep syntax when searching multiple patterns in a file includes using the grep command followed by strings…