Tag: linux

watch – execute a program periodically

commandline session following commandline session may not be accurate. $vmstat procs ———–memory———- —swap– —–io—- -system– —-cpu—- r b swpd free buff cache si so bi bo in cs us sy id wa 1 0 0 2246368 32720 497284 0 0 217 10 236 436 3 1 92 3 $watch vmstat $watch -n 0.5 vmstat $watch …

Read More

GNU/Linux Commands for Beginners : alias

this tutorial content may not be accurate

Read More

GNU/Linux Terminal – File Permissions! (Chmod, Chown and Chgrp)

this tutorial content may not be accurate

Read More

file — determine file type

commandline session $ls faq favicon.ico index.html kernel.css mirrors pub robots.txt $file kernel.css kernel.css: ASCII text $file -l | head Set 0: Binary patterns: Text patterns: Set 1: Binary patterns: Text patterns: Set 0: Binary patterns: Strength = 340 : sc68 Atari ST music [] Strength = 340 : T64 tape Image [] $file -l | …

Read More

readelf – Displays information about ELF files

commandline session $readelf -I /bin/ping Histogram for `.gnu.hash’ bucket list length (total of 3 buckets): Length Number % of total Coverage 0 0 ( 0.0%) 1 0 ( 0.0%) 0.0% 2 0 ( 0.0%) 0.0% 3 3 (100.0%) 100.0% $readelf -a /bin/ping | head ELF Header: Magic: 7f 45 4c 46 02 01 01 00 …

Read More

hal-device command

output part from “apt-cache show hal” Description: Hardware Abstraction Layer HAL provides an abstract view on hardware. . This abstraction layer is simply an interface that makes it possible to add support for new devices and new ways of connecting devices to the computer, without modifying every application that uses the device. It maintains a …

Read More

_IO_putc binary standard

_IO_putc(‘n’, 0x7f90f99127a0) = 10 _IO_putc — alias for putc a snapshot from the binary file ping. @_IO_putc^@strncmp^ http://refspecs.linuxfoundation.org/LSB_1.2.0/gLSB/baselib–io-putc-3.html commandline session $objdump -s /bin/ping | grep putc $objdump -s /bin/ping | grep putc 400b88 6974005f 494f5f70 75746300 7374726e it._IO_putc.strn 400bf8 5f666169 6c007075 74636861 72006162 _fail.putchar.ab 400cb8 00667075 74630073 7472746f 756c0073 .fputc.strtoul.s $objdump -s /bin/ping | grep …

Read More