Neat Trick

Nils Kassube kassube at gmx.net
Tue Apr 21 07:37:32 UTC 2015


Bill Vance wrote:
> Oops!  The wordwrapping made it a little less plain than
> intended.  Try it this way.
> 
> 
> cd /home/$USER/Desktop
> Name=$(cat /etc/hostname)
> ln -s / $Name
> cd -

Or just a single command:

ln -s / ~/Desktop/$(cat /etc/hostname)

But what's it good for?


Nils





More information about the kubuntu-users mailing list