Skip to content

howto - mount filesystem via ssh using sshfs

First of all, you have to install "sshfs". After that you just have to type.

sshfs $user@$host:/path/to/dir /path/to/mount
If fuse throws an error of permission, you have to add your user to the group fuse by typing:
usermod -a -G fuse $user
After you re-logged-in you can see by typing "groups" in your shell that everything is done fin. Do not want to logoff? Try
su $user
in your shell. This is a new login and so your new group is available now. Just another hint, if you want to access symbolic links, try:
-o follow_symlinks
and/or
-o transform_symlinks
The man page will help you to understand what you are doing. Now put everything as an alias in your bashrc (or something similar) and you are done :-).
alias mountMyShare="sshfs $user@host:/path/to/dir /path/to/mount -o follow_symlinks"; alias umountMyShare="fusermount -u /path/to/mount";
Happy mounting and unmounting.

tool - cli file manager with vi keybindings - ranger and vifm

Searching for perfect tools seams to have a long tradition. Also switching from gui tools to cli tools back to gui and so one is a great game. This time i decided to try out some cli file managers. Since we are working on the cli it is a massive benefit if the software supports vi keybindings.

At first i tried a recommended tool called ranger. It feels very naturaly when you browse your dictionaries and it looks like the osx finder in console mode - maybe the finder "adopt" his design from a cli tool that i do not know so i do not know if the compare is correct, do not blame me for that ;-). It still feels a bit under development but it is no wasted time if you give him a try. A short howto can be found here

Second file manager i tried is vifm. It is definitly a file manager for vi lovers :-). Vifm provides, if wished, a two panel view like used by mc. Since i am a vi (i know vi is the center of eVIl), i like working with vifm and with the option of having a two panel layout if feels like mc on (vi) dope :-D. This tool definitely get a "try it out" mark, do it! A short help can be found here

Web - Dennis Ritchie ist gestorben

Wie erst jetzt bekannt wurde, ist der US-amerikanische Informatiker Dennis MacAllstair Ritchie am vergangenen Wochenende nach langer Krankheit in Murray Hill gestorben. Ritchie wurde 70 Jahre alt.
Quelle Wikipedia

So scheinbar Jeder, der Informatik studiert oder gelernt hat, ist wenigst einmal mit Ritchie in Kontakt gekommen. Es ist schade das er gegangen ist, jedoch hofft man "nur", dass es ohne viele Schmerzen vonstatten ging. Thankts for all the fish :-).

C/C++-Programmierer sterben nicht, die werden nach void gecasted.
Quelle