Author Archives: Ahmed Tawfik

Unknown's avatar

About Ahmed Tawfik

Cybersecurity Professional, Systems Engineer, OSS & Linux Geek

"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

find files in ClearCase vobs by Issue number

IBM ClearCase is a Software Configuration Management tool used to keep concurrent versioning of the files (like CVS, SVN and others ) to find a particular files checked-in under certain issue use this command : >VOBS=/path/to/ClearCaseVobs #vobs is the directories … Continue reading

Tagged , | Leave a comment

Script to monitor a Filesystem on AIX

#!/bin/sh # This script checks if the /siebel filesystem reaches 2 GB of free space# And then delete the old logs except those of today warninglimit=2097152    # This number is in KB, it’s equal to 2 GB,                        # KB is … Continue reading

Tagged , , | 1 Comment