Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated linux.md file #211

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions html.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ updated: 2020-06-17
| `<a>..</a>`| Used to link external webpages to your web page| `<a href="https://onecompiler.com/" target="_blank"> OneCompiler</a>`|
| `<img />`| Used to insert an image | `<img src="/sample.jpg" alt="sample image" width="100" height="50" longdesc="image" />`|
|`<pre/>`| Text in a pre elementis displayed in a fixed-width font, and it preservesboth spaces and line breaks |`<pre> int i = 0; </pre>`|
|`<audio>`| It is used to embed sound content in the document. |` <audio controls> <source src="demo.mp3" type="audio/mpeg"> </audio>`|
anant2003 marked this conversation as resolved.
Show resolved Hide resolved
|`<video>`| It is used to embed video in the webpage. |` <video width="480" height="320" controls> <source src="demo_move.mp4" type="video/mp4"> </video>`|



## HTML formatting
Expand Down Expand Up @@ -82,6 +79,11 @@ updated: 2020-06-17
<td>Row 2, Col 1</td>
<td>Row 2, Col 2</td>
</tr>

anant2003 marked this conversation as resolved.
Show resolved Hide resolved
<tr>
<td>Row 3, Col 1</td>
<td>Row 3, Col 2</td>
</tr>

</table>
```
Expand Down
27 changes: 27 additions & 0 deletions linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```