代码运行
跟踪文件依赖关系make hello.c
编译gcc hello.c -o hello
运行./hello
rm
rm unpv13e.tar.gz
删除文件
rm -R hello
删除文件夹
ls
展开目录
ls -l
ls -1 |grep configure
查找叫configure的文件
pkg
包管理
pkg install vim ctags gcc make
下载unpv13e
pkg install wget
wget http://unpbook.com/unpv13e.tar.gz
tar -xzvf unpv13e.tar.gz
passwd
修改密码
ssh开启
开启ssh
进入/etc/ssh/sshd_config ee /ssh/sshd_config
改值PermitRootLogin yes 允许root登录
service sshd stop
关闭SSH
service sshd onestart
开启一次SSH
gpart
gpart show
查看分区
gpart resize -i 3 da0
合并分区
跳转
CTRL + o 跳回