1. Kernel Shell and File.
2. Prom 状态命令与参数
(1)OK>
3. 环境变量
4.Basic Command:
(1) cp/mv/rm/mkdir/rmdir/cat/touch
(2) chmod
(3) df/du
(4)find
(5) ln -s <file> <file>
(6)man path:/usr/man
5. IO 重新导向
Standard IO
grep
6. User Management
1) File
drwxrwxrwx filename
r-4
w-2
x-1
mode : rwx rwx rwx r:read w:write x:execute
分别对应:owner, group, other
缺省权限由umask码控制
2) id
查看用户的uid/gid
3) chmod 改变文档或目录属性
chmod [-r/number] 文件名
chmod 755 file1 改变文件file1可被所有人读取和执行,只有owner可写.
chmod g+x file2 增加文件组用户对file2执行的权限
chmod o-r file3 除去其他使用者对file3读取的权限
4) chown -R username file 改变文件的owner
7 Bash
1) 环境变量:display, term, lang, prompt, path, classpath
2)环境文件:.login .profile .cshrc. .bashrc .kshrc
8. mount
9.network configuration
1)/etc
2) defaultrooter
3) hosts
4)netmasks
3)ifconfig -a
10. package
pkgadd -d [devicename]
pkgrm [device name]
pkginfo -l pkgname
11.Logoff and login
1) logOff : one can press ^d to logoff the current x-window, if it doesn't work, you can check eof, end of file, by stty -a.
2)log in: you should enter the correct username and password to login the unix system.
For each login, the system will require information concerning the computer's terminal type. Terminal type includes xterm/dtterm/vt100 and others, you can use:
TERM=xterm,
export $TERM
to define the terminal type, you can also use : echo $TERM to check what kind of terminal type that you use currently.
3) passwd
you can use the command “passwd “ to change password of user, the usage is “passwd [username]“, the default is changing the password of the current login user.
Unix Basic
最新推荐文章于 2024-12-14 01:55:12 发布
本文围绕Unix系统展开,介绍了内核、shell和文件相关知识,列举了基本命令如cp、mv等,阐述了IO重新导向、用户管理操作,包括查看用户信息、改变文档属性等。还提及了Bash环境变量、挂载、网络配置、软件包管理,以及登录和注销系统、修改密码等内容。
部署运行你感兴趣的模型镜像
您可能感兴趣的与本文相关的镜像
Llama Factory
模型微调
LLama-Factory
LLaMA Factory 是一个简单易用且高效的大型语言模型(Large Language Model)训练与微调平台。通过 LLaMA Factory,可以在无需编写任何代码的前提下,在本地完成上百种预训练模型的微调
1122

被折叠的 条评论
为什么被折叠?



