Linux

The ls command

I have been using is for years, but hardly have used its "advanced" options. That is:ls -t to sort the content of the directory according to modification date. ls -d to display the directories and not their contents. ls -alh lists the complete content of the directory in long, human-readable form (that means file sizes are given in B, K, M or G and not in bytes).

Mount Samba shares (why doesn't Nautilus work?) and making smb mounts permanent

Mount Samba shares
Apparently it is very easy to connectfrom within Nautilus to Windows computers (or rather to computers running smb services). The only thing you have to do is to type smb:/// into the URL bar and the network is browsed for available domains, workgroups and services. However when one tries to open some files (e.g. some image) there often appears the error message that those files cannot be accessed via samba.

VNC (Virtual Network Computing) via ssh

I am sitting at home and want to use the GUI of my Linux at work. But my work computer which is running the VNC server (mcblpc2.hi.helsinki.fi) is behind the University firewall. The only connection I can get into the firewall is via one of the university mainframes, e.g. vesuri.helsinki.fi. In order to connect using VNC, I need just two commands:

ssh -L 5901:mcblpc2.hi.helsinki.fi:5901 mjeltsch@vesuri.helsinki.fi
vncviewer localhost:1

Pages