Ubunton

Ubunton 装完机后 root账户进不去 没密码

在自己账号下 sudo passwd 输入两次密码就是root的密码

之后就可以su root 密码进入了

外部客户端sftp方式连接:

sudo apt-get install openssh-server.

sudo /etc/init.d/ssh restart(重新启动ssh服务)

jps 查看进程

cat a.txt  输出a.txt内容

cat a.txt > b.txt 把 a.txt 文件内容 复制到 b.txt

原文地址:https://www.cnblogs.com/coderdxj/p/6597284.html