Too Cool for Internet Explorer


Swobodin's Profile | Swobodin's Blog | Back to Fedora Tunisia

Archive for the 'Shell' Category

The ABC’s of UNIX

Friday, December 23rd, 2005

A is for awk, which runs like a snail, and
B is for biff, which reads all your mail.
 
C is for cc, as hackers recall, while
D is for dd, the command that does all.
 
E is for emacs, which rebinds your keys, and
F is for fsck, which rebuilds your trees.
 
G is for grep, a clever detective, […]

Memory status

Friday, November 25th, 2005

Here’s a little script to display memory status and refresh it each 5 seconds. You need xmessage to run it:
while free -otm|xmessage -buttons “Close”:1,refresh:0 -default “close” -timeout 5 -file -;do :;done

Simple Perl loop script

Friday, November 18th, 2005

The following Perl program loops from 0 to 1 incrementing by 0.1:
perl -e ‘while ($_ < 1.0) { printf(”%.1f\n”,$_); $_+=0.1;}’

Skyping around

Friday, October 28th, 2005

Not using Windoze does not prevent me from using some non Free Softwares sometimes, as long as they are good, useful, and GNU/Linux compatible.
Skype is one of the those programs, for it’s reliable, secure and has many features, besides, it doesn’t use some strange ports, only 80 and 443. However, I could not run […]

A bash script to download all Linux Gazette issues

Wednesday, September 21st, 2005

Here’s a little script to download all Linux Gazette issues since 1995:
url=”http://linuxgazette.net/ftpfiles/”
for i in $(seq 10 99)
do wget -c lg-issue${url}${i}.tar.gz;done
for i in $(seq 100 118)
do wget -c lg-${url}${i}.tar.gz; done
wget -c lg-issue01to08.tar.gz lg-issue09.tar.gz
unset url

Becareful: you must execute the script in an empty directory (too many archives) and expect a 94 MB of size!


Top Tunisie Blogs