The following command will delete the branch "mybranch" from the remote git server: git push origin :mybranch Finally you just have to delete it locally: git branch -d mybranch Doing a git branch -a you should see that your branch "mybranch" has disappeared.
Install lftp using apt-get install lftp To start off with connect to the FTP server: lftp 192.168.18.05 Login to the FTP server via lftp: lftp 192.168.18.05:~> user yourusername Password: (Enter your password) As soon as you are logged in, you can list the remote folders using ls, list all available commands via help Let's assume […]
A quick note before starting: passing passwords in plaintext is highly discouraged for security reasons!! If you need to, be sure to secure your script! Installation on Debian: apt-get install sshpass Login to a ssh server example.net with user tester and password 12345: sshpass -p '12345' ssh email@example.com This also works with rync (but consider SSH […]
Connect to the Dell Remote Access Controller (Drac) IP address via SSH. Then execute: racadm serveraction <action> whereas you replace <action> with one of the following: powerdown — Powers down the managed system. powerup — Powers up the managed system. powercycle — Issues a power-cycle operation on the managed system. This action is similar to […]
If you want to mount remote folders and you have SSH access to the remote machine, you might want to use SSHFS. In Debian you can install the package with apt-get install sshfs Depending on your system you might have to activate the kernel module: modprobe fuse Supposing that the below server and folders […]