GRAPHICAL REPRESENTATION USING COLLECTED STATISTICS
Category Archives: Uncategorized
open( ) system call
commandline session $ 4.2.36 50 548—> cat test-open.c #include #include #include main() { int fd; fd = open( “text” , O_CREAT); } $ 4.2.36 51 549—> gcc test-open.c $ 4.2.36 52 550—> ./a.out $ 4.2.36 53 551—> ls a.out test-open.c text $ 4.2.36 54 552—> cat text cat: text: Permission denied $ 4.2.36 55 553—> …
universality of I/O
commandline session $ 4.2.36 6 504—> sudo cp yt-chanrip /dev/tty43 [sudo] password for jeffrin: $ 4.2.36 7 505—> tail -f /var/log/syslog tail: cannot open `/var/log/syslog’ for reading: Permission denied $ 4.2.36 8 506—> sudo tail -f /var/log/syslog Jan 5 21:04:54 debian — MARK — Jan 5 21:09:01 debian /USR/SBIN/CRON[4789]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime …
which [-a] args
commandline session $ 4.2.36 4 501—> which $ 4.2.36 5 502—> which -h Illegal option -h Usage: /usr/bin/which [-a] args $ 4.2.36 6 503—> which ls /bin/ls $ 4.2.36 7 504—> which -a ls /bin/ls $ 4.2.36 8 505—> which -a top /usr/bin/top $ 4.2.36 9 506—> which top /usr/bin/top $ 4.2.36 10 507—> echo …
PHILOSOPHY
MAKE SOLUTIONS THAT JUST WORKS DO EASY WORK IN A PLAYFUL WAY KNOWLEDGE AND SKILL DEVELOPED FROM PLAY CAN BE USED FOR WORK. HENCE KNOWLEDGE FOR WORK CAN BE A BYPRODUCT OF PLAY PLAY NEEDS LEARNING PROCESS EXCITEMENT CAN BE INTEGRATED BY SHARING KNOWLEDGE IT IS NOT ALWAYS NECESSARY TO FINISH THE CURRENT TASK BEFORE …
debug method 1
Debian Research The components involving problem can be unwired from style and optimization functions and should be checked for basic functionality.
sed . regular expressions
commandline session $ 4.1.5 1 270—> echo “fastest 1000 cars” | sed “s/1000/2000/” fastest 2000 cars $ 4.1.5 2 271—> echo “fastest 1000 cars” | sed “s/1*/2000/” 2000fastest 1000 cars $ 4.1.5 3 272—> $ 4.1.5 3 272—> echo “fastest 1000 cars” | sed “s/2*/2000/” 2000fastest 1000 cars $ 4.1.5 4 273—> echo “fastest 1000 …
type—Display a Command’s Type
Commandline session $type $type ls ls is /bin/ls $type Xorg Xorg is /usr/bin/Xorg $type hey bash: type: hey: not found $type ls -l ls is /bin/ls bash: type: -l: not found $type pwd pwd is a shell builtin $type shopt shopt is a shell builtin $type time time is a shell keyword $type times times …
$_ indicates exactly the last parameter of your last command (GNU Bash)
commandline session $ 4.2.29 8 507—> ls Algorithms bookmark bugs-general debian-howtos firewall kernel linux README beautifulwork books config-files Docs https: language ovlfose $ 4.2.29 9 508—> ls $_ ls: cannot access ls: No such file or directory $ 4.2.29 10 509—> ls vm ls: cannot access vm: No such file or directory $ 4.2.29 11 …
Continue reading “$_ indicates exactly the last parameter of your last command (GNU Bash)”