There are times when we do not want our scripts or programs to outputy any kind of message to the standard output – like for instance if we have multiple scripts in our crontabs. If you didn’t have your crontab...
Category - Linux
Building your very own Ubuntu Server from Scratch is as great way to get a grasp at how things work under the hood, not to mention you’ll end up with a router that does what it is told to do and nothing more. I’m...
It is always good to know just how much TCP / UDP packets can we squeeze out from our network interfaces. Be it that we are building our very own router or just plain testing out our network environment. Usually there comes a...
Having anti-virus software and a rigorous firewall as your first line of defense is considered a bare necessity nowadays. But what happens when somehow the malicious code or intent somehow gets past your protection? That is where...
Using grep to scan thru a whole directory recursively is done with: grep -R 'string' dir/ In addition, you can also tell grep to only scan files that have a certain extension (or pattern, for that matter): grep -R 'string'...
Usually you shouldn’t edit these by hand, but given the off-chance you’d want to, cd yourself all the way to: /var/spool/cron/crontabs If per chance you’d play it by the book, editing would be done by issuing...
The Issue Your server has an extremely high workload in comparison to the usual CPU load, it generally feels less- or even unresponsive and if you have any intrusion detection configured, then it is sending alerts of failed login...
First, let’s install Transmission and set up some directories – issue these commands (remember to substitute user with your desired username that runs transmission) sudo apt-get install python-software-properties sudo...
Issue the following command with elevated rights or as root: apt-get install x11vnc Create the file /etc/init/x11vnc.conf with your favourite text editor and write this into it: start on login-session-start script x11vnc...
By default, the installed package refused to start, because of missing files. So I had to do the following to resolve the missing links: First, create a symbolic link to the already existing file: ln -s...