How to rename multiple files from bash
Rename all *html files to *test:
for x in `ls *html`; do mv $x `echo $x | sed -e "s/html/test/"`; done
Bash for:
for var in some-list ; do command ; done


Posted by: Z24 | Wed, May 04 2011 |
Category: /linux |
Permanent link |
home
Tagged as: command-line, linux, programming, script, shell
Execute a command at shutdown
To dismount TrueCrypt volumes at shutdown and reboot time, I created a script, put it in/etc/init.d/
and symlinked it into the needed /etc/rc?.d/
directories using update-rc.d
.
Here is the detail:


Posted by: Z24 | Wed, May 04 2011 |
Category: /linux |
Permanent link |
home
Tagged as: command-line, linux, programming, script, shell
- Introduction
- Pictures
- Making a flat surface
- Installing - ouch, it's not compatible with some MSI K9N Platinum


Posted by: z24 | Mon, Feb 09 2009 |
Category: /hardware |
Permanent link |
home
Tagged as: cooling, cpu, hardware, heatsink, lapping, motherboard, silencing


Posted by: z24 | Mon, Feb 09 2009 |
Category: /hardware |
Permanent link |
home
Tagged as: cooling, cpu, hardware, heatsink, lapping, motherboard, silencing