树莓派卸载python2后设置默认python3
linux ln命令
在树莓派Raspbian系统上卸载python 2 后,我们想要使用python打开python3.5而不是python3,于是就用到了ln 命令。该命令能够为某一个文件在另外一个位置建立一个同步的链接。这种链接分为硬链接和软链接,其中软链接类似于Windows的快捷方式。
ln命令的四种格式
用法: ln [选项] … [-T] 目标 链接名 (第一种格式)
或: ln [选项] … 目标 (第二种格式)
或: ln [选项] … 目标 … 目录 (第三种格式)
或: ln [选项] … -t 目录 目标 … (第四种格式)
In the 1st form,create a link to TARGET with the name LINK_NAME.
In the 2nd form, create a link to TARGET in the current directory.
In the 3rd and 4th forms, create links to each TARGET in DIRECTORY.
默认创建硬链接,符号链接(软链接)使用-s或–symbolic。
默认情况下,每个destination(新链接名)不应该已经存在。
当创建硬链接时,每个目标都应该存在,符号链接can hold arbitrary text,if later resolved, a relative link is interpreted in relatio