<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Vuko&#039;s Blog &#187; Linux</title>
	<atom:link href="http://blog.vukomir.info/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.vukomir.info</link>
	<description># echo &#34;Is your home directory $HOME?&#34;</description>
	<lastBuildDate>Tue, 15 Feb 2011 10:10:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>hosts.allow hosts.deny</title>
		<link>http://blog.vukomir.info/2011/02/02/hosts-allow-hosts-deny/</link>
		<comments>http://blog.vukomir.info/2011/02/02/hosts-allow-hosts-deny/#comments</comments>
		<pubDate>Wed, 02 Feb 2011 17:34:54 +0000</pubDate>
		<dc:creator>Ianculov Vucomir</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.vukomir.info/?p=367</guid>
		<description><![CDATA[Hosts: /etc/hosts is used to resolve hostnames for machines behind the firewall, on the 192.168.1. LAN. If an entry is found in /etc/hosts, there is no need to go to the DNS to resolve either hostname or ip address. Here is an example # Do not remove the following line, or various programs # that [...]]]></description>
			<content:encoded><![CDATA[<p><span> <span style="font-size: xx-small;">Hosts:</span></p>
<p>/etc/hosts is used to resolve hostnames for machines behind the firewall, on the 192.168.1. LAN.  If an entry is found in /etc/hosts, there is no need to go to the DNS to resolve either hostname or ip address.  Here is an example</p>
<p></span></p>
<pre escaped="true"><span># Do not remove the following line, or various programs
# that require loopback on 127.0.0.1 or name resolved will fail.
127.0.0.1		localhost.localdomain localhost oururl oururl.net www.oururl.net
192.168.1.10		ourappserver
192.168.1.101		ibookg3
192.168.1.102		w95notebook
192.168.1.103		visiting machine</span></pre>
<p><span></p>
<p><span style="font-size: xx-small;">Hosts to allow &amp; those to deny:</span></p>
<p>Since about RedHat 7 xinted&#8217;s &#8216;TCP Wrappers&#8217; have been included in the OS, making it easier than ever to be selective about who gets to do what with the services your machine offers via the web.  I&#8217;ve been told that this software &amp; text-file-on-a-disk reading approach is not as efficient as a more hardware &amp; RAM approach used in hardware routers &amp; firewalls.  But I&#8217;ve also been told it can keep up with all that can be thrown at the server via a T1.</p>
<p>/etc/hosts.allow and hosts.deny work as a pair to control access to your server. If both files are empty there are no limits and anybody at any ip address can, for example, try guessing userids &amp; passwords all day long.   Hosts.allow is read first and if the packet just received matches one of its rules it is let to pass. If no &#8216;allow rule&#8217; is found the TCP Wrapper continues on to hosts.deny and looks there.  If the packet&#8217;s ip address, or other criterion, is found there the service is instantly denied.  Someone using putty to log into info465.net from  anywhere in 200. or another banned network will see their putty window blip out without have the opportunity to enter a password or userid.  Xinetd logs attempts, acceptances, and denials so this is easy to police.</p>
<p>Here are hosts.allow &amp; hosts.deny for info465.net.  It is an active mail server, hosts http &amp; https web pages, and needs to be relatively &#8216;open&#8217; for students using its ssh.  It must run telnet to provide connectivity for applications that run behind the firewall, but it restricts telnet access to the LAN 192.168.1. If I want to get to it from somewhere else via telnet for some reason I can uncomment the line in hosts.allow and edit it.</p>
<p>Hosts.allow:</p>
<p></span></p>
<pre escaped="true"><span># hosts.allow	This file describes the names of the hosts which are
#		allowed to use the local INET services, as decided
#		by the '/usr/sbin/tcpd' server.
#
#in.telnetd:	192.168.1., 128.172.188.201, 64.83.20.139, 64.83.20.138, \
#               128.172.189.
in.telnetd:	192.168.1.
sshd:		70.16., 207.228.
ipop3d:		ALL
sendmail:	ALL

</span></pre>
<p><span>Hosts.deny:</p>
<p></span></p>
<pre escaped="true"><span>#
# hosts.deny	This file describes the names of the hosts which are
#		*not* allowed to use the local INET services, as decided
#		by the '/usr/sbin/tcpd' server.
#
# The portmap line is redundant, but it is left to remind you that
# the new secure portmap uses hosts.deny and hosts.allow.  In particular
# you should know that NFS uses portmap!

in.telnetd: all

sshd: 61., 62., 64.179., 65., 67.18.,  69.198., 80.53., 81., 82., 83., 84., \
      128.171., 128.123., 128.146., 128.233., \
      130., 134., 137., 139., 140., 142., 143., 147., 148., 155., 168., 193., 195., 196., 199., \
      200., 201., 202., 203., 205., 206., 207., 209., 210., 211., 212., 213., 217., 218., 219., 220., 221., 222.
</span></pre>
<p><span></p>
<p>Here are hosts.allow &amp; hosts.deny for a more restrictive firewall/mailserver where nobody is expected to ssh in except its administrator, and that is only from a few places outside &amp; anywhere in the LAN.   The hosts.deny script says ALL: ALL, meaning that everybody not found in hosts.allow is denied services.</p>
<p>Hosts.allow:</p>
<p></span></p>
<pre escaped="true"><span># hosts.allow	

ipop3d: 192.168.1.
sendmail: ALL
sshd: 128.372.188.267, 67.679.1.379, 192.168.1.

</span></pre>
<p><span>Hosts.deny:</p>
<p></span></p>
<pre escaped="true"><span># hosts.deny	

ALL: ALL

</span></pre>
<p><span></p>
<p>Decide which way your server&#8217;s TCP needs to be wrappered, most likely to be restrictive&#8230; </span></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.vukomir.info%2F2011%2F02%2F02%2Fhosts-allow-hosts-deny%2F&amp;title=hosts.allow%20hosts.deny" id="wpa2a_2"><img src="http://blog.vukomir.info/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.vukomir.info/2011/02/02/hosts-allow-hosts-deny/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ClamAV + samba</title>
		<link>http://blog.vukomir.info/2011/01/19/clamav-samba/</link>
		<comments>http://blog.vukomir.info/2011/01/19/clamav-samba/#comments</comments>
		<pubDate>Tue, 18 Jan 2011 22:18:34 +0000</pubDate>
		<dc:creator>Ianculov Vucomir</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[centOS]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu / Debian]]></category>
		<category><![CDATA[antivirus]]></category>
		<category><![CDATA[clamav]]></category>
		<category><![CDATA[samba]]></category>

		<guid isPermaLink="false">http://blog.vukomir.info/?p=353</guid>
		<description><![CDATA[This is a howto on getting samba + clamav  to work on a rpm system First thing first I need do install samba file server and clamav anti-virus, after configurating my samba share i have made 2 directory&#8217;s in /home virus logs the virus folder contains the infected files found during scanning and the logs [...]]]></description>
			<content:encoded><![CDATA[<p>This is a howto on getting samba + clamav  to work on a rpm system</p>
<p>First thing first I need do install samba file server and clamav anti-virus, after configurating my samba share i have made 2 directory&#8217;s in /home</p>
<ol>
<li>virus</li>
<li>logs</li>
</ol>
<p>the virus folder contains the infected files found during scanning and the logs folder contains the report of the scanning witch is send bu email to you.</p>
<p>and added a script in crontab in the root account.</p>
<pre class="brush: shell">

#!/bin/bash
TIME=$(date &#039;+%Y-%m-%d-%T&#039;)
/usr/bin/clamdscan --move /home/virus/quarantine -v /home/samba &amp;gt; /home/logs/samba/dailyscan.$TIME
virus=`cat /home/logs/samba/dailyscan.$TIME | grep &quot;Infected files&quot; | awk &#039;{print $3}&#039;`
virus=`cat /home/logs/samba/dailyscan.$TIME | grep &quot;Total errors:&quot; | awk &#039;{print $3}&#039;`
if [ &quot;$virus&quot; != &quot;0&quot; ]; then
mail -u root -s &quot;Virus on Samba File Server : Hostname `hostname`&quot; you@mail.com &amp;lt;/home/logs/samba/dailyscan.$TIME
else if [ &quot;$error&quot; != &quot;0&quot; ]; then
mail -u root -s &quot;Error on virus scan Interliner.eu: Hostname `hostname`&quot; you@mail.com &amp;lt;/home/logs/samba/dailyscan.$TIME
fi
fi
</pre>
<p>and set the script to run once a day, in my case in 11:00pm, because the businesses it is not in the hours <img src='http://blog.vukomir.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . The reson is that i made it run once a day because it task&#8217;s 2 hours to finish the scanning, You can change this <img src='http://blog.vukomir.info/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.vukomir.info%2F2011%2F01%2F19%2Fclamav-samba%2F&amp;title=ClamAV%20%2B%20samba" id="wpa2a_4"><img src="http://blog.vukomir.info/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.vukomir.info/2011/01/19/clamav-samba/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Script pentru afisare utilizatori linux, bash login, home directory</title>
		<link>http://blog.vukomir.info/2009/06/30/script-pentru-afisare-utilizatori-linux-bash-login-home-directory/</link>
		<comments>http://blog.vukomir.info/2009/06/30/script-pentru-afisare-utilizatori-linux-bash-login-home-directory/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 17:36:27 +0000</pubDate>
		<dc:creator>Ianculov Vucomir</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[debina]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.vukomir.info/?p=185</guid>
		<description><![CDATA[[code] #!/bin/bash case $1 in ( list-users ) reset echo "Listing users..... " cat /etc/passwd &#124;cut -d ':' -f1 ;; ( list-valid-users ) reset echo "Listing valid users for god &#62;:)" cat test&#124;grep -w  "/bin/sh"$&#124;cut -f1 -d':' cat test&#124;grep -w  "/bin/bash"$&#124;cut -f1 -d':' ;; ( get-user-home ) reset echo "Listing the users home...and username" echo [...]]]></description>
			<content:encoded><![CDATA[<p>[code]<br />
#!/bin/bash</p>
<p>case $1 in<br />
( list-users )<br />
reset<br />
echo "Listing users..... <img src='http://blog.vukomir.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> "<br />
cat /etc/passwd |cut -d ':' -f1<br />
;;</p>
<p>( list-valid-users )<br />
reset<br />
echo "Listing valid users for god &gt;:)"<br />
cat test|grep -w   "/bin/sh"$|cut -f1 -d':'<br />
cat test|grep -w  "/bin/bash"$|cut -f1 -d':'<br />
;;<br />
( get-user-home )<br />
reset<br />
echo "Listing the users home...and username"<br />
echo "home directori for:" $2<br />
cat /etc/passwd|grep  $2|cut -f6 -d':'<br />
;;<br />
( *  )<br />
reset<br />
echo "Utilizati una din urmatoarele comenzi..."<br />
echo "list-users | list-valid-users | get-user-home &lt;nume utilizator&gt;"</p>
<p>;;</p>
<p>esac<br />
[code]</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.vukomir.info%2F2009%2F06%2F30%2Fscript-pentru-afisare-utilizatori-linux-bash-login-home-directory%2F&amp;title=Script%20pentru%20afisare%20utilizatori%20linux%2C%20bash%20login%2C%20home%20directory" id="wpa2a_6"><img src="http://blog.vukomir.info/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.vukomir.info/2009/06/30/script-pentru-afisare-utilizatori-linux-bash-login-home-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Download Manager BASH</title>
		<link>http://blog.vukomir.info/2009/06/30/download-manager-bash/</link>
		<comments>http://blog.vukomir.info/2009/06/30/download-manager-bash/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 17:16:14 +0000</pubDate>
		<dc:creator>Ianculov Vucomir</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://blog.vukomir.info/?p=176</guid>
		<description><![CDATA[Anul trecut la faculta avem de facut un download manager in bash la SO(Sisteme de operare) printre altele, era un proiect destul de interesant dupa parerea mea, dar ar fi mult mai interesant sa fi avut si o interfata web un script php care sa apeleze comenzile de bash jumatate php jumatate bash nu ii [...]]]></description>
			<content:encoded><![CDATA[<p>Anul trecut la faculta avem de facut un download manager in bash la SO(Sisteme de operare) printre altele, era un proiect destul de interesant dupa parerea mea, dar ar fi mult mai interesant sa fi avut si o interfata web un script php care sa apeleze comenzile de bash jumatate <strong>php</strong> jumatate <strong>bash<br />
</strong>nu ii prea ok vi acasa din oras &#8220;obosit&#8221; si inainte sa te arunci la un somn verifici email-ul si vezi o chestie interesanta si o pui sa downlodeze pe un Network Storage pe care ruleaza linux si ai download manager in bash</p>
<p>deschizi putty te logezi pe ssh pe network storage si dai sa downlodeze &#8220;the thing&#8221; timpul acesta sar scurta daca ai aveo o interfata grafica pe network storage care sa faca downlodurile pe care le dai si nu ai fi nevoit sa iti belesti ochii in fereastra de putty in &#8220;noptile lungi&#8221; <img src='http://blog.vukomir.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Am uitat sa mentionez ca proiectul a fost facut cu 7 ore inainte de al prezenta deoarece ca deobicei am uitat prezentarea de proiect si asa ajungi sa lucrezi noaptea. <img src='http://blog.vukomir.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Download the <a href="http://blog.vukomir.info/wp-content/uploads/2009/06/project.tar">Download Manager BASH</a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.vukomir.info%2F2009%2F06%2F30%2Fdownload-manager-bash%2F&amp;title=Download%20Manager%20BASH" id="wpa2a_8"><img src="http://blog.vukomir.info/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.vukomir.info/2009/06/30/download-manager-bash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>how to run a script at boot time?</title>
		<link>http://blog.vukomir.info/2008/09/28/how-to-run-a-script-at-boot-time-centos/</link>
		<comments>http://blog.vukomir.info/2008/09/28/how-to-run-a-script-at-boot-time-centos/#comments</comments>
		<pubDate>Sun, 28 Sep 2008 12:23:26 +0000</pubDate>
		<dc:creator>Ianculov Vucomir</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[debina]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.vukomir.info/how-to-run-a-script-at-boot-time-2/</guid>
		<description><![CDATA[Your script should be in /etc/init.d/ directory. Then you have to make a symlink from your run-level directory. I.e you&#8217;re in run-level 5 (multiuser with X) chmod +x cp /etc/init.d ln -s /etc/init.d/ /etc/rc.d/rc5.d/S50 ln -s /etc/init.d/ /etc/rc.d/rc5.d/K50]]></description>
			<content:encoded><![CDATA[<p>Your script should be in <strong>/etc/init.d/</strong> directory.<br />
Then you have to make a symlink from your run-level directory.<br />
I.e you&#8217;re in run-level 5 (multiuser with X)</p>
<h5>chmod +x</h5>
<h5>cp  /etc/init.d<br />
ln -s /etc/init.d/ /etc/rc.d/rc5.d/S50<br />
ln -s /etc/init.d/ /etc/rc.d/rc5.d/K50</h5>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.vukomir.info%2F2008%2F09%2F28%2Fhow-to-run-a-script-at-boot-time-centos%2F&amp;title=how%20to%20run%20a%20script%20at%20boot%20time%3F" id="wpa2a_10"><img src="http://blog.vukomir.info/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.vukomir.info/2008/09/28/how-to-run-a-script-at-boot-time-centos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unix Nerd Seeks Love &#8211; Funny Craigslist Post</title>
		<link>http://blog.vukomir.info/2008/09/16/unix-nerd-seeks-love-funny-craigslist-post/</link>
		<comments>http://blog.vukomir.info/2008/09/16/unix-nerd-seeks-love-funny-craigslist-post/#comments</comments>
		<pubDate>Tue, 16 Sep 2008 11:38:14 +0000</pubDate>
		<dc:creator>Ianculov Vucomir</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://blog.vukomir.info/unix-nerd-seeks-love-funny-craigslist-post/</guid>
		<description><![CDATA[This is a real posting at craigslist classifieds: There is a sad truth to the world today. I am part of a dying breed of people known as “shell users.” We are an old-fashioned bunch, preferring the warm glow of a green screen full of text over the cold blockiness of a graphical interface. We [...]]]></description>
			<content:encoded><![CDATA[<p>This is a real posting at craigslist classifieds: There is a sad truth to the world today. I am part of a dying breed of people known as “<span class="st_tag internal_tag">shell</span> users.” We are an old-fashioned bunch, preferring the warm glow of a green screen full of text over the cold blockiness of a graphical interface. We use ssh, scp, and even occassionally ftp. Back in the days before high-speed connections (”broadband”), we would dial up during off-hours to avoid being slammed with huge phone bills. The whole “Microsoft Windows” fad will fade away sooner or later, but in the interim, our kind is facing extinction.</p>
<p>Because there are fewer and fewer of us, I must help keep our lineage alive. I am looking for someone to help me do this. I need a woman (obviously) who is willing to raise a child with me in the method of <span class="st_tag internal_tag">Unix</span>. Our child will be introduced to computers at a young age, and will be setting emacs mode before any other child can even read. I earn a sufficient income to support a family in modest comfort. Other than the fact our child will be bright, text-based and sarcastic, we will otherwise be a normal family. We will even go to Disney World and see Mickey Mouse.</p>
<p>So, if you are a woman between the ages of 23 and 43 who is ready to raise a child in the way of the <span class="st_tag internal_tag">shell</span>, let me know so we can begin the process. (If you are ready to raise more than one child, even better.)</p>
<p>PS &#8211; yes, this is for real. Given the right person, I would obviously propose before we … call fork().<br />
PPS &#8211; I only set emacs mode for my ksh session. I only edit files using vi. Just wanted to clear that up. And I’m looking to raise the child(ren) as a dedicated couple, so if you aren’t interested in being married, you may wish to select() a different posting.</p>
<p>N.B. &#8211; on the issue of relocation. I live in a place where my income/expense ratio is proper (i.e., greater than 2:1). I’m willing to live anywhere in the world where this remains true. I’ve been to much of the country as well as foreign nations. There are no limits to where I will live *so long as the job market for <span class="st_tag internal_tag">unix</span> admins is robust enough to be sustainable.* And yes, I am interested in a strictly monogamous situation. I’ve been known to actually turn down offers of “two chicks at the same time.”</p>
<p>By <a href="http://reversemonster.org/rmblog/unix-nerd-seeks-love-funny-craigslist-post"><font color="#0000ff">ReverseMonster</font></a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.vukomir.info%2F2008%2F09%2F16%2Funix-nerd-seeks-love-funny-craigslist-post%2F&amp;title=Unix%20Nerd%20Seeks%20Love%20%26%238211%3B%20Funny%20Craigslist%20Post" id="wpa2a_12"><img src="http://blog.vukomir.info/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.vukomir.info/2008/09/16/unix-nerd-seeks-love-funny-craigslist-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian pptpd HOWTO</title>
		<link>http://blog.vukomir.info/2008/06/13/debian-pptpd-howto/</link>
		<comments>http://blog.vukomir.info/2008/06/13/debian-pptpd-howto/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 07:43:22 +0000</pubDate>
		<dc:creator>Ianculov Vucomir</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu / Debian]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://blog.vukomir.info/debian-pptpd-howto/</guid>
		<description><![CDATA[Installing MPPE Support Most people want their tunnels encrypted. Check the version of your kernel; if it is below 2.6.15-rc1 then you do not have MPPE support. To check further, test like this: # modprobe ppp-compress-18 &#38;&#38; echo success If this fails, follow the Debian MPPE HOWTO, then return here. Installing the Server ProgramInstall the [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Installing MPPE Support</strong> Most people want their tunnels encrypted.  Check the version of your kernel; if it is below 2.6.15-rc1 then you do not have MPPE support. To check further, test like this:</p>
<table border="0" cellpadding="6" width="90%" bgcolor="#d8f8d8">
<tbody>
<tr>
<td><tt># modprobe ppp-compress-18 &amp;&amp; echo success </tt></td>
</tr>
</tbody>
</table>
<p>If this fails, follow the <a href="http://pptpclient.sourceforge.net/howto-debian-build.phtml">Debian MPPE HOWTO</a>, then return here.<a title="install" name="install"></a></p>
<hr noshade="noshade" /><strong>Installing the Server Program</strong>Install the <em>pptpd</em> package from the Debian Project:</p>
<table border="0" cellpadding="6" width="90%" bgcolor="#d8f8d8">
<tbody>
<tr>
<td><tt># apt-get install pptpd </tt></td>
</tr>
</tbody>
</table>
<p><a title="configure" name="configure"></a></p>
<hr noshade="noshade" /><strong>Configure IP Address Range</strong>Edit the file <tt>/etc/pptpd.conf</tt> for the IP address range, for example:</p>
<table border="0" cellpadding="6" width="90%" bgcolor="#d8f8d8">
<tbody>
<tr>
<td><tt>localip 192.168.0.1<br />
remoteip 192.168.0.234-238,192.168.0.245 </tt></td>
</tr>
</tbody>
</table>
<p>Note: see pptpd.conf(5) for more details on the other options.Note: you will need to restart <em>pptpd</em> to make changes to <tt>/etc/pptpd.conf</tt> effective:</p>
<table border="0" cellpadding="6" width="90%" bgcolor="#d8f8d8">
<tbody>
<tr>
<td><tt># /etc/init.d/pptpd restart </tt></td>
</tr>
</tbody>
</table>
<p><a title="users" name="users"></a></p>
<hr noshade="noshade" /><strong>Adding Users</strong>Configure <tt>/etc/ppp/chap-secrets</tt> for the accounts, for example:</p>
<table border="0" cellpadding="6" width="90%" bgcolor="#d8f8d8">
<tbody>
<tr>
<td><tt># echo "username pptpd password *" &gt;&gt; /etc/ppp/chap-secrets </tt></td>
</tr>
</tbody>
</table>
<p>Note: this method has all the usernames in one file.  There are other ways, including authentication using Radius, or using Samba.  Check the mailing list (<a href="https://lists.sourceforge.net/lists/listinfo/poptop-server">subscribe</a>, <a href="http://marc.theaimsgroup.com/?l=poptop-server&amp;r=1&amp;w=2">archives</a>).Note: you do not need to restart <em>pptpd</em>, a change to <tt>chap-secrets</tt> is effective for the next connection.<a title="testing" name="testing"></a></p>
<hr noshade="noshade" /><strong>Testing</strong>Attempt a connection from a client.  On successful connection, a new interface should be created (e.g. ppp0), and the remote IP address of the interface should be pingable.  If so, the rest of your problems are likely to be routing.Note: if you need to set up a Debian test client, see the <a href="http://pptpclient.sourceforge.net/howto-debian.phtml">PPTP Client Debian HOWTO</a>.  The test client cannot be on the same host, it doesn&#8217;t work.To diagnose faults, enable the options <em>debug dump</em> in <tt>/etc/ppp/pptpd-options</tt>.  The change is effective on the next connection.  The <em>debug</em> output goes to <tt>/var/log/debug</tt>, and the <em>dump</em> output and usual output to <tt>/var/log/messages</tt>.</p>
<p><a title="patching" name="patching"></a></p>
<hr noshade="noshade" /><strong>Patching</strong>If you need to adopt a source code change made in CVS after the version you are running, see our <a href="http://poptop.sourceforge.net/dox/debian-patching.phtml">Applying patches to Debian pptpd</a> page.<a title="performance" name="performance"></a></p>
<hr noshade="noshade" /><strong>Performance Notes</strong>On a Debian system there may be scripts run by <em>pppd</em> when a network interface is brought up.  These scripts are in the <tt>/etc/ppp/ip-up.d</tt> directory.Some of these scripts may run with incorrect assumptions &#8230; in particular the Debian Sarge <em>exim4</em> package includes a script <tt>/etc/ppp/ip-up.d/exim4</tt> that restarts <em>exim4</em> or runs the queue.  The assumption in this script is that the system has just connected to the internet through the PPP link.You may wish to customise this script.  If your server has a default route via an ethernet interface, then either remove the script or add an <em>exit</em> command near the top.</p>
<hr noshade="noshade" />
<h3><a title="comments" name="comments"></a>Comments</h3>
<p>If you have <em>comments</em> on this document, please send them to the author at james.cameron at hp.com.  But if you <em>need help</em>, use the mailing list  (<a href="https://lists.sourceforge.net/lists/listinfo/poptop-server">subscribe</a>, <a href="http://marc.theaimsgroup.com/?l=poptop-server&amp;r=1&amp;w=2">archives</a>) so that we can share the load.</p>
<p><a href="http://poptop.sourceforge.net/dox/debian-howto.phtml">Sursa</a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.vukomir.info%2F2008%2F06%2F13%2Fdebian-pptpd-howto%2F&amp;title=Debian%20pptpd%20HOWTO" id="wpa2a_14"><img src="http://blog.vukomir.info/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.vukomir.info/2008/06/13/debian-pptpd-howto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Basic Linux Commands</title>
		<link>http://blog.vukomir.info/2008/06/01/basic-linux-commands/</link>
		<comments>http://blog.vukomir.info/2008/06/01/basic-linux-commands/#comments</comments>
		<pubDate>Sun, 01 Jun 2008 13:35:28 +0000</pubDate>
		<dc:creator>Ianculov Vucomir</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.vukomir.info/basic-linux-commands/</guid>
		<description><![CDATA[cd (change directory) cd myfolder Changes the current working directory to &#8220;myfolder&#8221; cd .. Go up one level to the current working directory. cd ../.. Go up two levels to the current working directory. cd / Changes the current working directory to the root directory. cd ~ Changes the current working directory to your home [...]]]></description>
			<content:encoded><![CDATA[<table class="MsoNormalTable" style="width: 100%" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td colspan="2" style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal" style="text-align: center" align="center"><strong>cd (change   directory)</strong></p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt; width: 24%" width="24%">
<p class="MsoNormal">cd myfolder</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt; width: 76%" width="76%">
<p class="MsoNormal">Changes the current working directory to   &#8220;myfolder&#8221;</p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">cd ..</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">Go up one level to the current working directory.</p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">cd ../..</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">Go up two levels to the current working directory.</p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">cd /</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">Changes the current working directory to the root   directory.</p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">cd ~</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">Changes the current working directory to your home   directory.</p>
</td>
</tr>
</table>
<p><span id="more-107"></span></p>
<p class="MsoNormal">
<table class="MsoNormalTable" style="width: 100%" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td colspan="2" style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal" style="text-align: center" align="center"><strong>mkdir (Make   directory)</strong></p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt; width: 24%" width="24%">
<p class="MsoNormal">mkdir Photos</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt; width: 76%" width="76%">
<p class="MsoNormal">Create a new folder called &#8220;Photos&#8221; in the   current directory.</p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">mkdir /Photos</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">Create a new folder called &#8220;Photos&#8221; in the root   directory.</p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">mkdir ~/Photos</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">Create a new folder called &#8220;Photos&#8221; in your home   directory.</p>
</td>
</tr>
</table>
<p class="MsoNormal">
<table class="MsoNormalTable" style="width: 100%" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td colspan="2" style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal" style="text-align: center" align="center"><strong>ls (list)</strong></p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt; width: 24%" width="24%">
<p class="MsoNormal">ls</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt; width: 76%" width="76%">
<p class="MsoNormal">list the file names in the current working directory.</p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">ls -l</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">list the file names with &#8220;long&#8221;   description/information (size, privilages, etc)</p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">ls -a</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">list &#8220;all&#8221; file names in the current working   directory including the hidden files.</p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">ls -l *.jpg</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">list the file names ending in &#8220;.jpg&#8221; and display   it in &#8220;long&#8221; description format(-l)</p>
</td>
</tr>
</table>
<p class="MsoNormal">
<table class="MsoNormalTable" style="width: 100%" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td colspan="2" style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal" style="text-align: center" align="center"><strong>cp (copy)</strong></p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">cp my.cnf /etc/my.cnf</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">Copy the file &#8220;my.cnf&#8221; and put it inside the   root -&gt; etc folder.</p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">cp tax05.db ~/Taxes</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">Copy the file name &#8220;tax05.db&#8221; and put it inside   my home directory -&gt; Taxes folder</p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">cp &#8220;.jpg ~/Photos</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">Copy all the files with &#8220;.jpg&#8221; extention and put   them inside my home directory -&gt; Photos folder</p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">cp -R ~/Docs /backups/&#8217;Docs Backup&#8217;</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">Copy the entire &#8220;Docs&#8221; directory from my home   page and put it inside the root -&gt; backups and call it &#8220;Docs   backup&#8221; (use quotes if you use folder names with space. example: &#8216;Docs   Backup&#8217; (-R stands for &#8220;Recursive&#8221;)</p>
</td>
</tr>
</table>
<p class="MsoNormal">
<table class="MsoNormalTable" style="width: 100%" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td colspan="2" style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal" style="text-align: center" align="center"><strong>mv (Move or Rename)</strong></p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">mv badletter.txt niceletter.txt</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">Rename the file &#8220;badletter.txt&#8221; to   &#8220;niceletter.txt&#8221; in the current directory.</p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">mv Pictures Photos</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">Rename the folder &#8220;Pictures&#8221; to   &#8220;Photos&#8221; in the current directory.</p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">mv *.jpg ~/Photos</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">Move all the files with &#8220;.jpg&#8221; extention and put   them inside my home directory -&gt; Photos folder</p>
</td>
</tr>
</table>
<p class="MsoNormal">
<table class="MsoNormalTable" style="width: 100%" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td colspan="2" style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal" style="text-align: center" align="center"><strong>rm (Remove)</strong></p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">rm ~/BadPhotos/*.jpg</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">Delete all the files with the &#8216;.jpg&#8217; extention inside your   home directory -&gt; &#8220;BadPhotos&#8221; folder.</p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">rm -R Temp</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">Delete the &#8220;Temp&#8221; directory and all of its   contents in the current directory (-R stands for &#8220;Recursive&#8221;)</p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">rm -fr Temp</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">Delete the &#8220;Temp&#8221; directory and all of its   contents including write-protected files without prompting in the current   directory (-f stands for &#8220;force&#8221; -r stands for   &#8220;recursive&#8221;)</p>
</td>
</tr>
</table>
<p class="MsoNormal">
<table class="MsoNormalTable" style="width: 100%" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td colspan="2" style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal" style="text-align: center" align="center"><strong>find (files and   folders)</strong></p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt; width: 24%" width="24%">
<p class="MsoNormal">find ~ -name myletter.doc -print</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt; width: 76%" width="76%">
<p class="MsoNormal">Search for the file names &#8220;myletter.doc&#8221; inside   my home directory and print the result to the screen</p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">sudo find / -name mysql -print</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">Search for the file and folder names &#8220;mysql*&#8221;   starting from the root directory and everywhere within it and print the   result to the screen. (use &#8220;sudo&#8221; to get root access temporarily.)</p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">find . -name myletter.doc -print</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">Search for the file names &#8220;myletter.doc&#8221; inside   the current directory and print the result to the screen</p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">find . -name &#8216;myletter*&#8217; -print</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">Search for the file names starting &#8220;myletter&#8221;   inside the current directory and print the result to the screen</p>
</td>
</tr>
</table>
<p class="MsoNormal">
<table class="MsoNormalTable" style="width: 100%" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td colspan="2" style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal" style="text-align: center" align="center"><strong>locate (similar to   find)</strong></p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt; width: 24%" width="24%">
<p class="MsoNormal">locate ~ -name myletter.doc</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt; width: 76%" width="76%">
<p class="MsoNormal">Search for the file names &#8220;myletter.doc&#8221; inside   my home directory and print the result to the screen</p>
</td>
</tr>
</table>
<p class="MsoNormal">
<table class="MsoNormalTable" style="width: 100%" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td colspan="2" style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal" style="text-align: center" align="center"><strong>pwd (print working   directory</strong>)</p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt; width: 24%" width="24%">
<p class="MsoNormal">pwd</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt; width: 76%" width="76%">
<p class="MsoNormal">Displays the pathname of the current working directory.</p>
</td>
</tr>
</table>
<p class="MsoNormal">
<table class="MsoNormalTable" style="width: 100%" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td colspan="2" style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal" style="text-align: center" align="center"><strong>who (who logged in)</strong></p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">who</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">Displays who is logged into the system.</p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">who am i</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">Displays my user name.</p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt; width: 24%" width="24%">
<p class="MsoNormal">who -uH</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt; width: 76%" width="76%">
<p class="MsoNormal">Displays who is logged into the system including heading   &#8220;H&#8221; and idle time information.</p>
</td>
</tr>
</table>
<p class="MsoNormal">
<table class="MsoNormalTable" style="width: 100%" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td colspan="2" style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal" style="text-align: center" align="center"><strong>su (set user) &#8211;   type exit to switch back to your own identity</strong></p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt; width: 24%" width="24%">
<p class="MsoNormal">su</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt; width: 76%" width="76%">
<p class="MsoNormal">Temporarily become the root user. (this will give you root   access privilages and the most control over the OS) &#8211; it will prompt you for   the administrator password.</p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">su username</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">Temporarily become another user called   &#8220;username&#8221; (replace &#8220;username&#8221; with the user that you   wish to use as your new identity &#8211; this will give you access privilages for   the &#8220;username&#8221;) &#8211; it will prompt you for the that user&#8217;s password.</p>
</td>
</tr>
</table>
<p class="MsoNormal">
<table class="MsoNormalTable" style="width: 100%" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td colspan="2" style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal" style="text-align: center" align="center">sudo (set user and   do . . . . . . ) &#8211; similar to su except &#8216;su&#8217; will give you prompt but &#8216;sudo&#8217;   you can start typing commands right after the &#8216;sudo&#8217; command.</p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt; width: 24%" width="24%">
<p class="MsoNormal">sudo find / -name mysql -print</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt; width: 76%" width="76%">
<p class="MsoNormal">Temporarily changes your identity to the root user so you   can search for all the files including the once that require root access   privilage. It prompts you for administrator/root password</p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">sudo Bobuser rm /Users/Bobuser/Photos/myphoto.jpg</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">Temporarily changes your identity to the   &#8220;Bobuser&#8221; identity so you can delete a photo named   &#8220;myphoto.jpg&#8221; from the home directory -&gt; Photos folder belonging   to Bobuser &#8211; It prompts you for &#8220;Bobuser&#8221;&#8216;s password.</p>
</td>
</tr>
</table>
<p class="MsoNormal">
<table class="MsoNormalTable" style="width: 100%" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td colspan="2" style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal" style="text-align: center" align="center"><strong>ps (running   processes)</strong></p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">ps -aux</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">List detailed information on all running processes.</p>
</td>
</tr>
</table>
<p class="MsoNormal">
<table class="MsoNormalTable" style="width: 100%" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td colspan="2" style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal" style="text-align: center" align="center"><strong>top (CPU-intensive   processes currently running) &#8211; press the &#8220;q&#8221; key to quit the   &#8220;top&#8221; utility</strong></p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">top -us10</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">List all running processes sorted by CPU usage &#8211;   descending and updating every 10 seconds &#8211; don&#8217;t forget to press the   &#8220;q&#8221; key to quit, otherwise it will run continuously.</p>
</td>
</tr>
</table>
<p class="MsoNormal">
<table class="MsoNormalTable" style="width: 100%" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td colspan="2" style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal" style="text-align: center" align="center"><strong>kill</strong></p>
</td>
</tr>
<tr>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">kill -9 160</p>
</td>
<td style="border: 0pt inset #999999; padding: 2.25pt">
<p class="MsoNormal">Terminate the process ID # 160 at once without any   hesitation.</p>
</td>
</tr>
</table>
<p class="MsoNormal">
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.vukomir.info%2F2008%2F06%2F01%2Fbasic-linux-commands%2F&amp;title=Basic%20Linux%20Commands" id="wpa2a_16"><img src="http://blog.vukomir.info/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.vukomir.info/2008/06/01/basic-linux-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inca un pinguin la colectie</title>
		<link>http://blog.vukomir.info/2008/05/24/inca-un-pinguin-la-colectie/</link>
		<comments>http://blog.vukomir.info/2008/05/24/inca-un-pinguin-la-colectie/#comments</comments>
		<pubDate>Sat, 24 May 2008 16:40:42 +0000</pubDate>
		<dc:creator>Ianculov Vucomir</dc:creator>
				<category><![CDATA[Diverse]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[pinguini]]></category>

		<guid isPermaLink="false">http://blog.vukomir.info/inca-un-pinguin-la-colectie/</guid>
		<description><![CDATA[Am fost si eu astazi prin oras sa caut un cadou, nu dau nume pt cine ) pana sa ma hotarasc ce cadou sa iau mi-am facut mie cadouri ptrintre care un pinguin care lam pus la colectie cu ceilalti &#8220;big happy penguin family&#8221; )]]></description>
			<content:encoded><![CDATA[<p>Am fost si eu astazi prin oras sa caut un cadou, nu dau nume pt cine <img src='http://blog.vukomir.info/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ) pana sa ma hotarasc ce cadou sa iau mi-am facut mie cadouri ptrintre care un pinguin care lam pus la colectie cu ceilalti &#8220;big happy penguin family&#8221; <img src='http://blog.vukomir.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> )</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.vukomir.info%2F2008%2F05%2F24%2Finca-un-pinguin-la-colectie%2F&amp;title=Inca%20un%20pinguin%20la%20colectie" id="wpa2a_18"><img src="http://blog.vukomir.info/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.vukomir.info/2008/05/24/inca-un-pinguin-la-colectie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu PXE Install</title>
		<link>http://blog.vukomir.info/2008/04/25/ubuntu-pxe-install/</link>
		<comments>http://blog.vukomir.info/2008/04/25/ubuntu-pxe-install/#comments</comments>
		<pubDate>Fri, 25 Apr 2008 23:10:03 +0000</pubDate>
		<dc:creator>Ianculov Vucomir</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu / Debian]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[mass]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.vukomir.info/ubuntu-pxe-install/</guid>
		<description><![CDATA[hmmm trebuia sa instalez pe 23 de systeme windows/ubuntu , sa instalez pe fiecare in parte nici nu intra in vorba puteam sa instalez pe un sistem si sa fac clona cu norton si sa arunc clona pe fiecare sistem in parte si era ok sau prin retea sa butez clona&#8230;..sau cum avem ubuntu server [...]]]></description>
			<content:encoded><![CDATA[<p>hmmm trebuia sa instalez pe 23 de systeme windows/ubuntu <img src='http://blog.vukomir.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> , sa instalez pe fiecare in parte nici nu intra in vorba puteam sa instalez pe un sistem si sa fac clona cu norton si sa arunc clona pe fiecare sistem in parte si era ok sau prin retea sa butez clona&#8230;..sau cum avem ubuntu server cu ldap si samba m-am hotarat sa fac prin network boot <img src='http://blog.vukomir.info/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><a href="http://wiki.koeln.ccc.de/index.php/Ubuntu_PXE_Install">http://wiki.koeln.ccc.de/index.php/Ubuntu_PXE_Install</a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.vukomir.info%2F2008%2F04%2F25%2Fubuntu-pxe-install%2F&amp;title=Ubuntu%20PXE%20Install" id="wpa2a_20"><img src="http://blog.vukomir.info/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.vukomir.info/2008/04/25/ubuntu-pxe-install/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

