Author Archives: Ahmed Tawfik

Unknown's avatar

About Ahmed Tawfik

Cybersecurity Professional, Systems Engineer, OSS & Linux Geek

AccuRev auto completion

AccuRev supports auto completion for its commands/Depots/Streams through a third-party plug-in.Download form here:http://www.fepus.net/software/accurev-tools/accurev-bash-completion-3.1.tar.gz

Tagged | Leave a comment

Bash Script To Find and Delete All Files Except Some When the filesystem reaches a specific size

#!/bin/sh # This script checks if the /siebel filesystem reaches the warning limit of free space# And then delete the old logs except those of last 12 hours warninglimit=1572864    # This number is in KB, it’s equal to 1.5 GB,                        … Continue reading →

Tagged , | Leave a comment

"Find All EXCEPT" using bash script

find . \( ! -name “hobba*” \) The above command invokes the “find” command asking it to search in the current directory (“.”) and return all files except those starting with the string “hobba”. Note: Take care of the spaces … Continue reading →

Tagged , | Leave a comment

How To Download and Use the latest stable version of Firefox (from www.firefox.com) in Ubuntu Jaunty

Go to http://www.firefox.com and download the latest stable version available (3.5.4 right now) Decompress the file to any location you desire (/home/aamr/firefox in my case) Delete the symbolic link “/usr/bin/firefox-3.5.4” Create a new symbolic link to point to your newly … Continue reading →

Tagged , | Leave a comment

Get Processor Attributes in AIX 5.3 (Type, Count and Clock Speed)

prtconf | grep -i proc

Posted in Uncategorized | Tagged | Leave a comment