transpose one line/lines from row to column using shell (awk,sed)
When manipulating data, sometime, I want transpose 1 line or lines from row to column. for example, from this c1,c2,c3 1,2,3 4,5,6 7,8,9 to that c1,1,4,7 c2,2,5,8 c3,3,6,9 To do […]
script from my daily work and other collections, be useful for me and others (I think)
When manipulating data, sometime, I want transpose 1 line or lines from row to column. for example, from this c1,c2,c3 1,2,3 4,5,6 7,8,9 to that c1,1,4,7 c2,2,5,8 c3,3,6,9 To do […]
Test file from dos/windoz is annoyingwhen working at linux. The newline character must be converted. Here are a collection of fixes: Use of vi at linux open a text file […]
I have a tiny web server “lighttpd” at a NAS (Network Attached Storage). It gets more popular than the conventional appache in last years (in particular for light web server […]
Crontab is client using the cron daemon that executes scheduled commands. Cron is started automatically from /etc/init.d on entering multi-user runlevels. Cron searches its spool area (/var/spool/cron/crontabs) for crontab files […]
I use bash regularly to manipulate data, run repeat tasks. There are many ways to carry out loops. Example 1 for in in 1 2 3 4 5 6 7 […]
I have a WD world edition, in a simple word, a NAS. I hatched it and make it as a file server (via nfs, samba), a gateway (ssh and telnet […]
Bash is the major factor lure to unix, then evolve to linux. Traveled a long way from redhat to fedora 13. It is a happy journey. I use bash command […]
Address Book (Contacts) between jpilot, evolution, outlook jpilot is my primary PDA manager. I use it to sync with palm T5 on linux. It works well. However, because evolution is […]
SSH tips connect to PC behind firewall This is a nice working fix. However, I want direct access to my desktop behind firewall via nx. This is on the top […]