From Nightwish‘s (symphonic metal) 2011 album, Imaginaerum, comes the “Burton-y”-est song yet…
If you ever need to search for a particular string in a large amount of files (like checking which domain zones are configured to use a particular nameserver), the following command will come in quite handy:
grep –directories=skip -i -l “searched-string” *.extension
A while back I needed a warning system for when my backups disk runs out of free space.
Gathering information from various other existing scripts, I wrote a small Perl script that check the available space and send warning emails if it drops below a defined level.
If you’re using Avira’s Free antivirus and are a mad computer user like me that never reboots his computer (unless something blows up), you might have noticed that Avira periodically updates its program (beside the virus definitions) and asks for a system restart to complete this.
Rsync is a very handy tool at synchronizing the contents of two folders/directories.
And while being great for local folders, it also works remotely, via SSH, thanks to the -e ssh parameter: # rsync -ave ssh sourceserver:/home/user/ /home/user will sync /home/user from the sourceserver with /home/user on the local machine.
By default ls does not display hidden files (files with names starting with a dot).
To list hidden files, ls requires the usage of the -A parameter; for example ls -lA. To list only hidden (dotted) files, use this instead: ls -l .??*
Alternosfera is an alternative rock band from Chişinău, Republic of Moldova. Their sound is unique on the Moldovan market, their influences varying from 80’s motifs to the Seattle alternative rock of the ’90s.
To configure the size of the hibernation file, use the PowerCfg command-line utility that is included with Windows 7 and Windows Server 2008 R2. You must run PowerCfg from an elevated command prompt and include the /HIBERNATE and /SIZE parameters, as follows:
When replacing a failed RAID1 member from the array, setting up the replacement disk requires to partition it exactly as the existing disk. But this takes time to do manually…
Fortunately, sfdisk comes in handy by providing a very fast shortcut…
Upon entering Computer Manager to remove the drive letters, the partitions do not have any letters assigned. In fact, no actions beside “Delete partitions” are present on the context menu. But the partitions show up in Windows Explorer as drives H: and K.
Luckily MOUNTVOL, a Windows utility (present in all Windowses since Xp) “creates, deletes, or lists a volume mount point”.