在路径表示中,~代表系统当前用户路径,/代表根目录 当前系统登录用户名称为root,那么~代表的路径为 /root 解析:如下图,cd ~ 与cd /root 跳转到的路径均是[root@localhost ~]路径