<?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>:: Cybermogi on BlogMood 3 :: &#187; Linux</title>
	<atom:link href="http://blog.cybermogi.com/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.cybermogi.com</link>
	<description>Long time no &#039;see&#039;</description>
	<lastBuildDate>Thu, 26 Jan 2012 04:49:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>:: How to kill a process by process name from Ubuntu command line ::</title>
		<link>http://blog.cybermogi.com/2011/02/how-to-kill-a-process-by-process-name-from-ubuntu-command-line/</link>
		<comments>http://blog.cybermogi.com/2011/02/how-to-kill-a-process-by-process-name-from-ubuntu-command-line/#comments</comments>
		<pubDate>Fri, 11 Feb 2011 01:45:34 +0000</pubDate>
		<dc:creator>arimogi</dc:creator>
				<category><![CDATA[About me]]></category>
		<category><![CDATA[Ilkom UNUD]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Teknik Informatika]]></category>

		<guid isPermaLink="false">http://blog.cybermogi.com/?p=483</guid>
		<description><![CDATA[Today, my friend Buda Blank has got some problem to make a shell-script. He must kill some process that specified by process name in his shell-script. He asked me about it. Unfortunately, I only know about ‘kill -9&#8242; and ‘ps &#8230; <a href="http://blog.cybermogi.com/2011/02/how-to-kill-a-process-by-process-name-from-ubuntu-command-line/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today, my friend Buda Blank has got some problem to make a shell-script. He must kill some process that specified by process name in his shell-script. He asked me about it.</p>
<p>Unfortunately, I only know about ‘kill -9&#8242; and ‘ps aux’ commands. With ‘kill’ command we can terminate a process with its PID number, and I have thought about grabbing the PID by its name via ‘ps aux’, and send it to ‘awk’ and finally send it to ‘kill’; and I try to build the shell-script.</p>
<p>On the other hand, I’ve tried to google it, and immediately got the result. I did a copy-paste-standard-procedure to my blog here, LoL.</p>
<p>Moreover, I’ve finally got it from http://www.howtogeek.com/</p>
<p>There are a number of ways to kill a process if you know the name of the process. Here’s a couple different ways you can accomplish this. We are going to assume that the process we are trying to kill is named irssi</p>
<p>kill $(pgrep irssi)</p>
<p>killall -v irssi</p>
<p>pkill irssi</p>
<p>kill `ps -ef | grep irssi | grep -v grep | awk ‘{print $2}’`</p>
<p>These techniques can be useful in shell scripts, where you wouldn’t know the process ID and would need to restart or kill a process.<br />
Thanks to Howtogeek.com.</p>
<p>http://blog.cybermogi.net</p>
<p>http://cybermogi.net</p>
<p>http://cybermogi.com</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cybermogi.com/2011/02/how-to-kill-a-process-by-process-name-from-ubuntu-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>:: Agregasi Berita di Blogmood Cybermogi.net ::</title>
		<link>http://blog.cybermogi.com/2011/01/agregasi-berita-di-blogmood-cybermogi-net/</link>
		<comments>http://blog.cybermogi.com/2011/01/agregasi-berita-di-blogmood-cybermogi-net/#comments</comments>
		<pubDate>Wed, 26 Jan 2011 01:33:16 +0000</pubDate>
		<dc:creator>arimogi</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.cybermogi.com/?p=468</guid>
		<description><![CDATA[Ternyata blog ini masih di-pantau oleh Balung, hehehe… buktinya artikel Play Nethack masih juga tampil disana, meskipun beberapa saat pernah tidak aktif karena pindah hosting. Ok, tahun ini seperti tahun-tahun sebelumnya, saya harus lebih rajin menulis di Blog ini, karena &#8230; <a href="http://blog.cybermogi.com/2011/01/agregasi-berita-di-blogmood-cybermogi-net/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Ternyata blog ini masih di-pantau oleh Balung, hehehe… buktinya artikel Play Nethack masih juga tampil disana, meskipun beberapa saat pernah tidak aktif karena pindah hosting. Ok, tahun ini seperti tahun-tahun sebelumnya, saya harus lebih rajin menulis di Blog ini, karena PR saya turun drastis, dari 3 menjadi 0, hahaha…</p>
<p>http://www.cybermogi.net || http://www.cybermogi.com</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cybermogi.com/2011/01/agregasi-berita-di-blogmood-cybermogi-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>:: Check your Laptop Battery Status From the Terminal ::</title>
		<link>http://blog.cybermogi.com/2009/09/check-your-laptop-battery-status-from-the-terminal/</link>
		<comments>http://blog.cybermogi.com/2009/09/check-your-laptop-battery-status-from-the-terminal/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 05:59:00 +0000</pubDate>
		<dc:creator>arimogi</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.cybermogi.net/?p=260</guid>
		<description><![CDATA[0&#215;01. Introduction Sometimes, we have no graphical user interface installed on our laptop, but we have to check out the laptop battery status. Using &#8216;acpi&#8217; command, we can check the laptop battery status instantly. 0.02. ACPI command line We can &#8230; <a href="http://blog.cybermogi.com/2009/09/check-your-laptop-battery-status-from-the-terminal/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>0&#215;01. Introduction</p>
<p>Sometimes, we have no graphical user interface installed on our laptop, but we have to check out the laptop battery status. Using &#8216;acpi&#8217; command, we can check the laptop battery status instantly.</p>
<p><span id="more-260"></span><br />
0.02. ACPI command line</p>
<p>We can check our laptop battery status from the terminal or console, using &#8216;acpi&#8217; command. With Ubuntu, we have to install &#8216;acpi&#8217; first by type command in your terminal :</p>
<p>$ sudo apt-get install acpi</p>
<p>Here are few basic command that frequently use to check laptop battery status.</p>
<p>1. Command to check the state of the charge of battery:<br />
	$ acpi</p>
<p>   The output could be something like this:<br />
	Battery 1: discharging, 90%, 02:00:09 remaining</p>
<p>   We can compare the percentage and the remaining time. If you have big number for the percentage, but you only have few minutes for the remaining time, that&#8217;s mean you have to find another new battery.</p>
<p>2. Command to check the battery temperature:<br />
	$ acpi -t</p>
<p>   represent the battery temperature in Fahrenheit:<br />
	$ acpi -t -f</p>
<p>3. Command to check the AC Power Status<br />
	$ acpi -a</p>
<p>4. Command to check all status (verbose all) :<br />
	$ acpi -V</p>
<p>Another command tool that we can use is &#8216;acpitool&#8217;. Make sure that we have &#8216;acpitool&#8217; installed. We can install &#8216;acpitool&#8217; by command:</p>
<p>	$ sudo apt-get install acpitool</p>
<p>Commands that we can use to check laptop battery status:</p>
<p>1. Command to show information about the laptop battery status<br />
	$ acpitool</p>
<p>2. Command to show detailed information about the laptop battery status<br />
	$ acpitool -B</p>
<p>	We can combine with verbose option &#8216;v&#8217; for show more verbose output when something is not found.</p>
<p>3. Command to show information about AC Power.<br />
	$ acpitool -a</p>
<p>or we can use command below for simple check laptop battery status:</p>
<p> 	$ cat /proc/acpi/battery/BAT0/state</p>
<p>	and for detailed information about battery</p>
<p>	$ cat /proc/acpi/battery/BAT0/info</p>
<p>0&#215;03. Conclution<br />
	By using &#8216;acpi&#8217; command line, or &#8216;acpitool&#8217;, or open &#8216;/proc/acpi/battery/BAT0/info&#8217;, we can check the laptop battery status. I hope this can useful or solve your problem, need your suggestion for the future work for this website.</p>
<p>0&#215;04. References</p>
<p>1. http://www.go2linux.org/laptop-battery-status-with-linux-console-command-acpi<br />
2. http://www.columbia.edu/~ariel/acpi/acpi_howto.txt<br />
3. http://ubuntuforums.org/archive/index.php/t-475801.html</p>
<p>0&#215;05. Best Regards<br />
Tabik,</p>
<p>Ari Mogi<br />
==============================================<br />
Teknik Informatika [Information Engineering]<br />
Jurusan Ilmu Komputer [Computer Science Dept.]<br />
Fakultas MIPA [Faculty of Mathematics and Natural Sciences]<br />
Universitas Udayana [Udayana University]<br />
==============================================</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cybermogi.com/2009/09/check-your-laptop-battery-status-from-the-terminal/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>:: What&#8217;s your application on your Ubuntu ::</title>
		<link>http://blog.cybermogi.com/2009/07/whats-your-application-on-your-ubuntu/</link>
		<comments>http://blog.cybermogi.com/2009/07/whats-your-application-on-your-ubuntu/#comments</comments>
		<pubDate>Thu, 16 Jul 2009 05:57:28 +0000</pubDate>
		<dc:creator>arimogi</dc:creator>
				<category><![CDATA[About me]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.cybermogi.net/?p=245</guid>
		<description><![CDATA[I always install this all application on my ubuntu : 1. mc 2. wine 3. thunderbird 4. amarok 5. grande 6. awn 7. apache 8. mysql 9. php 10. kobo-deluxe 11. bluefish 12. skencil 13. gparted 14. vmware 15. lib: &#8230; <a href="http://blog.cybermogi.com/2009/07/whats-your-application-on-your-ubuntu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I always install this all application on my ubuntu :</p>
<p>1. mc<br />
2. wine<br />
3. thunderbird<br />
4. amarok<br />
5. grande<br />
<span id="more-245"></span><br />
6. awn<br />
7. apache<br />
8. mysql<br />
9. php<br />
10. kobo-deluxe<br />
11. bluefish<br />
12. skencil<br />
13. gparted<br />
14. vmware<br />
15. lib: unrar, zip, 7zip, dll<br />
16. lib: mp3, mpeg, avi, divx<br />
17. opera<br />
18. swf-linux<br />
19. mkisofs<br />
20. squashfs</p>
<p>don&#8217;t forget nmap, inkscape and audacious.</p>
<p>What&#8217;s about yours?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cybermogi.com/2009/07/whats-your-application-on-your-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>:: Jaunty Jackalope on Mortred-laptop ::</title>
		<link>http://blog.cybermogi.com/2009/07/jaunty-jackalope-on-mortred-laptop-teknik-informatika-udayana/</link>
		<comments>http://blog.cybermogi.com/2009/07/jaunty-jackalope-on-mortred-laptop-teknik-informatika-udayana/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 02:33:06 +0000</pubDate>
		<dc:creator>arimogi</dc:creator>
				<category><![CDATA[Ilkom UNUD]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[foss]]></category>
		<category><![CDATA[Jaunty Jackalope]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[Teknik Informatika]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Universitas Udayana]]></category>

		<guid isPermaLink="false">http://blog.cybermogi.net/?p=234</guid>
		<description><![CDATA[Akhirnya, setelah sekian lama (baca: proses backup harddisk dan beres-beres dokumen); saya pun menginstall Ubuntu 9.04 a.k.a Jaunty Jackalope, saya menginstallnya awalnya adalah untuk proses remastering, namun karena terbiasa bekerja di sini (Jaunty Jackalope) akhirnya keterusan deh. Beberapa bug yang &#8230; <a href="http://blog.cybermogi.com/2009/07/jaunty-jackalope-on-mortred-laptop-teknik-informatika-udayana/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Akhirnya, setelah sekian lama (baca: proses backup harddisk dan beres-beres dokumen); saya pun menginstall Ubuntu 9.04 a.k.a Jaunty Jackalope, saya menginstallnya awalnya adalah untuk proses remastering, namun karena terbiasa bekerja di sini (Jaunty Jackalope) akhirnya keterusan deh. Beberapa bug yang saya ketahui telah diperbaiki, antara lain bug ketika Open Office memanggil shortcut, misalnya saya menekan Ctrl-A, tapi yang muncul dialog open file, ketika saya menekan Ctrl-O, yang terjadi adalah tulisan yang diketik tercetak miring, hehehehe&#8230; aneh banget kan?<br />
<span id="more-234"></span><br />
Tapi di Ubuntu 9.04 (Jaunty Jackalope) ini semua bug itu sudah tidak ada lagi, dan yang saya lakukan adalah menginstall beberapa aplikasi standar yang saya perlukan antara lain BlueFish, Skencil, Cube, Grande, Kobo Deluxe, mc, mkisofs, dll. Nah, yang saya butuhkan adalah repository yang terdekat yang dapat digunakan, saya sempat bertanya ke beberapa mahasiswa, tapi mereka tidak memiliki ISO untuk repository ini. Tapi ada beberapa yang dapat diakses secara internal (baca: intranet) menggunakan jaringan di program studi, servernya dibuat oleh mahasiswa-mahasiswa yang tergabung dalam SIC (Student Innovation Centre &#8211; Program Studi Teknik Informatika Jurusan Ilmu Komputer Fakultas MIPA Universitas Udayana) bidang minat FOSS, yang juga merupakan Helpdesk dari FOSS Indonesia (Free Open Source Software). Server dan helpdesk ini terletak di Gedung Program Studi Teknik Informatika Jurusan Ilmu Komputer Fakultas MIPA Universitas Udayana (bagi yang membutuhkan bantuan seputar Open Source Software, berikutnya saya akan lampirkan denahnya); di belakang Gedung Administrasi Fakultas Pertanian Universitas Udayana.</p>
<p>Kalau kebetulan anda berada di seputaran gedung tersebut (Program Studi Teknik Informatika Jurusan Ilmu Komputer Fakultas MIPA Universitas Udayana) silahkan anda dapat meminta tiket akses wifi kepada helpdesk atau pengurus SIC dengan persetujuan ketua Jurusan untuk dapat menggunakan repository di sana.</p>
<p>Berikut ini juga saya sertakan beberapa repository yang dapat kita gunakan selain repository yang resmi dari Kanonikal dan Ubuntu. Diambil dari : http://catatanpinguin.wordpress.com; repository yang ada di siniadalah repository yang berada di Indonesia, dengan alasan kecepatan koneksi dan posisi pengguna.</p>
<p><b>mirror.cbn.net.id (OpenIXP)</b><br />
1. deb http://ubuntu.cbn.net.id/Ubuntu jaunty main restricted universe multiverse<br />
2. deb http://ubuntu.cbn.net.id/Ubuntu jaunty-updates main restricted universe multiverse<br />
3. deb http://ubuntu.cbn.net.id/Ubuntu jaunty-security main restricted universe multiverse<br />
4. deb http://ubuntu.cbn.net.id/Ubuntu jaunty-backports main restricted universe multiverse<br />
5. deb http://ubuntu.cbn.net.id/Ubuntu jaunty-proposed main restricted universe multiverse</p>
<p><b>kambing.ui.edu (UI, Telkom, Indosat, OpenIXP, INHERENT)</b><br />
1. deb http://kambing.ui.edu/ubuntu jaunty main restricted universe multiverse<br />
2. deb http://kambing.ui.edu/ubuntu jaunty-updates main restricted universe multiverse<br />
3. deb http://kambing.ui.edu/ubuntu jaunty-security main restricted universe multiverse<br />
4. deb http://kambing.ui.edu/ubuntu jaunty-backports main restricted universe multiverse<br />
5. deb http://kambing.ui.edu/ubuntu jaunty-proposed main restricted universe multiverse</p>
<p><strong>www.foss-id.web.id (Telkom)</strong><br />
1. deb http://dl2.foss-id.web.id/ubuntu jaunty main restricted universe multiverse<br />
2. deb http://dl2.foss-id.web.id/ubuntu jaunty-updates main restricted universe multiverse<br />
3. deb http://dl2.foss-id.web.id/ubuntu jaunty-security main restricted universe multiverse<br />
4. deb http://dl2.foss-id.web.id/ubuntu jaunty-backports main restricted universe multiverse<br />
5. deb http://dl2.foss-id.web.id/ubuntu jaunty-proposed main restricted universe multiverse</p>
<p><strong>ftp.itb.ac.id (ITB, INHERENT)</strong><br />
1. deb ftp://ftp.itb.ac.id/pub/ubuntu jaunty main restricted universe multiverse<br />
2. deb ftp://ftp.itb.ac.id/pub/ubuntu jaunty-updates main restricted universe multiverse<br />
3. deb ftp://ftp.itb.ac.id/pub/ubuntu jaunty-security main restricted universe multiverse<br />
4. deb ftp://ftp.itb.ac.id/pub/ubuntu jaunty-backports main restricted universe multiverse<br />
5. deb ftp://ftp.itb.ac.id/pub/ubuntu jaunty-proposed main restricted universe multiverse</p>
<p><strong>indika.net.id (OpenIXP)</strong><br />
1. deb http://ubuntu.indika.net.id/ jaunty main restricted universe multiverse<br />
2. deb http://ubuntu.indika.net.id/ jaunty-updates main restricted universe multiverse<br />
3. deb http://ubuntu.indika.net.id/ jaunty-security main restricted universe multiverse<br />
4. deb http://ubuntu.indika.net.id/ jaunty-backports main restricted universe multiverse<br />
5. deb http://ubuntu.indika.net.id/ jaunty-proposed main restricted universe multiverse</p>
<p><strong>komo.vlsm.org</strong><br />
1. deb http://komo.vlsm.org/ubuntu jaunty main restricted universe multiverse<br />
2. deb http://komo.vlsm.org/ubuntu jaunty-updates main restricted universe multiverse<br />
3. deb http://komo.vlsm.org/ubuntu jaunty-security main restricted universe multiverse<br />
4. deb http://komo.vlsm.org/ubuntu jaunty-backports main restricted universe multiverse<br />
5. deb http://komo.vlsm.org/ubuntu jaunty-proposed main restricted universe multiverse</p>
<p><strong>mirror.cbn.net.id (OpenIXP)</strong><br />
1. deb http://ubuntu.cbn.net.id/Ubuntu jaunty main restricted universe multiverse<br />
2. deb http://ubuntu.cbn.net.id/Ubuntu jaunty-updates main restricted universe multiverse<br />
3. deb http://ubuntu.cbn.net.id/Ubuntu jaunty-security main restricted universe multiverse<br />
4. deb http://ubuntu.cbn.net.id/Ubuntu jaunty-backports main restricted universe multiverse<br />
5. deb http://ubuntu.cbn.net.id/Ubuntu jaunty-proposed main restricted universe multiverse</p>
<p><strong>mirror Universitas Negeri Jember</strong><br />
1. deb http://mirror.unej.ac.id/ubuntu jaunty main restricted multiverse universe</p>
<p>Untuk menambahkan repository tersebut dengan cara :</p>
<p>1. Buka terminal Applications>>Accessories>>Terminal<br />
$sudo nano /etc/apt/sources.list</p>
<p>2. Ketikkan mirror repository yang ingin anda gunakan ke dalam file sources.list, save (ctrl-o) and exit (ctrl-x). Tambahan : jika tidak diperlukan, repository yang tidak digunakan dapat di-non-aktifkan dengan memberikan karakter komentar (#), tepat di depan baris tersebut.</p>
<p>3. Melakukan update index repository; dengan mengetikkan perintah<br />
$sudo apt-get update</p>
<p>Sekian informasi yang dapat saya berikan, kurang lebihnya saya minta maaf, terima kasih kepada Catatan Pinguin dan Google, serta pihak-pihak yang terkait.</p>
<p>Tabik,</p>
<p>Ari Mogi<br />
(<a href="http://blog.cybermogi.net">http://blog.cybermogi.net</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cybermogi.com/2009/07/jaunty-jackalope-on-mortred-laptop-teknik-informatika-udayana/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>:: Mau mencoba Mini Buntu 8.10? ::</title>
		<link>http://blog.cybermogi.com/2009/03/mau-mencoba-mini-buntu-810/</link>
		<comments>http://blog.cybermogi.com/2009/03/mau-mencoba-mini-buntu-810/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 05:15:58 +0000</pubDate>
		<dc:creator>arimogi</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.cybermogi.net/2009/03/mau-mencoba-mini-buntu-810/</guid>
		<description><![CDATA[Silahkan mencoba mini buntu, buat yang mau melakukan remix boleh mengunduh di sini :Download Mini Buntu (ubuntu mini remix) 8.10]]></description>
			<content:encoded><![CDATA[<p>Silahkan mencoba mini buntu, buat yang mau melakukan remix boleh mengunduh di sini :<a href="http://ilkom.unud.ac.id/~mogi/src/ubuntu-mini-remix-8.10.iso">Download Mini Buntu (ubuntu mini remix) 8.10</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cybermogi.com/2009/03/mau-mencoba-mini-buntu-810/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>:: BackTrack 4.0 Download ::</title>
		<link>http://blog.cybermogi.com/2009/02/backtrack-4-download/</link>
		<comments>http://blog.cybermogi.com/2009/02/backtrack-4-download/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 02:09:36 +0000</pubDate>
		<dc:creator>arimogi</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.cybermogi.net/?p=178</guid>
		<description><![CDATA[silahkan mengunduh dari sini BackTrack 4.0 Download here.]]></description>
			<content:encoded><![CDATA[<p>silahkan mengunduh dari sini <a href="http://ilkom.unud.ac.id/~mogi/src/backtrack-4.iso">BackTrack 4.0 Download here.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cybermogi.com/2009/02/backtrack-4-download/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>:: Dokumentasi dari OpenGroup untuk Crontab ::</title>
		<link>http://blog.cybermogi.com/2008/04/dokumentasi-dari-opengroup-untuk-crontab/</link>
		<comments>http://blog.cybermogi.com/2008/04/dokumentasi-dari-opengroup-untuk-crontab/#comments</comments>
		<pubDate>Sat, 05 Apr 2008 05:39:43 +0000</pubDate>
		<dc:creator>arimogi</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.cybermogi.net/archives/108</guid>
		<description><![CDATA[hehehe&#8230; karena sering kali lupa kalo mo make cron, jadi biar bisa inget, tulis aja di blog ini, hehehe&#8230; itung-itung buat dokumentasi pribadi&#8230; The Open Group Base Specifications Issue 6 IEEE Std 1003.1, 2004 Edition Copyright © 2001-2004 The IEEE &#8230; <a href="http://blog.cybermogi.com/2008/04/dokumentasi-dari-opengroup-untuk-crontab/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>hehehe&#8230; karena sering kali lupa kalo mo make cron, jadi biar bisa inget, tulis aja di blog ini, hehehe&#8230; itung-itung buat dokumentasi pribadi&#8230;</p>
<p>The Open Group Base Specifications Issue 6<br />
IEEE Std 1003.1, 2004 Edition<br />
Copyright © 2001-2004 The IEEE and The Open Group, All Rights reserved.</p>
<p>===============informative text begins here.<br />
NAME</p>
<p>    crontab &#8211; schedule periodic background work</p>
<p>SYNOPSIS</p>
<p>    [UP] [Option Start] crontab [file]</p>
<p>    crontab [ -e | -l | -r ][Option End]</p>
<p><span id="more-108"></span><br />
DESCRIPTION</p>
<p>    The crontab utility shall create, replace, or edit a user&#8217;s crontab entry; a crontab entry is a list of commands and the times at which they shall be executed. The new crontab entry can be input by specifying file or input from standard input if no file operand is specified, or by using an editor, if -e is specified.</p>
<p>    Upon execution of a command from a crontab entry, the implementation shall supply a default environment, defining at least the following environment variables:</p>
<p>    HOME<br />
        A pathname of the user&#8217;s home directory.<br />
    LOGNAME<br />
        The user&#8217;s login name.<br />
    PATH<br />
        A string representing a search path guaranteed to find all of the standard utilities.<br />
    SHELL<br />
        A pathname of the command interpreter. When crontab is invoked as specified by this volume of IEEE Std 1003.1-2001, the value shall be a pathname for sh.</p>
<p>    The values of these variables when crontab is invoked as specified by this volume of IEEE Std 1003.1-2001 shall not affect the default values provided when the scheduled command is run.</p>
<p>    If standard output and standard error are not redirected by commands executed from the crontab entry, any generated output or errors shall be mailed, via an implementation-defined method, to the user.</p>
<p>    [XSI] [Option Start] Users shall be permitted to use crontab if their names appear in the file /usr/lib/cron/cron.allow. If that file does not exist, the file /usr/lib/cron/cron.deny shall be checked to determine whether the user shall be denied access to crontab. If neither file exists, only a process with appropriate privileges shall be allowed to submit a job. If only cron.deny exists and is empty, global usage shall be permitted. The cron.allow and cron.deny files shall consist of one user name per line. [Option End]</p>
<p>OPTIONS</p>
<p>    The crontab utility shall conform to the Base Definitions volume of IEEE Std 1003.1-2001, Section 12.2, Utility Syntax Guidelines.</p>
<p>    The following options shall be supported:</p>
<p>    -e<br />
        Edit a copy of the invoking user&#8217;s crontab entry, or create an empty entry to edit if the crontab entry does not exist. When editing is complete, the entry shall be installed as the user&#8217;s crontab entry.<br />
    -l<br />
        (The letter ell.) List the invoking user&#8217;s crontab entry.<br />
    -r<br />
        Remove the invoking user&#8217;s crontab entry.</p>
<p>OPERANDS</p>
<p>    The following operand shall be supported:</p>
<p>    file<br />
        The pathname of a file that contains specifications, in the format defined in the INPUT FILES section, for crontab entries.</p>
<p>STDIN</p>
<p>    See the INPUT FILES section.</p>
<p>INPUT FILES</p>
<p>    In the POSIX locale, the user or application shall ensure that a crontab entry is a text file consisting of lines of six fields each. The fields shall be separated by <blank>s. The first five fields shall be integer patterns that specify the following:</p>
<p>       1.</p>
<p>          Minute [0,59]<br />
       2.</p>
<p>          Hour [0,23]<br />
       3.</p>
<p>          Day of the month [1,31]<br />
       4.</p>
<p>          Month of the year [1,12]<br />
       5.</p>
<p>          Day of the week ([0,6] with 0=Sunday)</p>
<p>    Each of these patterns can be either an asterisk (meaning all valid values), an element, or a list of elements separated by commas. An element shall be either a number or two numbers separated by a hyphen (meaning an inclusive range). The specification of days can be made by two fields (day of the month and day of the week). If month, day of month, and day of week are all asterisks, every day shall be matched. If either the month or day of month is specified as an element or list, but the day of week is an asterisk, the month and day of month fields shall specify the days that match. If both month and day of month are specified as an asterisk, but day of week is an element or list, then only the specified days of the week match. Finally, if either the month or day of month is specified as an element or list, and the day of week is also specified as an element or list, then any day matching either the month and day of month, or the day of week, shall be matched.</p>
<p>    The sixth field of a line in a crontab entry is a string that shall be executed by sh at the specified times. A percent sign character in this field shall be translated to a <newline>. Any character preceded by a backslash (including the &#8216;%&#8217; ) shall cause that character to be treated literally. Only the first line (up to a &#8216;%&#8217; or end-of-line) of the command field shall be executed by the command interpreter. The other lines shall be made available to the command as standard input.</p>
<p>    Blank lines and those whose first non- <blank> is &#8216;#&#8217; shall be ignored.</p>
<p>    [XSI] [Option Start] The text files /usr/lib/cron/cron.allow and /usr/lib/cron/cron.deny shall contain zero or more user names, one per line, of users who are, respectively, authorized or denied access to the service underlying the crontab utility. [Option End]</p>
<p>ENVIRONMENT VARIABLES</p>
<p>    The following environment variables shall affect the execution of crontab:</p>
<p>    EDITOR<br />
        Determine the editor to be invoked when the -e option is specified. The default editor shall be vi.<br />
    LANG<br />
        Provide a default value for the internationalization variables that are unset or null. (See the Base Definitions volume of IEEE Std 1003.1-2001, Section 8.2, Internationalization Variables for the precedence of internationalization variables used to determine the values of locale categories.)<br />
    LC_ALL<br />
        If set to a non-empty string value, override the values of all the other internationalization variables.<br />
    LC_CTYPE<br />
        Determine the locale for the interpretation of sequences of bytes of text data as characters (for example, single-byte as opposed to multi-byte characters in arguments and input files).<br />
    LC_MESSAGES<br />
        Determine the locale that should be used to affect the format and contents of diagnostic messages written to standard error.<br />
    NLSPATH<br />
        [XSI] [Option Start] Determine the location of message catalogs for the processing of LC_MESSAGES . [Option End]</p>
<p>ASYNCHRONOUS EVENTS</p>
<p>    Default.</p>
<p>STDOUT</p>
<p>    If the -l option is specified, the crontab entry shall be written to the standard output.</p>
<p>STDERR</p>
<p>    The standard error shall be used only for diagnostic messages.</p>
<p>OUTPUT FILES</p>
<p>    None.</p>
<p>EXTENDED DESCRIPTION</p>
<p>    None.</p>
<p>EXIT STATUS</p>
<p>    The following exit values shall be returned:</p>
<p>     0<br />
        Successful completion.<br />
    >0<br />
        An error occurred.</p>
<p>CONSEQUENCES OF ERRORS</p>
<p>    The user&#8217;s crontab entry is not submitted, removed, edited, or listed.</p>
<p>The following sections are informative.<br />
APPLICATION USAGE</p>
<p>    The format of the crontab entry shown here is guaranteed only for the POSIX locale. Other cultures may be supported with substantially different interfaces, although implementations are encouraged to provide comparable levels of functionality.</p>
<p>    The default settings of the HOME , LOGNAME , PATH , and SHELL variables that are given to the scheduled job are not affected by the settings of those variables when crontab is run; as stated, they are defaults. The text about &#8220;invoked as specified by this volume of IEEE Std 1003.1-2001&#8243; means that the implementation may provide extensions that allow these variables to be affected at runtime, but that the user has to take explicit action in order to access the extension, such as give a new option flag or modify the format of the crontab entry.</p>
<p>    A typical user error is to type only crontab; this causes the system to wait for the new crontab entry on standard input. If end-of-file is typed (generally <control>-D), the crontab entry is replaced by an empty file. In this case, the user should type the interrupt character, which prevents the crontab entry from being replaced.</p>
<p>EXAMPLES</p>
<p>       1.</p>
<p>          Clean up core files every weekday morning at 3:15 am:</p>
<p>          15 3 * * 1-5 find $HOME -name core 2>/dev/null | xargs rm -f</p>
<p>       2.</p>
<p>          Mail a birthday greeting:</p>
<p>          0 12 14 2 * mailx john%Happy Birthday!%Time for lunch.</p>
<p>       3.</p>
<p>          As an example of specifying the two types of days:</p>
<p>          0 0 1,15 * 1</p>
<p>          would run a command on the first and fifteenth of each month, as well as on every Monday. To specify days by only one field, the other field should be set to &#8216;*&#8217; ; for example:</p>
<p>          0 0 * * 1</p>
<p>          would run a command only on Mondays.</p>
<p>RATIONALE</p>
<p>    All references to a cron daemon and to cron files have been omitted. Although historical implementations have used this arrangement, there is no reason to limit future implementations.</p>
<p>    This description of crontab is designed to support only users with normal privileges. The format of the input is based on the System V crontab; however, there is no requirement here that the actual system database used by the cron daemon (or a similar mechanism) use this format internally. For example, systems derived from BSD are likely to have an additional field appended that indicates the user identity to be used when the job is submitted.</p>
<p>    The -e option was adopted from the SVID as a user convenience, although it does not exist in all historical implementations.</p>
<p>FUTURE DIRECTIONS</p>
<p>    None.</p>
<p>SEE ALSO</p>
<p>    at</p>
<p>CHANGE HISTORY</p>
<p>    First released in Issue 2.</p>
<p>Issue 6</p>
<p>    This utility is marked as part of the User Portability Utilities option.</p>
<p>    The normative text is reworded to avoid use of the term &#8220;must&#8221; for application requirements.</p>
<p>===End of informative text.</control></blank></newline></blank></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cybermogi.com/2008/04/dokumentasi-dari-opengroup-untuk-crontab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

