From 4f40e23d2a51d9205ec945c77be14d1e3f192324 Mon Sep 17 00:00:00 2001 From: mudongliang Date: Fri, 19 Feb 2016 21:58:22 +0800 Subject: [PATCH] add netstat -a | grep ssh for history --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 12536c5..34917c8 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ Notes: - For editing long commands, after setting your editor (for example `export EDITOR=vim`), **ctrl-x** **ctrl-e** will open the current command in an editor for multi-line editing. Or in vi style, **escape-v**. -- To see recent commands, `history`. There are also many abbreviations such as `!$` (last argument) and `!!` last command, though these are often easily replaced with **ctrl-r** and **alt-.**. +- To see recent commands, `history`. There are also many abbreviations such as `!$` (last argument), `!n` (nth command) and specially `!!` (last command), though these are often easily replaced with **ctrl-r** and **alt-.**. - Go to your home directory with `cd`. Access files relative to your home directory with the `~` prefix (e.g. `~/.bashrc`). In `sh` scripts refer to the home directory as `$HOME`.