8k words
一、cd命令• cd: cd命令用于切换当前工作目录到指定的目录。例如,输入”cd /home/user”可将当前目录切换到/home/user目录。常用选项如下: 1234cd .. 返回上一级目录cd../.. 返回上两级目录cd ~ 进入个人主目录cd - 返回上次所在的目录 二、pwd命令• pwd: pwd命令用于显示当前工作目录的完整路径 三、ls命令• ls命令: 用于显示指定目录下的文件和目录列表。如果没有指定目录,则默认显示当前目录下的文件和目录列表。 12345ls 查看当前目录下的文件ls -l(ll) 查看文件和目录的详细资料ls -a 列出全部文件,包含隐藏文件ls -R 连同子目录的内容一起列出(递归列出文件)ls [0-9] 显示包含数字的文件名和目录名 四、cp命令• cp: cp命令用于复制指定的文件或目录。例如,输入”cp file.txt /home/user”可将当...
943 words
记录一下 在Fedora系统上搭建Docker-ce的过程 1、准备工作1sudo dnf update 2、清楚旧版本残留1sudo dnf remove docker docker-common container-selinux docker-selinux docker-engine 3、安装依赖包安装dnf-plugins-core包,以便能够使用dnf config-manager命令: 1sudo dnf -y install dnf-plugins-core 4、添加Docker CE仓库添加Docker国内的镜像源,例如阿里云的镜像源: 1sudo dnf config-manager addrepo --from-repofile=https://mirrors.aliyun.com/docker-ce/linux/fedora/docker-ce.repo 5、安装Docker CE1sudo dnf -y install docker-ce docker-ce-cli containerd.io 6、启动Docker CE123sudo s...
367 words
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment