From d66d0db292b05da53504ddd40edc3e461768174e Mon Sep 17 00:00:00 2001 From: tortumlu Date: Sun, 10 Oct 2021 19:53:15 +0300 Subject: [PATCH 1/3] add netstat command to bash commands --- languages/bash.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/languages/bash.sh b/languages/bash.sh index 4710b56..9b01f97 100644 --- a/languages/bash.sh +++ b/languages/bash.sh @@ -179,6 +179,7 @@ whois # gets whois information for domain dig # gets DNS information for domain dig -x # reverses lookup host wget # downloads file +netstat # Print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships time # report time consumed by command execution From 4a0d72fc3541ee0e94c6ece127b3c24fbb463358 Mon Sep 17 00:00:00 2001 From: tortumlu Date: Sun, 10 Oct 2021 19:57:23 +0300 Subject: [PATCH 2/3] add resize2fs command to bash commands --- languages/bash.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/languages/bash.sh b/languages/bash.sh index 9b01f97..78e63a3 100644 --- a/languages/bash.sh +++ b/languages/bash.sh @@ -164,6 +164,7 @@ info # shows another documentation system for the specific c help # shows documentation about built-in commands and functions df # shows disk usage du # shows the disk usage of the files and directories in filename (du -s give only a total) +resize2fs # ext2/ext3/ext4 file system resizer last # lists your last logins ps -u yourusername # lists your processes kill # kills the processes with the ID you gave From a580e2d1751743bd597f407aea2726221a3ea886 Mon Sep 17 00:00:00 2001 From: tortumlu Date: Sun, 10 Oct 2021 19:59:19 +0300 Subject: [PATCH 3/3] add ctrl+a then e command to bash commands --- languages/bash.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/languages/bash.sh b/languages/bash.sh index 78e63a3..ec74a11 100644 --- a/languages/bash.sh +++ b/languages/bash.sh @@ -46,6 +46,7 @@ CTRL+X then ( # start recording a keyboard macro CTRL+X then ) # finish recording keyboard macro CTRL+X then E # recall last recorded keyboard macro CTRL+X then CTRL+E # invoke text editor (specified by $EDITOR) on current command line then execute resultes as shell commands +CTRAL+A then D # logout from screen but don't kill it, if any command exist, it will continue BACKSPACE # deletes one character backward DELETE # deletes one character under cursor