1.Construct ssh key (If you want to commit to git server via THIS COMPUTER) git config --global user.name " YOUR_USERNAME" git config --global user.email "YOUR_EMAL@EMAIL.COM" cd ~/.ssh ssh-keygen -t rsa -C "YOUR_EMAIL@YOUREMAIL.C…
ls -a 查看一切文件 ls -l 查看目录文件信息 clear 清屏(信息保留屏幕) reset 清屏(所有信息) ls *.txt 查看所有txt文件 wc 统计文件 -l 行数: - c 统计字节数:- w 统计字数. top 查看CPU和内存 df -ht 查看磁盘空间 yum install -y iptraf (查看网速命令 iptraf) free -m 当前系统中内存使用量的情况(以M兆显示) who 查看系统当前用户 last 查看当前登录记录 history 查看历史命令…
一.基本的bash shell命令 1.默认bash shell 提示符是美元符号($); 2.bash手册 使用man命令来访问存储在Linux系统上的手册页面,如: bogon:~ Mac$ man kill KILL(1) BSD General Commands Manual KILL(1) NAME kill -- terminate or signal a process SYNOPSIS kill [-s sig…
概述 shell中常见命令history 历史纪录命令:history 命令格式如下: [root@localhost ~]# history [选项] [历史命令保存文件] -c:清空历史命令: -w:把内存中的命令直接写入 ~/.bash_history 文件中 查询系统中当前用户的所有历史命令 [root@localhost ~]# history ls cd / ls poweroff -h now poweroff h now poweroff whereis ls …省略部分输出……