commandline session $ 4.2.20 2 84—> dd if=/dev/pts of=stdout dd: reading `/dev/pts’: Is a directory 0+0 records in 0+0 records out 0 bytes (0 B) copied, 0.001431 s, 0.0 kB/s $ 4.2.20 3 85—> dd if=/dev/sda sda sda1 sda2 sda5 $ 4.2.20 3 85—> dd if=/dev/sda1 of=/dev/sda sda sda1 sda2 sda5 $ 4.2.20 3 85—> …
Author Archives: jeffrin
dpkg commandline
commandline session $ 4.2.20 7 25—> dpkg –status cam Package `cam’ is not installed and no info is available. Use dpkg –info (= dpkg-deb –info) to examine archive files, and dpkg –contents (= dpkg-deb –contents) to list their contents. $ 4.2.20 8 26—> dpkg –status ftp Package: ftp Status: install ok installed Priority: standard Section: …
PS1 customizing prompt.
commandline session jeffrin@debian:~$ PS1=” $ s # ” $ bash 2 PS1=” $ V # ” $ 4.2.20 3 PS1=” $ V # ! ” $ 4.2.20 4 341 PS1=”[ 33[0;41m]$[ 33[0m] ” $ $ ARCH bash: ARCH: command not found $ arch x86_64 $ PS1=”[ 33[0;41m]$[ 33[0m] ” $ PS1=” $ V # ! …
exit
commandline session $echo $SHELL /bin/bash $ksh $echo $SHELL /bin/bash $echo $shell $csh % echo $SHELL /bin/bash % exit % exit $exit $ksh $ps PID TTY TIME CMD 3523 pts/1 00:00:00 bash 3573 pts/1 00:00:00 ksh 3574 pts/1 00:00:00 ps $csh % ps PID TTY TIME CMD 3523 pts/1 00:00:00 bash 3573 pts/1 00:00:00 ksh 3575 …
df and free
commandline session $df Filesystem 1K-blocks Used Available Use% Mounted on rootfs 234611560 217250928 5443016 98% / udev 991480 0 991480 0% /dev tmpfs 199568 604 198964 1% /run /dev/disk/by-uuid/26cca090-8a72-4443-859f-7a67b7188357 234611560 217250928 5443016 98% / tmpfs 5120 0 5120 0% /run/lock tmpfs 399132 72 399060 1% /tmp tmpfs 399132 700 398432 1% /run/shm $df -h Filesystem …
date and cal
commandline session $date Sat Apr 7 19:34:47 IST 2012 $date -R Sat, 07 Apr 2012 19:34:51 +0530 $date -u Sat Apr 7 14:05:05 UTC 2012 $cal April 2012 Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 …
arch and uname
commandline session $arch i686 $uname -m i686 $arch –help Usage: arch [OPTION]… Print machine architecture. –help display this help and exit –version output version information and exit Report arch bugs to bug-coreutils@gnu.org GNU coreutils home page: General help using GNU software: For complete documentation, run: info coreutils ‘arch invocation’ $
GNOME Tweak Tool Icon
GNOME Tweak Tool Icon GNOME Tweak Tool Icon Revised worked for removing jpeg artifacts. worked as i could on the styling guidlines.(tango)
search algorithm for GNU source installer
/* Search API Algorithm Copyright (c) 2012 Jeffrin Jose This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in …
Continue reading “search algorithm for GNU source installer”
maps Memory maps to executables and library files
UNIX Parameter $sudo cat /proc/1/maps [sudo] password for jeffrin: 00400000-00409000 r-xp 00000000 08:01 6070276 /sbin/init 00608000-00609000 r–p 00008000 08:01 6070276 /sbin/init 00609000-0060a000 rw-p 00009000 08:01 6070276 /sbin/init 01c21000-01c42000 rw-p 00000000 00:00 0 [heap] 7f641ff63000-7f641ff100000 r-xp 00000000 08:01 14532647 /lib/x86_64-linux-gnu/libdl-2.13.so 7f641ff100000-7f64201100000 —p 00002000 08:01 14532647 /lib/x86_64-linux-gnu/libdl-2.13.so 7f64201100000-7f6420166000 r–p 00002000 08:01 14532647 /lib/x86_64-linux-gnu/libdl-2.13.so 7f6420166000-7f6420167000 rw-p 00003000 08:01 …
Continue reading “maps Memory maps to executables and library files”