Sometimes you need to compress an entire directory, but sometimes you want to ignore specific file types. Here is a basic command that you can use to remove specific file types before you compress it. In this example we use the find command to look for, and ignore, all image file types. That then gets…
Long time OSSEC user for my HIDS needs, but recently I have started to play with WAZUH. A fork of OSSEC. It’s been a while since I have had to configure my agent / server connection and in the process hit an old issue where my agent would not communicate with my server. 2020/02/20 09:44:59…
Wazuh is Host Intrusion Detection System (HIDS), a fork of the OSSEC platform. I’ve started to play with it more lately, it has been better maintained and has been enriched with nice features that should enhance your security posture. Recently while configuring Wazuh on CentOS 8 I ran across this error: Error 0x5. Building error….
I was working on one of my servers when I realized that I had done a bone-head mistake. I left the root password blank in MySQl. It was not as easy as I thought to fix the problem. There were a couple of things I didn’t account for, specifically that when you’re initially setting up MySQL…
If you’re working in linux you will be introduced to writing shell scripts at some point. When you do, you’ll become very familiar with the echo. If you open your terminal, and run an echo command it’ll literally echo whatever you put after the echo:
There are instances where you want to quickly locate and move specific file types from point A to Point B. Example: Move all PHP files from /home/$user/php-files/ to /home/$user/php-mv-files
Whenever you’re working with linux you’ll find yourself in need of running tasks repeatedly. The easiest way to do this is to set up a recurring job using Cron.
When you’re working with linux you might have to add a user to different group. Let’s say that you want to create user John, and you want John to have root abilities. To do this you’re going to want to add the user, John, to the sudoers group.
Do you ever find yourself wanting to do advanced searches in Linux? In the last article we shared how to use grep to find specific text. In this article we’ll introduce AWK.
If you are looking for specific content but can’t remember where it’s located on the server, this post is for you. It will show you how to find specific text anywhere in a folder, or server. We are going to use the GREP command when doing searches in linux.