驱动安装过程中所需的Linux工具
驱动安装过程中所需的Linux工具见表1。
Linux工具 |
备注 |
---|---|
which |
shows the full path of (shell) commands |
update-rc.d,chkconfig |
updates and queries runlevel information for system services |
test |
check file types and compare values |
groups |
print the groups a user is in |
awk |
pattern scanning and processing language |
chattr |
change file attributes on a Linux file system |
lsattr |
list file attributes on a Linux second extended file system |
ldconfig |
configure dynamic linker run-time bindings |
wc |
print newline, word, and byte counts for each file |
lspci |
list all PCI devices |
ifconfig |
configure a network interface |
chown |
change file owner and group |
chmod |
change file mode bits |
find |
search for files in a directory hierarchy |
sed |
stream editor for filtering and transforming text |
ln |
make links between files |
modprobe |
Add and remove modules from the Linux Kernel |
cksum |
checksum and count the bytes in a file |
tail |
output the last part of files |
head |
output the first part of files |
udevadm |
udev management tool |
modinfo |
show information about a Linux Kernel module |
useradd |
create a new user or update default new user information |
expr |
evaluate expressions |
basename |
strip directory and suffix from filenames |
tty |
print the file name of the terminal connected to standard input |
dirname |
strip last component from file name |
rev |
reverse lines characterwise |
id |
print real and effective user and group IDs |
touch |
change file timestamps |
grep |
print lines matching a pattern |
ps |
report a snapshot of the current processes |
useradd |
create a new user or update default new user information |