Author Archives: Ahmed Tawfik

Unknown's avatar

About Ahmed Tawfik

Cybersecurity Professional, Systems Engineer, OSS & Linux Geek

Bash script to monitor background processes

while [ 1 ]; do ps -ef | grep bzip2; echo “=============================================”; sleep 5; done; where: bzip2: is the process name or part of the process name Press Ctrl+c at any time to cancel the process

Tagged , | Leave a comment

How to compress a file into multiple splitted files (Like what you used to do in MS Windows using Winrar)

I made it through the GUI this time, not using the command line: Opened Gnome File Roller (Applications ->Accessories->Archive Manager) Dragged the folder I wanted to compress inside it Click “Create Archive” Click “Other Options” Tick “Split in volumes of” … Continue reading →

Tagged , , | Leave a comment

SQL statement to unlock user account in oracle

ALTER USER username ACCOUNT UNLOCK;

Tagged , , | Leave a comment

How to split a text file in Ubuntu

Simple! Just use the “split” command, if no arguments are specified, it will split the text file to files each containing 1,000 lines of text.

Tagged , , | Leave a comment

Import Your Gmail Contacts into Mozilla Thunderbird

To export your address book from Gmail and import it into Mozilla Thunderbird: Save your Gmail contacts as gmail-to-outlook.csv. Select Tools | Import… from the menu in Mozilla Thunderbird. Make sure Address Books is selected. Click Next >. Highlight Text … Continue reading →

Tagged , , | Leave a comment