Linux命令汇总之a.*(二)

本文发布时间: 2019-Mar-22
博客主页:http://blog.csdn.net/minna_d 1. aclocal 编译安装工具。 通过configure.ac或configure.in文件中创建 aclocal.m4。 configure文件可以生成makefile文件2. aclocal-1.11 同上ALSA是Advanced Linux Sound Architecture,高级Linux声音架构的简称3. aconnect 一个alsa序列化连接管理工具ACPI表示高级配置和电源管理接口4. acpi_listen 显示激发时间, 打开,关闭笔记本显示屏信号[root@jjy ~]# acpi_listen button/lid LID0 00000080 00000003button/lid LID0 00000080 00000004button/lid LID0 00000080 00000005button/lid LID0 00000080 000000065. acpid 处理电源相关事件的守护进程EXAMPLE This example will shut down your system if you press the power button. Create a file named /etc/acpi/events/power that contains the following: event=button/power {或者粘贴上面的 button/lid LID0 00000080 00000003} action=/etc/acpi/power.sh "%e" Then create a file named /etc/acpi/power.sh that contains the following: /sbin/shutdown -h now "Power button pressed" Now, when acpid is running, a press of the power button will cause the rule in /etc/acpi/events/power to trigger the script in /etc/acpi/power.sh. The script will then shut down the system.6. ad 一个新生的unix file 文件管理工具, 可以替代 cp, rm , mv 命令7. add-printer 添加一个新打印机8. add_netatalk_printer 同add-printer9.adddebug 为makefile文件添加debug信息OPTIONS -k Keep optimisations (do not remove -O[1-9]? flags which are removed by default). -r Recursively search through all subdirectories of the current directory and operate on every Makefile that is found. -n compile without NDEBUG and NO_DEBUG being defined (makes kDebug calls work)10. addftinfo 编辑字体11. addgnupghome 将/etc/skel/.gnupg/下的文件分别copy 到各个通过addgnuphome加入的账户中。[root@jjy /etc/skel/.gnupg]# ls awkTest.sh awkTest.sh~ ded ded~ hongkongAndMacaoPoint<strong>为了保证以往文件不被覆盖, 必须把nouse_user之前的.gnupg目录删除才能执行</strong>[root@jjy /etc/skel/.gnupg]# addgnupghome nouse_useraddgnupghome: creating home directory `/home/nouse_user/.gnupg' for `nouse_user'[root@jjy /etc/skel/.gnupg]# ls -al /home/nouse_user/total 20drwx--x--x 3 nouse_user users 4096 Dec 3 18:02 .drwxr-xr-x 8 root root 4096 Dec 3 17:44 ..drwx------ 2 nouse_user users 4096 Dec 3 18:02 .gnupg-rw-r--r-- 1 nouse_user users 3729 May 17 2013 .screenrc-rw------- 1 nouse_user users 661 Dec 3 17:49 .viminfo[root@jjy /etc/skel/.gnupg]# ls /home/nouse_user/.gnupg/awkTest.sh ded hongkongAndMacaoPoint12 addpart 对硬盘设备按照8进制分区命令DESCRIPTION addpart is a program that informs the Linux kernel of new partition. This command doesn't manipulate partitions on hard drive.PARAMETERS device Specify the disk device. partition Specify the partition number. start Specify the begin of the partition (in 512-byte sectors). length Specify the length of the partition (in 512-byte sectors).usage: addpart diskdevice partitionnr start length13. adduser 添加用户14. aecho - send AppleTalk Echo Protocol packets to network hosts不知道怎么使用苹果对话协议。。。。14. adjtimex 调整内核时间变量inux系统有两个时钟:一个是由主板电池驱动的“Real Time Clock”也叫做RTC或者叫CMOS时钟,硬件时钟。当操作系统关机的时候,用这个来记录时间,但是对于运行的系统是不用这个时间的。另一个时间是 “System clock”也叫内核时钟或者软件时钟,是由软件根据时间中断来进行计数的,内核时钟在系统关机的情况下是不存在的,所以,当操作系统启动的时候,内核时钟是要读取RTC时间来进行时间同步(有些情况下,内核时钟也可以通过ntp服务器来读取时间) 这两个时钟通常会有一些误差,所以长时间可以导致这两个时钟偏离的比较多,最简单的保持两个时间同步的方法是用软件测出他们之间的误差率,然后用软件进行修正。在每次重新启动系统的时候,系统都会用hwclock命令对时间进行同步。如果内核时钟在每一个时间中断都快或者慢的话,可以用adjtimex命令进行调整,使得RTC和内核时间走的快慢一致。 adjtimex 允许用户来调整内核的时间参数,因此可以改变内核时间的速度,可以用hwclock命令来比较出内核时间和RTC时间的偏移率,然后利用adjtimex 命令根据偏移率来对内核时间进行校正,使得内核时间走的快些或者慢些,当经过调整的内核时间跟RTC时间走的同样快的时候,可以把这个命令行写到启动脚本里面,让每次机器启动的时候都可以把内核的时间参数调整正确15. afm2tfm convert Adobe font metrics to TeX font metrics16. afmtodit - create font files for use with groff -Tps and -TpdfNetatalk is a free, open-source implementation of the Apple Filing Protocol. It allows Unix-like operating systems to serve as file, print and time servers for Macintosh computers17. afpd - Apple Filing Protocol daemon18.afpldaptest is a simple command to syntactically check /etc/netatalk/afp_ldap.conf19.afppasswd - netatalk password maintenance utility


(以上内容不代表本站观点。)
---------------------------------
本网站以及域名有仲裁协议。
本網站以及域名有仲裁協議。

2024-Mar-04 02:10pm
栏目列表