<?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>LinuxLane.com &#187; คำสั่ง</title>
	<atom:link href="http://www.linuxlane.com/tag/%e0%b8%84%e0%b8%b3%e0%b8%aa%e0%b8%b1%e0%b9%88%e0%b8%87/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linuxlane.com</link>
	<description>เรียนรู้การใช้งาน ลีนุกซ์ [ Linux ]</description>
	<lastBuildDate>Mon, 19 Jul 2010 09:04:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=9295</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>คำสั่ง useradd &#8211; เพิ่มผู้ใช้งานใน ลินุกซ์</title>
		<link>http://www.linuxlane.com/useradd-linux-command/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxlane.com/useradd-linux-command/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 15:51:33 +0000</pubDate>
		<dc:creator>Chatpong Duangbung</dc:creator>
				<category><![CDATA[บทความ]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux command]]></category>
		<category><![CDATA[คำสั่ง]]></category>

		<guid isPermaLink="false">http://www.linuxlane.com/?p=142</guid>
		<description><![CDATA[







คำสั่ง useradd เป็นคำสั่งที่ใช้ในการ เพิ่มผู้ใช้งานใน ลินุกซ์ ซึ่งจริงๆ แล้วมีพารามิเตอร์ต่างๆ จำนวนมากมาย แต่ในที่นี้ เราจะมาดูวิธีการใช้งานอย่างง่าย แบบต่างๆ กันครับ  แล้วก็อย่าลืมนะครับ หลังจากที่มีการเพิ่มผู้ใช้งานแล้ว เราต้องทำการตั้งรหัสผ่านให้กับผู้ใช้  ด้วยคำสั่ง passwd ด้วยนะ  ไม่อย่างนั้นผู้ใช้ที่เราสร้างขึ้นมา จะไม่สามารถล็อกอินเข้าสู่ระบบได้ครับ เอาล่ะมาดูกันได้เลยครับ





เพิ่มผู้ใช้งานแบบไม่ระบุกลุ่ม เช่น

# useradd    chatpong
# passwd      chatpong
Changing  			password for user chatpong.
New  			UNIX password: ใส่รหัสผ่านให้กับผู้ใช้
BAD  			PASSWORD: it does not contain enough DIFFERENT characters
Retype  			new UNIX password: ใส่รหัสผ่านให้กับผู้ใช้อีกครั้ง
passwd:  			all authentication tokens updated successfully.

เพิ่มผู้ใช้งานแบบระบุกลุ่มด้วยครับ [...]]]></description>
		<wfw:commentRss>http://www.linuxlane.com/useradd-linux-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>การปิดเครื่อง Linux อย่างถูกวิธี</title>
		<link>http://www.linuxlane.com/howto-shutdown-power-off-linux-with-command/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxlane.com/howto-shutdown-power-off-linux-with-command/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 16:09:15 +0000</pubDate>
		<dc:creator>Chatpong Duangbung</dc:creator>
				<category><![CDATA[บทความ]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[shutdown]]></category>
		<category><![CDATA[คำสั่ง]]></category>
		<category><![CDATA[ปิดเครื่อง]]></category>

		<guid isPermaLink="false">http://www.linuxlane.com/?p=98</guid>
		<description><![CDATA[มีบ่อยครั้งที่ผู้ที่ใช้งานลินุกซ์ ทำการปิดเครื่องโดยการกดปุ่ม Power Off บนตัวเครื่องคอมพิวเตอร์เลย โดยที่ไม่ผ่านการใช้คำสั่งบนระบบปฏิบัติการ Linux ทำให้บางาครั้งระบบมีปัญหาขึ้นมาได้ เราจะมารู้จักกับวิธีปิดเครื่องอย่างถูกวิธีกัน




การปิดระบบ (Shutdown)
ในการปิดระบบบนลินุกซ์นั้น สามารถทำได้หลายวิธีด้วยกัน ดังนี้
1. การปิดระบบโดยการเปลี่ยนรันเลเวล (Runlevel) ให้เป็นเลเวล 0 สามารถใช้คำสั่งได้ดังนี้
# init   0
2. การปิดระบบโดยใช้คำสั่ง shutdown ซึ่งมีพารามิเตอร์ -h เพื่อระบุให้ระบบปิดตัวเอง และมีอีกพารามิเตอร์ก็คือ เวลา ที่จะให้ระบบปิด ซึ่งถ้าต้องการให้ปิดตอนนี้เลย ก็สามารถกำหนดให้เวลาเป็น 0 (เลขศูนย์) หรือจะ
ใช้คำว่า now ก็ได้เหมือนกัน ดังนี้
# shutdown   -h   now
# shutdown   -h   0
เริ่มต้นระบบใหม่ (Reboot)
การเริ่มต้นระบบใหม่ สามารถทำได้หลายวิธี ดังนี้
1. การเริ่มต้นระบบใหม่โดยการเปลี่ยนรันเลเวล ให้เป็นเลเวล 6 ดังนี้
# init 6
2. การเริ่มต้นระบบใหม่ โดยการใช้คำสั่ง reboot
# [...]]]></description>
		<wfw:commentRss>http://www.linuxlane.com/howto-shutdown-power-off-linux-with-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ตั้งวันที่ และ เวลาบนลินุกซ์</title>
		<link>http://www.linuxlane.com/how-to-set-date-time-on-linux/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxlane.com/how-to-set-date-time-on-linux/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 15:02:12 +0000</pubDate>
		<dc:creator>Chatpong Duangbung</dc:creator>
				<category><![CDATA[บทความ]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[linux command]]></category>
		<category><![CDATA[คำสั่ง]]></category>

		<guid isPermaLink="false">http://www.linuxlane.com/?p=60</guid>
		<description><![CDATA[ตรวจสอบเวลาในเครื่องดูก่อน ว่าเวลาตรงหรือไม่
# date
Thu Dec 14 11:05:37 ICT 2002
ถ้าหากพบว่าไม่ตรง ก็ให้ตั้งใหม่ ดังนี้ครับ
# date    -s    &#8220;12/14/2007 11:17:00&#8243;
ตรวจสอบดูอีกรอบนะ



# date
Thu Dec 14 11:18:56 ICT 2007
number of view: 455

เก็บลิงค์เข้าบุ๊คมาร์ค

















Hide Sites



]]></description>
		<wfw:commentRss>http://www.linuxlane.com/how-to-set-date-time-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>คำสั่ง Linux เบื้องต้น  [ Basic Linux Command ]</title>
		<link>http://www.linuxlane.com/basic-linux-command/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxlane.com/basic-linux-command/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 07:49:45 +0000</pubDate>
		<dc:creator>Chatpong Duangbung</dc:creator>
				<category><![CDATA[บทความ]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[linux command]]></category>
		<category><![CDATA[คำสั่ง]]></category>
		<category><![CDATA[ลินุกซ์]]></category>
		<category><![CDATA[เรียนคำสั่ง]]></category>

		<guid isPermaLink="false">http://www.linuxlane.com/?p=3</guid>
		<description><![CDATA[หลังจากที่เราได้เรียนรู้ และ รู้จักลินุกซ์ กันไปซักพักแล้ว  เรามีความจำเป็นที่จะต้องศึกษาคำสั่งต่างๆ ของ ลินุกซ์ เพื่อให้มีความคล่องตัวในการทำงาน นะครับ คำสั่งที่ยกมาทั้งหลายนี้ เป็น คำสั่ง ลินุกซ์ ที่ได้ใช้ค่อนข้างบ่อย และเป็น พื้นฐาน ในการที่จะทำงานต่างๆ เลยทีเดียว &#8230; เอาล่ะ เรามาเริ่มต้นกันเลยดีกว่าครับ




คำสั่ง ls (list)
ใช้ในการดูข้อมูลในไดเรคเทอรี
รูปแบบการใช้งาน
ls -l =&#62; ดูข้อมูลในไดเรคเทอรีแบบละเอียด
ls -a =&#62; ดูข้อมูลในไดเรคเทอรีรวมทั้งไฟล์ที่มีการซ่อนไว้ด้วย
ตัวอย่างการใช้งาน
$  ls
Desktop
$ ls   /home
cp lost+found
$ ls   -l
total 4
drwxr-xr-x 4 cp cp 4096 May 15 21:56 Desktop
$ ls   -a
. .beagle .gconf .gstreamer-0.10 .nautilus
.. Desktop .gconfd .gtkrc-1.2-gnome2 .redhat
.bash_logout .dmrc [...]]]></description>
		<wfw:commentRss>http://www.linuxlane.com/basic-linux-command/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>


