随笔分类 -  321_Linux

摘要:195 Tenth line 问题描述 Given a text file file.txt, print just the 10th line of the file. Example: Assume that file.txt has the following content: Your sc 阅读全文
posted @ 2019-06-15 17:44 GeneJiang 阅读(109) 评论(0) 推荐(0)
摘要:Linux的命令(一) 基本命令 [TOC] 目录及文件操作 pwd 描述:显示当前工作目录的名称 选项: p 显示链接的真实路径 cd 描述:切换当前工作目录 选项: . 当前目录 .. 返回上一级目录 \ 返回上一级目录 ls 描述:显示目录与文件信息 选项: a( all) 显示所有,包括隐藏 阅读全文
posted @ 2019-05-16 16:00 GeneJiang 阅读(162) 评论(0) 推荐(0)
摘要:CentOS7安装好以后,完成网络配置以后,就是开始配置yum源,因为yum安装我们需要的各种软件。 具体步骤如下: 1、打开centos的yum文件夹 输入命令 2、用wget下载repo文件 输入命令wget:http://mirrors.aliyun.com/repo/Centos 7.rep 阅读全文
posted @ 2017-05-31 11:40 GeneJiang 阅读(258) 评论(0) 推荐(0)