Back up your home directory easily with this simple script.

Back up your home directory with this simple script. This will concatenate all of your files into one tar archive, then compress it into a gzipped file. Firstly, install the required applications. ┌──(john㉿DESKTOP-PF01IEE)-[~/Documents] └─$ sudo apt install pv pigz┌──(john㉿DESKTOP-PF01IEE)-[~/Documents] └─$ sudo apt install pv pigz This is the backup script I am using. This will … Read more

Why you need to secure your website against online attack.

Securing your website against online attacks is very important. There are many online tools and distributions like Backtrack and Kali that have mass-scanning tools to use against a website. Below is what a mass-scanning attack on a website looks like. This is searching for vulnerable scripts on an Apache website. As you can see, this … Read more

How to setup proper directory indexing in Apache.

To get proper directory indexing set up in a directory in your Apache webserver configuration, firstly, create a .htaccess file and paste the code below into it. Options +Indexes   HeaderName HEADER.html ReadmeName FOOTER.html   IndexIgnore .htaccess .??* *~ *# HEADER* FOOTER* README* RCS CVS *,v *,t *.incOptions +Indexes HeaderName HEADER.html ReadmeName FOOTER.html IndexIgnore .htaccess … Read more

Finding the largest file in a directory and other cool Linux commands.

To find the largest file in a directory; use the du command and this will return the information you are after. Using the pipe symbol to send the text through to the head command will allow us to only return the one file we are interested in. jason@jason-desktop:~/Documents$ find . -type f -exec ls -al … Read more

How to delete a directory on Linux.

Deleting a directory on Linux is very easy indeed. The rmdir command will perform this task adequately. You could also use the rm -rf abc/ command to delete a directory, but rmdir is easier to remember. eyjafjallajkull% rmdir abceyjafjallajkull% rmdir abc The rmdir command will not be able to delete a directory that is not … Read more

How to create a shared folder for a group of users on Debian Linux.

How to create a shared folder on a Linux machine that a group of users may access. This is very useful for a shared folder that many users may place files. Firstly; you need to create a folder in the /opt directory. root@neo:/opt# mkdir sharedfilesroot@neo:/opt# mkdir sharedfiles Then you need to set the proper permissions … Read more

Linux versus Windows Server 2008 Active Directory.

Software installation properties.

I was setting up a Windows Server 2008 machine today with Active Directory and I was struck by the power that the Active Directory group policies give to the systems Administrator in terms of managing your client desktop machines and creating a unified locked-down desktop across all workstations. There is a HOWTO on adding a … Read more