Neat Trick

Ralf Mardorf kde.lists at yahoo.com
Tue Apr 21 10:55:55 UTC 2015


On Tue, 21 Apr 2015 09:37:32 +0200, Nils Kassube wrote:
>Or just a single command:
>
>ln -s / ~/Desktop/$(cat /etc/hostname)

Why cat the file /etc/hostname? Why not using the command hostname?

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

;)




More information about the kubuntu-users mailing list