Category Archives: Uncategorized

Test sendmail

If you want to test send mail you must use the following command: /usr/sbin/sendmail  -bv  -oL10 test@adriangrigoras.com After that you must check your root’s mail with mail program or mutt.

Decompress .tar.gz files

For ungziping you must run the following command. This command will replace the .gz file with a .tar file gzip -drv phpbb-platinum-0.5beta.tar.gz After that, you must run the following command: tar -xvf phpbb-platinum-0.5beta.tar That’s it.

Create symbolic link

When you want to create a symbolic link to a certain location all you have to do is ln -s /usr/local/apache/logs ./logs This will create a symbolic link inside current directory: logs which goes to /urs/local/apache/logs Cheers,

Leave a process in background

When you want to close a console, but you want to leave the program which runs active you must run the following commands: Ctrl + Z – this will put the process in background, but in inactive state bg – will activate the process in background If you want to bring it to front fg… Read More »

Show all open ports

When you need to view all open ports from you Linux machine all you have to do is to run the following command in the console: netstat -tulpn Cheers,