How to Find the IP Address of a Website in Linux

How to find an IP address of a website or domain using terminal? Finding the public IP address of a website’s server is absolutely easy. In fact, there are several ways you can find the IP address of a website. I am going to show you some of them here. You might need to install nslookup. If you have the rights, you can use your Linux distribution’s installation command to install this tool. On Debian and Ubuntu, the command below will install nslookup: sudo apt install nslookup Once you have the tool, just use it… Read moreHow to Find the IP Address of a Website in Linux

How to use systemd to run a startup script on boot

This example shows how to start a script when multi-user is launched. Create a new file in /etc/systemd/system [e.g. myscript.service] and add the following content: [Unit] Description=My Script [Service] ExecStart=/usr/bin/my-script [Install] Put your script in /usr/bin/my-script and make sure it’s executable. sudo chmod 755 /usr/bin/my-script Then enable the service: sudo systemctl enable myscript.service

How to use rsync between hosts with non-standard ssh ports

In order to work between hosts with non-standard ssh ports, rsync syntax should be a little bit different. The command below is pushing all the files from MyLocalProject on the local machine to the RemoteProject directory on the remote machine. If you want to sync from the server to the localhost, just replace their places. Here is how we do it: rsync -vaz -e “ssh -p2222” /MyLocalProject/ username@server:/RemoteProject/ If you want to mirror the destination, use this: rsync -vaz –delete –exclude ‘.*’ –exclude ‘*.bat’ -e “ssh -p2222” /mnt/d/localDir/ user@remote.tld:/home/user/public_html/project/ –delete delete files that don’t exist on the sending side, here… Read moreHow to use rsync between hosts with non-standard ssh ports

Install Arch Linux & Plasma KDE via WiFi Connection

Here is how to install Arch Linux with Plasma KDE via Wifi connection … Keep in mind, that you can find yourself with successfully installed Arch Linux, but without internet connection, because of missing packages. In case like this, and many others, the only option is to boot again with the Flash Drive, mount the file system, chroot, and install the missing software. If you don’t know well your system, you may be forced to do this several times. So, as an advice, to save effort and time, make a simple list of all the… Read moreInstall Arch Linux & Plasma KDE via WiFi Connection