For searching through files I always end up using grep with a number of options. Let's make that a bit easier!
Posts
- Grep recursive search
- Quick tip: Determining the folder size from the command line
A quick tip about determining the size of a folder by using the command line.
- Minecraft commands from cronjob
For a minecraft mini-game I wanted to give all the players a special item at predefined times. This calls for a bash script!
- Adding a cronjob from a bash script
A quick tip this time about adding a cronjob from a bash script.
- Check register for specific key or value from a batch file
Batch files are well known for managing and configuring client computers. Most of the system administrators are creating batch files on a regular basis. Let's create a batch file to check if all the client computers are running a specific program on startup.
- Clear DirectAdmin Message system
DirectAdmin contains a message system which contains information about thing like brute force attacks, overusage, etc. The message system get really full pretty fast and could contain thousands of messages.
- Exclude files from incremental backup script
When using the incremental backup script, I noticed some files were backupped which should be backuped. In this case some logs files which I don't have to backup every day. So I...
- Symlink cheatsheet
A Symbolic Links (also called symlink or softlink), is a special file which references another file or directory. These symlinks are very useful. For example a lot of deployment...