You must activate the usr of root,when using a pc with a new os of ubuntu. This command: sudo passwd root And the 'sudo' is just to get the authority of 'root' to run a specific command.instead of switch to root.…
A. 设置ubuntu让它从串口0输出printk信息a. 设置vmware添加serial port, 使用文件作为串口(在vmware中设置,文件是保存在windows中)b. 启动ubuntu,修改/etc/default/grub(可以参考Ubuntu Serial Console Login.htm)GRUB_CMDLINE_LINUX_DEFAULT=""GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,115200n8…
echo abcdefg >> aa.txt //向aa.txt文件末尾追加 abcdefg 字符串 1 基础命令: clear //清屏 whoami //查看当前所登录的用户 who //Print information about users who are currently(目前) logged in. SYNOPSIS(摘要): who [OPTION]... [ FILE | ARG1 ARG2 ] DESCRIPTION(描述): Print information abou…