Tip #837 Move a file and link to the new location
Use the one liner below to relocate a file or directory, but keep it accessible on the old location through a symlink.Read more »
Tip #836 Find symbolic links
Use this command to find all the links in the current directory and belowRead more »
Tip #835 Quickly empty a file in vi
A few quick ways to empty a file of text in vi (all of these are done in command mode):Read more »
- TAGS:
- vim
Tip #830 Debug errors in configure procedures
Last time, I had to install a package with a configure Script. There are a lot of parameters to adjust the installation. Unfortunately the configure doesn't end with success. A dubios error message appears and I don't find out what's wrong.Also the modern oracle 'google' doesen't give a hint. But after hours I find a quick and easy solution:
Read more »
- TAGS:
Tip #828 Sorting debian packages installed by size
The command below will give a list of the packages installed on a debian system sorted from smallest to largest (the order can be reveresed by adding an 'r' option to sort - 'sort -k2 -nr').Read more »
Tip #825 Install a large number of packages with aptitude
Sometimes you need to install a large amount of packages on a fresh installed system. Of course, you can install each of them manually or let a script do that but there is a much more comfortable way.You need a file containing all packages you want to install - one package per line.
Read more »
- TAGS:
- aptitude
Tip #824 List only the files that have been updated today.
Use this command to list files that have been updated today in the current directory.Read more »
alias aptitude at awk bash bc cal cat cd colrm comm cp csh curl cut date dd df dialog diff dirname dpkg du fc find fuser grep gs gzip history iconv kill ksh last less ln ls lsof lynx m4 md5sum mkdir mkfifo mkisofs mv mysql nc netstat openssl OSX perl ping popd ps pushd python read redirection rm scp screen sed sort ssh stat sudo svn tail tar tee test top tr uniq vim wc wget xargs