Howto rollover a file when size exceeds using unix find
Using -size and -exec flags of find command, one can easily find when the logfile has grown above the threshold and move it to another name in one shot.
Using -size and -exec flags of find command, one can easily find when the logfile has grown above the threshold and move it to another name in one shot.
Many Unix variants (including latest Solaris 11 Express) use a version of find that first looks for current working directory. And if that current working direc...
Linux provides a utility called runlevel but "who -r" is a portable solution which is available across various Unixes.
While ldd can provide the dynamic library location for a binary, pldd can provide which libraries were really used (both for a running process and also for the ...
Selecting interface, capturing full data, writing to a file etc. are some of the most often used Packet capture flags.
CPU information can be retrieved via /usr/sbin/psrinfo on SunOS while it is available in /proc/cpuinfo on Linux and use hinv on IRIX. Other unix commands like g...
Using find and test commands you can search for the dangling or broken soft links on a Unix system.
Output redirections using pipes can be used to combine multiple crontab commands to install new cron job or to modify or delete old cron jobs without using any ...