歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux綜合 >> Linux命令 >> Linux命令匯總之a.*(二)

Linux命令匯總之a.*(二)

日期:2017/2/28 9:58:42   编辑:Linux命令

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 00000003
button/lid LID0 00000080 00000004
button/lid LID0 00000080 00000005
button/lid LID0 00000080 00000006

5. 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-printer

9.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_user
addgnupghome: creating home directory `/home/nouse_user/.gnupg' for `nouse_user'

[root@jjy /etc/skel/.gnupg]# ls -al /home/nouse_user/
total 20
drwx--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  hongkongAndMacaoPoint

12 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 length

13. 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 metrics

16. afmtodit - create font files for use with groff -Tps and -Tpdf

Netatalk 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 computers

17. afpd - Apple Filing Protocol daemon

18.afpldaptest is a simple command to syntactically check /etc/netatalk/afp_ldap.conf

19.afppasswd - netatalk password maintenance utility

Copyright © Linux教程網 All Rights Reserved