tag:blogger.com,1999:blog-49353315874164290672024-02-20T16:33:12.291+09:00Linux Tips by TEMPESTcyclonehttp://www.blogger.com/profile/07788590589264238452noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-4935331587416429067.post-84278967594838381032008-02-06T19:04:00.000+09:002008-02-06T19:08:12.813+09:00Send message to all usersIf you are root user, you could send message to all users who logged in with wall command.<br /><br />root user<br /><br /><tt># wall "We will have a meeting tomorrow noon."<br /><br />Broadcast message from root (pts/0) (Wed Feb 6 19:06:05 2008):<br /><br />We will have a meeting tomorrow noon.</tt><br /><br />user<br /><br /><tt>$<br />Broadcast message from root (pts/0) (Wed Feb 6 19:06:05 2008):<br /><br />We will have a meeting tomorrow noon.</tt>cyclonehttp://www.blogger.com/profile/07788590589264238452noreply@blogger.com0tag:blogger.com,1999:blog-4935331587416429067.post-85188640534325349062008-02-05T07:55:00.000+09:002008-02-05T08:11:43.588+09:00If you have small handsIs enter key too far? So, use ctrl-m instead. It works same as enter key. Also, ctrl-h works same as Backspace key.cyclonehttp://www.blogger.com/profile/07788590589264238452noreply@blogger.com0tag:blogger.com,1999:blog-4935331587416429067.post-13843381193496231622008-02-02T12:08:00.000+09:002008-02-02T12:15:43.574+09:00How to read html filesThere are many html files in the system. You could read them with text base web browser. There are elinks and lynx. The elinks has more functions.<br /><br />You could move forward with ctrl-f, back with ctrl-b.<br /><br /><tt>$ elinks /usr/share/doc/centos-release-4/RELEASE-NOTES-en.html<br /><br />$ lynx /usr/share/doc/centos-release-4/RELEASE-NOTES-en.html</tt>cyclonehttp://www.blogger.com/profile/07788590589264238452noreply@blogger.com0tag:blogger.com,1999:blog-4935331587416429067.post-62141085346277708882008-02-01T08:18:00.000+09:002008-02-01T08:35:30.198+09:00How to show your version of distributionMany Linux distributions has file name with release in /etc.<br /><br /><tt>$ ls /etc/*-release<br />/etc/redhat-release</tt><br /><br />If you open the file, it tells you a version of the distribution.<br /><br /><tt>$ cat /etc/redhat-release<br />CentOS release 4.6 (Final)</tt><br /><br /><script type="text/javascript"><!-- google_ad_client = "pub-2835310407062642"; /* Blogger Linux Bottom */ google_ad_slot = "5952773191"; google_ad_width = 234; google_ad_height = 60; //--><br /></script><br /><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"><br /></script>cyclonehttp://www.blogger.com/profile/07788590589264238452noreply@blogger.com0tag:blogger.com,1999:blog-4935331587416429067.post-81608435737696522882008-01-31T09:10:00.000+09:002008-02-01T08:36:26.206+09:00How to show your CPU architectureuname command shows your system information.<br /><br /><tt>$ uname -a<br />Linux myserver.example.com 2.6.9-61.EL #1 Wed May 2 13:50:59 EDT 2007 i686 i686 i386 GNU/Linux</tt><br /><br />if you use -m option, it only shows your CPU architecture.<br /><br /><tt>$ uname -m<br />i686</tt><br /><br /><script type="text/javascript"><!-- google_ad_client = "pub-2835310407062642"; /* Blogger Linux Bottom */ google_ad_slot = "5952773191"; google_ad_width = 234; google_ad_height = 60; //--><br /></script><br /><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"><br /></script>cyclonehttp://www.blogger.com/profile/07788590589264238452noreply@blogger.com0