All Tips


10

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 »

-5

Tip #836   Find symbolic links

Use this command to find all the links in the current directory and below

Read more »

1

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 »

5

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:

21

Tip #829   Wipe deleted files with dd

Give the finger to forensics.

Read more »
  • TAGS:
  • dd

3

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 »

1

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 »

4

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 »