Linux

Mount remote filesystem using ssh and sshfs

This is short howto on how you can mount a remote filesystem through ssh and access in Debian it like any other local filesystem. This is a safer method to mount remote filesystems and a user can perform it without root privileges. First you need to install sshfs # aptitude install fuse-utils sshfs Install the […]

Read More
Linux

aptitude cheatsheet

aptitude is a great alternative to apt-get and the best way to install, remove, upgrade, and otherwise administer packages on you system with apt. aptitude solves orphaned dependencies and has a curses interface that blows the doors off of dselect. Finally, and most importantly, it takes advantage of one tool, doing many many operations: Syntax […]

Read More
Linux

Advantages using aptitude instead of apt-get

apt-get is a command-line package handling utility while aptitude is a high-level interface to the package manager. There isn’t much difference between the two except aptitude will remove unused package dependencies automatically whereas with apt-get you have to do it manually. Neither removes dependencies as that would cause problems. Dependencies are packages that are depended […]

Read More
Linux

dpkg command cheatsheet

Syntax Description Example dpkg -i {.deb package} Install the package dpkg -i zip_2.31-3_i386.deb dpkg -i {.deb package} Upgrade package if it is installed else install a fresh copy of package dpkg -i zip_2.31-3_i386.deb dpkg -R {Directory-name} Install all packages recursively from directory dpkg -R /tmp/downloads dpkg -r {package} Remove/Delete an installed package except configuration files […]

Read More
Linux

rpcbind and auth ports open

The last time I installed Debian Etch i closed both port 111 and 113 but since I’ve forgot it already and a new installation is in progress, this post should remind me how to do it in the future. The code view below shows the ports nmap found were in a open state PORT STATE […]

Read More