Entries Categorized as 'Scripting & CLI'

qemu/kvm tap networking

Date January 6, 2010

The following is the commands to create a virtual bridge and virtual interfaces so you can use it with kvm/qemu tap networking, Actually i think you can do all of this using a GUI interface via Virtual Machine Manager (virt-manager), but i don’t know why i feel its difficult to use it, anyway. You will […]

ping tip: CTRL + \ (backslash)

Date September 28, 2009

I were checking one of the servers connectivity using ping, usually i use CTRL + \ (backslash) to send a quit signal for applications i run in terminal, but ping responded to the signal by showing ping status: 64 bytes from x.x.x.x: icmp_seq=1253 ttl=47 time=433 ms 64 bytes from x.x.x.x: icmp_seq=1254 ttl=47 time=239 ms 64 […]

Installing PPTP Client in Fedora 11

Date September 27, 2009

Usually, When i wanna connect to online servers for checking them or whatever, I ssh to my work PC then to them, unfortunately our main gateway is down today. So i tried another solution which is trying our work VPN connection, Network Manager didn’t help me or maybe i didn’t know how to configure it […]

Tornado, the real-time web server that powers FriendFeed, now open source.

Date September 11, 2009

Facebook announced Tornado as new open source web server framework, it can be used to serve thousands of simultaneous connections, its high performance is really interesting, i think ill test it in the coming days. checkout the following links: http://developers.facebook.com/news.php?blog=1&story=301 http://bret.appspot.com/entry/tornado-web-server friendfeed website: http://friendfeed.com some details: Tornado is a non-blocking Web server framework written in […]

Linux examination machine

Date March 4, 2009

Two days ago i did a nice interview, it was interactive exam, someone ask you through the phone to troubleshoot/do many things and in the same time he see what you do and what is the output of your commands, in my company, when i was interviewing people, all what i do is oral questions.. […]

inittab to auto restart script

Date February 2, 2009

Do you have a script/application that you want it running all the time, if it crashed then it auto restrart, auto launch on reboot ?, I have a php script that must run all the time, it do telnet to a port on another server and do some commands on that port… anyway i want […]

Running Bluetooth Headset on Linux

Date January 27, 2009

As i said before in a previous blog, i got a new headset as a gift from my uncle,, mm i tried to configure it in the first day but i failed,,, today i played again and yes i got it working,, here how i configured it. I use Fedora 8 (yes i know currently […]

ext3 label

Date January 26, 2009

Yesterday i got a very nice gift from my uncle, he came 2 days ago from china 😉 , a Imation 320GB External Hard Disk and bluetooth headset (eh am trying to configure it in linux!) maybe they are not that good because they are from china (this is what known in Jordan about china […]

Work/Home switcher script

Date January 25, 2009

Recently, i decided to bring my laptop to the work, so i start using it and leaving my work PC as testing machine,, also connecting to online servers through it. In the work we used a static IP with a static gateway for each department, also with a specific resolv.conf configuration,, at home, i use […]

البحث عن أكبر ملف/مجلد

Date November 30, 2007

خلال اليومين الماضيين إحتجت على أحد الخوادم أن أبحث عن أكبر الملفات أو أكبر المجلدات لمعرفة أين تضيع مساحة ما يقارب 60 جيجا اﻷمر بسيط عن طريق find وإستخدام المدخل -size مثلا للبحث عن الملفات التي حجمها على الأقل 100M أو أكثر find / -type f -size +100M أيضا يمكن إستبدال + ب – ليتم […]