首页 > 科技 > Linux tips

Linux tips

2005年7月13日 23点59分 发表评论 阅读评论

What is patch? Apply a diff file to an original.
What is hwclock? Query and set the hardware clock.

In RedHat Linux,issue the following command to modify the time or date:
#timeconfig
select Asica/Shanghai
#ntpdate
sync the time with the specified time server
#date

Instead of strings in vi tools:
:%s/string/new_string/8

Check the running leve:
#runlever
I issue this command in GUI of Linux 9.0, the result was 3.

Identify the logining user:
#who am i
#whoami print effective user id
#id print read and effective UIDs and GIDs

We can create and edit this file “/etc/motd” to display own messages when login in.

What is “NONUS”? It means non-US.
Execute the following command to reset the language of system:
# export LANG=”en-US”
Sometimes,this method resolves some Code displaying matters.

分类: 科技 标签:
  1. 本文目前尚无任何评论.
  1. 本文目前尚无任何 trackbacks 和 pingbacks.
您必须在 登录 后才能发布评论.