Author Archives: Ahmed Tawfik

Unknown's avatar

About Ahmed Tawfik

Cybersecurity Professional, Systems Engineer, OSS & Linux Geek

Backup and Restore ext4 filesystem using fsarchiver

Important Note: Until the time of writing this article, “partimage” DOESN’T SUPPORT EXT4, it detects ext4 as ext3 and then displays an error message saying “can’t read bitmap block 0 from image“, so if you use something like the bootable … Continue reading →

Tagged , , , | Leave a comment

UNetbootin: Burn any ISO or image files to USB Disk on Linux

Go to the following URL: http://unetbootin.sourceforge.net/ and download the file Make the file executable (chmod +x file_name) This step is specific for Ubuntu: If you receive the message “7z not found ….”, open a terminal and run “sudo apt-get install … Continue reading →

Tagged , , , | Leave a comment

How To Decrease Resolution of Output Video File in mencoder

In a previous post, I showed how to change an .ogv file to a .avi one which is useful is you’re going to give the video to a windows user. One problem I faced is that my resolution is too … Continue reading →

Tagged , | Leave a comment

How To Find and Delete Files Not Matching MULTIPLE criteria using bash in AIX

“find . ! -name “*.bz2” ! -name “ESPRD*” | xargs rm”  The above command finds all files in the “current” directory excluding those with “*.bz2” extension and those which start with “ESPRD*” and then deletes them all.

Tagged , | Leave a comment

How to add a new data file to Oracle Tablespace using sqlplus

First login as the “oracle” user, and issue the command “sqlplus “/ as sysdba”” (I am assuming that you already have configured the  PATH environment variable correctly) and then type the following:   alter tablespace tablespace_name  add datafile ‘/oracle/data/file1.dbf’ size … Continue reading →

Tagged , , | Leave a comment