没有合适的资源?快使用搜索试试~ 我知道了~
首页Linux命令全集:学习与参考指南
“Linux命令集”是一份全面的Linux命令参考资源,适用于Linux学习者进行学习和实践。该资料可能包含由Red Hat Software, Inc.在1997年首次出版的Linux命令大全,旨在帮助用户理解和掌握各种Linux操作系统中的命令行操作。
正文:
在Linux操作系统中,命令行界面(CLI)是执行任务的关键工具,对于系统管理员和开发者来说尤其重要。这份“Linux命令集”提供了全面的命令列表,涵盖了从基本的文件管理到复杂的系统控制的所有方面。以下是一些关键的Linux命令及其功能:
1. **ls** - 列出目录内容。这个命令用于查看当前目录下的文件和子目录。
2. **cd** - 更改当前工作目录。用户可以使用此命令导航到不同的目录路径。
3. **mkdir** - 创建新目录。在需要新目录时,这个命令非常实用。
4. **rm** - 删除文件或目录。小心使用,因为这可能导致数据丢失。
5. **cp** - 复制文件或目录。它允许用户将一个或多个文件或整个目录结构复制到另一位置。
6. **mv** - 移动或重命名文件和目录。这个命令可以用来改变文件的位置或更改其名称。
7. **cat** - 查看或连接文件内容。常用于快速查看文本文件的完整内容。
8. **grep** - 在文件中搜索特定模式。这对于在大量文本数据中查找特定字符串非常有用。
9. **find** - 在文件系统中查找文件。根据名称、大小、时间戳等条件搜索文件。
10. **man** - 显示命令的手册页。这是获取任何命令详细信息的官方来源。
11. **sudo** - 以超级用户权限运行命令。这对于执行需要管理员权限的操作至关重要。
12. **vi/vim** - 文本编辑器。虽然初学者可能会觉得它复杂,但它是Linux环境中最常用的编辑器之一。
13. **apt-get/yum** - 包管理器。在Debian/Ubuntu(apt-get)和RHEL/CentOS(yum)系统中,这些命令用于安装、更新和管理软件包。
此外,还有许多其他命令,如`ping`用于网络诊断,`ifconfig`显示或配置网络接口,`top`监控系统资源使用情况,以及`ssh`用于安全的远程登录。通过深入学习和实践这个命令集,Linux用户可以提升他们的系统管理技能,更有效地执行日常任务。
学习Linux命令集不仅可以提高工作效率,还能增强对操作系统底层工作原理的理解。在实际应用中,结合适当的教程和实践,这份命令参考可以帮助初学者快速上手Linux,并逐步成为熟练的系统管理员或开发者。
![](https://csdnimg.cn/release/download_crawler_static/5194520/bg10.jpg)
Linux Complete Command Reference
xvi
gr11 Linux Complete Command Reference 31104-6 christy 11.6.97 FM lp3
getrlimit, getrusage, setrlimit.............................................................................767
getsid ................................................................................................................768
getsockname......................................................................................................769
getsockopt, setsockopt.......................................................................................769
gettimeofday, settimeofday................................................................................772
getuid, geteuid ..................................................................................................773
idle....................................................................................................................774
ioctl...................................................................................................................774
ioperm ..............................................................................................................788
iopl ...................................................................................................................788
ipc.....................................................................................................................789
kill ....................................................................................................................790
killpg.................................................................................................................790
link ...................................................................................................................791
listen .................................................................................................................792
llseek.................................................................................................................793
lseek..................................................................................................................793
mkdir................................................................................................................794
mknod ..............................................................................................................795
mlock................................................................................................................796
mlockall ............................................................................................................797
mmap, munmap ...............................................................................................799
modify_ldt ........................................................................................................800
get_kernel_syms, create_module, init_module, delete_module .........................800
mount, umount ................................................................................................802
mprotect ...........................................................................................................804
mremap ............................................................................................................805
msgctl ...............................................................................................................806
msgget...............................................................................................................807
msgop ...............................................................................................................808
msync ...............................................................................................................811
munlock............................................................................................................811
munlockall........................................................................................................812
nanosleep ..........................................................................................................813
nice ...................................................................................................................814
oldfstat, oldlstat, oldstat, oldolduname, olduname ............................................814
open, creat ........................................................................................................815
outb, outw, outl, outsb, outsw, outsl.................................................................816
pause.................................................................................................................817
personality ........................................................................................................817
phys ..................................................................................................................818
pipe...................................................................................................................818
profil.................................................................................................................819
ptrace................................................................................................................820
quotactl.............................................................................................................821
![](https://csdnimg.cn/release/download_crawler_static/5194520/bg11.jpg)
xvii
Introduction
gr11 Linux Complete Command Reference 31104-6 christy 11.6.97 FM lp3
read...................................................................................................................822
readdir ..............................................................................................................823
readlink.............................................................................................................823
readv, writev......................................................................................................824
reboot ...............................................................................................................825
recv, recvfrom, recvmsg.....................................................................................826
rename ..............................................................................................................828
rmdir ................................................................................................................829
sched_get_priority_max, sched_get_priority_min .............................................830
sched_rr_get_interval........................................................................................831
sched_setparam, sched_getparam ......................................................................832
sched_setscheduler, sched_getscheduler ............................................................833
sched_yield .......................................................................................................835
select, FD_CLR, FD_ISSET, FD_SET, FD_ZERO.........................................835
semctl................................................................................................................837
semget...............................................................................................................839
semop ...............................................................................................................840
send, sendto, sendmsg.......................................................................................842
setfsgid..............................................................................................................843
setfsuid..............................................................................................................844
setgid ................................................................................................................845
setpgid, getpgid, setpgrp, getpgrp......................................................................845
setregid, setegid .................................................................................................846
setreuid, seteuid ................................................................................................847
setsid.................................................................................................................848
setuid ................................................................................................................848
setup .................................................................................................................849
shmctl ...............................................................................................................849
shmget ..............................................................................................................851
shmop...............................................................................................................853
shutdown ..........................................................................................................855
sigaction, sigprocmask, sigpending, sigsuspend..................................................855
signal.................................................................................................................857
sigblock, siggetmask, sigsetmask, sigmask..........................................................858
sigpause.............................................................................................................858
sigreturn............................................................................................................859
sigvec ................................................................................................................860
socket................................................................................................................860
socketcall...........................................................................................................862
socketpair..........................................................................................................862
stat, fstat, lstat ...................................................................................................863
statfs, fstatfs.......................................................................................................865
stime .................................................................................................................866
swapon, swapoff................................................................................................866
symlink .............................................................................................................867
![](https://csdnimg.cn/release/download_crawler_static/5194520/bg12.jpg)
Linux Complete Command Reference
xviii
gr11 Linux Complete Command Reference 31104-6 christy 11.6.97 FM lp3
sync...................................................................................................................869
sysctl .................................................................................................................869
sysfs...................................................................................................................871
sysinfo...............................................................................................................871
syslog ................................................................................................................872
termios, tcgetattr, tcsetattr, tcsendbreak, tcdrain, tcflush, tcflow, cfgetospeed,
cfgetispeed, cfsetispeed, cfsetospeed, tcgetpgrp, tcsetpgrp ...............................874
time ..................................................................................................................878
times .................................................................................................................878
truncate, ftruncate.............................................................................................879
umask ...............................................................................................................880
uname...............................................................................................................880
none..................................................................................................................881
afs_syscall, break, gtty, lock, mpx, prof, quotactl, stty, ustat ..............................881
unlink ...............................................................................................................882
uselib ................................................................................................................883
ustat..................................................................................................................883
utime, utimes ....................................................................................................884
vhangup ............................................................................................................885
vm86 ................................................................................................................885
wait, waitpid .....................................................................................................886
wait3, wait4 ......................................................................................................888
write..................................................................................................................889
Part III Library Functions
Intro .................................................................................................................892
abort .................................................................................................................892
abs ....................................................................................................................892
acos...................................................................................................................893
acosh.................................................................................................................893
alloca.................................................................................................................894
asin ...................................................................................................................894
asinh .................................................................................................................895
assert .................................................................................................................895
atan...................................................................................................................896
atan2.................................................................................................................896
atanh.................................................................................................................897
atexit.................................................................................................................897
atof ...................................................................................................................898
atoi....................................................................................................................898
atol....................................................................................................................899
bcmp.................................................................................................................899
bcopy ................................................................................................................900
bsearch..............................................................................................................900
bcmp, bcopy, bzero, memccpy, memchr, memcmp, memcpy, memfrob, memmem,
memmove, memset.........................................................................................901
![](https://csdnimg.cn/release/download_crawler_static/5194520/bg13.jpg)
xix
Introduction
gr11 Linux Complete Command Reference 31104-6 christy 11.6.97 FM lp3
htonl, htons, ntohl, ntohs .................................................................................901
bzero .................................................................................................................902
catgets ...............................................................................................................902
catopen, catclose ...............................................................................................903
ceil ....................................................................................................................904
clientlib.............................................................................................................904
clock .................................................................................................................905
closedir..............................................................................................................905
confstr...............................................................................................................906
copysign............................................................................................................907
cos ....................................................................................................................907
cosh ..................................................................................................................908
crypt .................................................................................................................908
ctermid .............................................................................................................909
asctime, ctime, gmtime, localtime, mktime .......................................................909
difftime .............................................................................................................911
div.....................................................................................................................911
drand48, erand48, lrand48, nrand48, mrand48, jrand48, srand48,
seed48, lcong48 ..............................................................................................912
drem .................................................................................................................913
ecvt, fcvt ...........................................................................................................913
erf, erfc..............................................................................................................914
execl, execlp, execle, exect, execv, execvp ...........................................................914
errno .................................................................................................................916
exit....................................................................................................................917
exp, log, log10, pow ..........................................................................................917
expm1, log1p ....................................................................................................918
fabs ...................................................................................................................919
fclose.................................................................................................................919
clearerr, feof, ferror, fileno.................................................................................919
fflush, fpurge.....................................................................................................920
ffs......................................................................................................................921
fgetgrent............................................................................................................921
fgetpwent ..........................................................................................................922
floor ..................................................................................................................923
fmod .................................................................................................................923
fnmatch ............................................................................................................924
fopen, fdopen, freopen ......................................................................................924
fpathconf, pathconf...........................................................................................925
fread, fwrite.......................................................................................................926
frexp..................................................................................................................927
fgetpos, fseek, fsetpos, ftell, rewind....................................................................927
ftime .................................................................................................................928
ftok ...................................................................................................................929
ftw ....................................................................................................................930
![](https://csdnimg.cn/release/download_crawler_static/5194520/bg14.jpg)
Linux Complete Command Reference
xx
gr11 Linux Complete Command Reference 31104-6 christy 11.6.97 FM lp3
gcvt...................................................................................................................930
getcwd, get_current_dir_name, getwd...............................................................931
getdirentries ......................................................................................................931
getenv ...............................................................................................................932
getgrent, setgrent, endgrent...............................................................................932
getgrnam, getgrgid ............................................................................................933
getlogin, cuserid ................................................................................................934
getmntent, setmntent, addmntent, endmntent, hasmntopt ...............................935
getnetent, getnetbyaddr, getnetbyname, setnetent, endnetent ...........................936
getopt................................................................................................................937
getpass...............................................................................................................940
getprotoent, getprotobyname, getprotobynumber, setprotoent, endprotoent ....941
getpw ................................................................................................................942
getpwent, setpwent, endpwent ..........................................................................943
getpwnam, getpwuid.........................................................................................944
fgetc, fgets, getc, getchar, gets, ungetc ...............................................................944
getservent, getservbyname, getservbyport, setservent, endservent.......................945
getusershell, setusershell, endusershell ...............................................................946
getutent, getutid, getutline, pututline, setutent, endutent, utmpname...............947
getw, putw ........................................................................................................948
glob, globfree ....................................................................................................949
hosts_access, hosts_ctl.......................................................................................950
hcreate, hdestroy, hsearch..................................................................................951
hypot ................................................................................................................953
index, rindex .....................................................................................................953
inet_aton, inet_addr, inet_network, inet_ntoa, inet_makeaddr, inet_lnaof,
inet_netof.......................................................................................................953
infnan ...............................................................................................................954
initgroups..........................................................................................................955
inndcomm ........................................................................................................956
insque, remque..................................................................................................957
isalnum, isalpha, isascii, isblank, iscntrl, isdigit, isgraph, islower, isprint,
ispunct, isspace, isupper, isxdigit.....................................................................957
isatty .................................................................................................................958
isinf, isnan, finite ..............................................................................................959
j0, j1, jn, y0, y1, yn...........................................................................................959
killpg.................................................................................................................960
labs ...................................................................................................................960
ldexp.................................................................................................................961
ldiv....................................................................................................................961
lgamma .............................................................................................................962
libinn ................................................................................................................962
libpbm ..............................................................................................................966
libpgm ..............................................................................................................969
libpnm ..............................................................................................................970
剩余1526页未读,继续阅读
2009-10-23 上传
2009-01-06 上传
2009-12-11 上传
点击了解资源详情
点击了解资源详情
点击了解资源详情
点击了解资源详情
点击了解资源详情
点击了解资源详情
![](https://profile-avatar.csdnimg.cn/default.jpg!1)
yuanfangshouwangzhe
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![](https://csdnimg.cn/release/wenkucmsfe/public/img/voice.245cc511.png)
最新资源
- AirKiss技术详解:无线传递信息与智能家居连接
- Hibernate主键生成策略详解
- 操作系统实验:位示图法管理磁盘空闲空间
- JSON详解:数据交换的主流格式
- Win7安装Ubuntu双系统详细指南
- FPGA内部结构与工作原理探索
- 信用评分模型解析:WOE、IV与ROC
- 使用LVS+Keepalived构建高可用负载均衡集群
- 微信小程序驱动餐饮与服装业创新转型:便捷管理与低成本优势
- 机器学习入门指南:从基础到进阶
- 解决Win7 IIS配置错误500.22与0x80070032
- SQL-DFS:优化HDFS小文件存储的解决方案
- Hadoop、Hbase、Spark环境部署与主机配置详解
- Kisso:加密会话Cookie实现的单点登录SSO
- OpenCV读取与拼接多幅图像教程
- QT实战:轻松生成与解析JSON数据
安全验证
文档复制为VIP权益,开通VIP直接复制
![](https://csdnimg.cn/release/wenkucmsfe/public/img/green-success.6a4acb44.png)