groups – print the groups a user is in

commandline session $groups jeffrin tty dialout audio www-data mysql wireshark $groups –version | grep David Written by David MacKenzie and James Youngman. $ $groups jeffrin jeffrin : jeffrin tty dialout audio www-data wireshark mysql $groups user groups: user: no such user $groups mysql mysql : mysql $groups wireshark groups: wireshark: no such user $groups www-data …

What is gcov which comes with GCC ?

ABOUT gcov Gcov is a source code coverage analysis and statement-by-statement profiling tool. Gcov generates exact counts of the number of times each statement in a program is executed and annotates source code to add instrumentation. Gcov comes as a standard utility with the GNU Compiler Collection (GCC) suite.[1] The gcov utility gives information on …

GET THE HANG . Update generated configuration files using autoreconf command

$autoreconf -v -i autoreconf: Entering directory `.’ autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I m4 autoreconf: configure.ac: tracing autoreconf: configure.ac: adding subdirectory c++-impl to autoreconf autoreconf: Entering directory `c++-impl’ autoreconf: running: aclocal autoreconf: configure.ac: adding subdirectory stl to autoreconf autoreconf: Entering directory `stl’ autoreconf: running: libtoolize –copy libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4′. …

boot sequence organizer using LSB init.d script dependency information

[bash] root>insserv -v insserv: creating .depend.boot insserv: creating .depend.start insserv: creating .depend.stop root>insserv /etc/ini init/ init.d/ initramfs-tools/ inittab root>insserv -v /etc/init.d/gpm insserv: creating .depend.boot insserv: creating .depend.start insserv: creating .depend.stop root>insserv -s K:02:0 1 6:network-manager K:08:0 6:umountfs K:05:0 6:umountnfs.sh K:03:0 6:sendsigs K:04:0 1 6:rsyslog K:01:0 1 6:minissdpd K:01:0 1 6:portmap K:07:0 6:networking K:01:0 1 6:wicd …

Travel through a wonderful command named hexdump PART 1

ABOUT In computing, a hex dump is a hexadecimal view (on screen or paper) of computer data, from RAM or from a file or storage device. Looking at a hex dump of data is commonly done as a part of debugging, or of reverse engineering. In a hex dump, each byte (8-bits) is represented as …

head – output the first part of files

commandline session $cat bash.txt hack hacker $head bash.txt hack hacker $head -n 1 bash.txt hack $head -n 2 bash.txt hack hacker $head -n 3 bash.txt hack hacker $head -v -n 1 bash.txt ==> bash.txt bash.txt <== hack hacker $ http://www.gnu.org/software/coreutils/manual/html_node/head-invocation.html $ head -n 1 qsort.c #include $ head -n 2 qsort.c #include $ head -n …

hung_task_timeout_secs( topic related to linux kernel hangup )

ABOUT hung_task_timeout_secs if a task(process) is hung then hung_task_timeout_secs value decides if the hung task needs no reboot or reboot after n seconds LINUX KERNEL RELATED PARAMETER$cat /proc/sys/kernel/hung_task_timeout_secs120$ $echo 0 | sudo tee –append /proc/sys/kernel/ hung_task_timeout_secs0$sudo cat /proc/sys/kernel/hung_task_timeout_secs0$ When a task in D state did not get scheduled for more thanthis value report a warning.This …

GET THE HANG bundle install

$sudo bundle install Fetching gem metadata from https://rubygems.org/…….. Fetching gem metadata from https://rubygems.org/.. Resolving dependencies… Using rake (0.9.2.2) Installing RedCloth (4.2.9) Installing chunky_png (1.2.5) Installing fast-stemmer (1.0.1) Installing classifier (1.3.3) Installing fssm (0.2.9) Installing sass (3.2.9) Installing compass (0.12.2) Installing directory_watcher (1.4.1) Installing haml (3.1.7) Installing kramdown (0.13.8) Installing liquid (2.3.0) Installing syntax (1.0.0) Installing …