1、用22端口号,以root用户名登录服务器
ssh -p 22 root@115.28.131.227
2、创建a.txt文件,并将当前日期和时间输入到其中。再打开显示
touch a.txt
date > a.txt
vi a.txt
3、从源码安装node.js
cd node.js //进入nodejs路径
make
make install
4、查看cpu信息
cat /proc/cpuinfo
5、查看用户名
whoami
6、创建包含files的tar文件file.tar
tar cf file.tar files
7、获取百度信息--------但是 在获取之前要先安装whois
安装:yum install jwhois -y
命令:whois baidu.com
8、将cpu型号写到a.txt文件中
cat /proc/cpuinfo > a.txt
9、查看文件,再关闭
打开:vi 文件名
关闭: “:” wq 回车
Linux基本命令
最新推荐文章于 2026-01-09 23:38:05 发布
8403

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



