Saving a file downloaded with wget with a different name

wget is a command line utility for downloading files from FTP and HTTP web servers. By default when you download a file with wget, the file will be written to the current directory,  with the same name as the filename in the URL. For example, if you were to download the little Tux penguin and […]

Read More

How to kill a In Process Port

If a port is being used by ubuntu/Linux and you want to kill the process and make free that port, then simple you can run this command to make that port free sudo kill `sudo lsof -t -i:9001` If that doesn’t work you could also use $() for command interpolation: sudo kill $(sudo lsof -t -i:9001)   […]

Read More

A Guide to SSH Port Forwarding/Tunnelling

SSH is a widely used protocol for system administration and file transfer. In addition, it has a feature called SSH tunnelling  (or SSH port forwarding). It creates an encrypted connection between a local computer and a remote computer through which you can relay traffic. It is very useful, and you can use it to securely […]

Read More