From 5d3ff2d359e748329839aa27ce33c0c991303358 Mon Sep 17 00:00:00 2001 From: Anant Kumar Mathur <71876073+anant2003@users.noreply.github.com> Date: Mon, 3 Oct 2022 23:38:29 +0530 Subject: [PATCH 1/2] Update html.md --- html.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/html.md b/html.md index b8534cb..d146da9 100644 --- a/html.md +++ b/html.md @@ -46,7 +46,8 @@ updated: 2020-06-17 | `..`| Used to link external webpages to your web page| ` OneCompiler`| | ``| Used to insert an image | `sample image`| |`
`| Text in a pre elementis displayed in a fixed-width font, and it preservesboth spaces and line breaks |`
 int i = 0; 
`| - +|`
`| It is used to create an HTML form for user input. | `
`| +|` …
`| This tag defines an HTML table.| `
Month January
`| ## HTML formatting @@ -80,6 +81,11 @@ updated: 2020-06-17 Row 2, Col 1 Row 2, Col 2 + + + Row 3, Col 1 + Row 3, Col 2 + ``` From adee87fe3680422a5bb707997fae7684da051e69 Mon Sep 17 00:00:00 2001 From: Anant Kumar Mathur <71876073+anant2003@users.noreply.github.com> Date: Wed, 5 Oct 2022 15:00:58 +0530 Subject: [PATCH 2/2] Update linux.md --- linux.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/linux.md b/linux.md index 117e66d..5fa0452 100644 --- a/linux.md +++ b/linux.md @@ -56,3 +56,30 @@ Options: -W # Verify a archive file -r # update or add file or directory in already existed .tar file ``` +## System Info +```sh +date # Show the current date and time +cal # Show this month's calender +uptime # Show current uptime +w # Display who is on line +whoami # Who you are logged in as +finger user # Display information about user +uname -a # Show kernel information +man command # Show the manual for command +df # Show the disk usage +du # Show directory space usage +free # Show memory and swap usage +``` + +## Shortcuts +```sh +ctrl+c # Halts the current command +ctrl+z # Stops the current command, resume with fg in the foreground or bg in the background +ctrl+d # Logout the current session, similar to exit +ctrl+w # Erases one word in the current line +ctrl+u # Erases the whole line +ctrl+r # Type to bring up a recent command +!! # Repeats the last command +exit # Logout the current session +``` +