Pages

Tuesday, 24 November 2009

Delete Bash History

History of bash sessions are stored in the RAM and written back to ~/.bash_history when the user logs out of the bash session.

To delete the bash history:

1. Delete the .bash_history file:
rm -rf ~/.bash_history
2. Clear the current history stored in RAM:
history -c
Stop logging the bash histories

● Turn off bash history for all users
Append “unset HISTFILE” to /etc/profile:
echo "unset HISTFILE" >> /etc/profile

● Turn off bash history for a specific user
Append “unset HISTFILE” to /home/USER/.bash_profile:
echo "unset HISTFILE" >> /home/USER/.bash_profile 

Monday, 23 November 2009

Unicode Symbols

Unicode symbols can be typed using the combination of ALT key and the numbers on the NumPad.

Alt + 1
Alt + 2
Alt + 3
Alt + 4
Alt + 5
Alt + 6
Alt + 7
Alt + 8
Alt + 9
Alt + 10
Alt + 11
Alt + 12
Alt + 13
Alt + 14
Alt + 15
Alt + 16
Alt + 17
Alt + 18
Alt + 19
Alt + 20
Alt + 21 §
Alt + 22
Alt + 23
Alt + 24
Alt + 25
Alt + 26
Alt + 27
Alt + 28
Alt + 29
Alt + 30
Alt + 31

These symbols can also be used from the IME Pad when you turn on the Japanese/Korean input.



€ � ‚ ƒ „ … † ‡ ˆ ‰ Š ‹ Œ � Ž � � ‘ ’ “ ” • – — ˜ ™ š › œ � ž Ÿ ¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ ­ ® ¯ ° ±

² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿
À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö × Ø Ù Ú Û Ü Ý Þ ß
à á â ã ä å æ ç è é ê ë ì í î ï ð ñ ò ó ô õ ö÷ ø ù ú û ü ý
þ、 。 , , . ・ ・ ・・ : ; ? ! ゛ ゜ ´ ` ¨ ^ ̄ _ ヽ ヾ ゝ ゞ 〃 仝 々 〆 〇 ー ― ‐ / \ ~ ∥ | … ‥‘ ’ “ ”
( )〔 〕 [ ] { } 〈 〉 《 》 「 」 『 』 【 】 + - ± × ÷ = ≠ < > ≦ ≧ ∞ ∴ ♂ ♀° ′ ″
℃ ¥$ ¢ £ % # & * @
§ ☆ ★ ○ ● ◎ ◇ ◆ □ ■ △ ▲ ▽ ▼ ※ 〒 → ← ↑ ↓ 〓
∈ ∋ ⊆ ⊇ ⊂ ⊃ ∪ ∩ ∧ ∨ ¬ ⇒ ⇔ ∀ ∃ ・ ∠ ⊥ ⌒ ∂ ∇ ≡ ≒ ≪ ≫ √ ∽ ∝ ∵ ∫ ∬ Å ‰
♯ ♭ ♪ † ‡ ¶ ◯
0 Β Γ Δ Ε Ζ Η Θ Ι Κ Λ Μ Ν Ξ Ο Π Ρ Σ Τ Υ Φ Χ Ψ Ω β γ δ ε ζ η θ ι κ λ μ ν ξ ο π ρ σ τ υ φ χ ψ ω
А Б В Г Д Е Ё Ж З И Й К Л М Н О П  Р С Т У Ф Х Ц Ч Ш Щ Ъ Ы Ь Э Ю Я
а б в г д е ё ж з и й к л м н о п р с т у ф х ц ч ш щ ъ ы ь э ю я
─ │ ┌ ┐ ┘ └ ├ ┬ ┤ ┴ ┼ ━ ┃ ┏ ┓ ┛ ┗ ┣ ┳ ┫ ┻ ╋ ┠ ┯ ┨ ┷ ┿ ┝ ┰ ┥ ┸ ╂
① ② ③ ④ ⑤ ⑥ ⑦ ⑧ ⑨ ⑩ ⑪ ⑫ ⑬ ⑭ ⑮ ⑯ ⑰ ⑱ ⑲ ⑳
Ⅰ Ⅱ Ⅲ Ⅳ Ⅴ Ⅵ Ⅶ Ⅷ Ⅸ Ⅹ
㎝ ㎞ ㎎ ㎏ ㏄ ㎡ № ㏍ ℡
≒ ≡ ∫ ∮ ∑ √ ⊥ ∠ ∟ ⊿ ∵ ∩ ∪
ⅰ ⅱ ⅲⅳ ⅴ ⅵ ⅶ ⅷ ⅸ ⅹ
Ⅰ Ⅱ Ⅲ Ⅳ Ⅴ Ⅵ Ⅶ Ⅷ Ⅸ Ⅹ
¬ ¦ ' "
๏ ๐ ๑ ๒
๓ ๔ ๕๖ ๗ ๘ ๙ ๚ ๛ ₪ ₫

      fi fl ﬠ
שׁ שׂ שּׁ שּׂ אַ אָ אּ בּ גּ
דּהּ וּ זּ טּיּ ךּכּ לּ
מּנּ סּ ףּ פּ צּ קּרּ שּ
תּ וֹ בֿכֿ פֿ ﭏ ﭖ ﭗﭘ
ﭙ ﭺﭻ ﭼ

ﭽ ﮊ ﮋ
ﮎ ﮏ ﮐ ﮑ ﮒ ﮓ ﮔ ﮕ ﮤ
ﮥ ﯼ ﯽ ﯾ ﱞ ﱟ ﱠ ﱡ ﱢ
﴾ ﴿ ﷲ ﺀ ﺁ ﺂ ﺃ ﺄ ﺅ
ﺆ ﺇ ﺈ ﺉ ﺊ ﺋ ﺌ ﺍ ﺎ
ﺏﺐ ﺑ ﺒ ﺓ ﺔ ﺕ ﺖ ﺗ
ﺘ ﺙ ﺚ ﺛﺜ

ﺝ ﺞ ﺟ
ﺠ ﺡ ﺢ ﺣ ﺤ ﺥ ﺦ ﺧ ﺨ
ﺩﺪ ﺫ ﺬ ﺭ ﺮ ﺯ ﺰ
ﺱﺲ ﺳ ﺴ ﺵﺶ ﺷ ﺸﺹ
ﺺ ﺻ ﺼ ﺽﺾ ﺿ ﻀ ﻁ

ﻂ ﻃ
ﻄﻅ ﻆ ﻇ ﻈ ﻉﻊ ﻋ ﻌ
ﻍ ﻎ ﻏﻐ ﻑ ﻒ ﻓ ﻔ ﻕ
ﻖﻗ ﻘ ﻙ ﻚ ﻛ ﻜ ﻝﻞ
ﻟ ﻠ ﻡ ﻢ ﻣﻤ ﻥ ﻦ ﻧ
ﻨﻩ ﻪ ﻫ ﻬ ﻭ ﻮﻯ ﻰ
ﻱ ﻲ ﻳ ﻴﻵ ﻶ ﻷ ﻸﻹ
لم ﻺ ﻻ ﻼ

ن ه و ى يً ٌ ٍ َ ُ
ِّ ْ % ٤ ٠ ١ ٢ ٣ ٥٦

ヲ _ カ シ ニ
♠ ♣

█ ▌▐
░░▒▓
▓▒░░ ░░░▒▓
▓▒░░░
░▒▓
▓▒░ ▓▒░ ░▒▓
░░
▀▄▀▄▀▄▀▄▀▄
▄▀▄▀▄▀
٩ ホ 么 メ _ ャ `
Special, rare characters and symbols
Face: ㋡
Writing:✐✑✒ ⌨
Religion and beliefs: ☥ ☦ ☧ ☩ ☪ ☫ ☬ ☭ ✌
Chess black : ♚ ♛ ♜ ♝ ♞ ♟
Chess White: ♔ ♕ ♖ ♗ ♘ ♙
Hands pointing: ☚ ☛ ☜ ☝ ☞ ☟
Crosses: ☩ ☨ ☦ ✙ ✚ ✛ ✜ ✝ ✞ ✠
Flowers: ❀ ✿ ❁ ✾
Injection:┣▇▇▇═─
Music: ♪ ♫ ♩ ♬ ♭ ♮ ♯
Stars and snowflake: ☆╮✡ ۞ ★ ☆ ⋆ ✩ ✮ ✯ ✰ ❇ ❈ ❅ ❄ ❆
Weather: ☼ ☀ ☁ ☂ ☃ ☄ ☾ ☽
Poker black: ♥ ♦ ♣ ♠
Poker White: ♡ ♢ ♤ ♧
Miscellaneous:✈ ✂ ✄ ✓ ☮ ✌
Phones: ☎ ☏ ✆
Religion & belief: ☯ ✡ ☨ ✞ ✝ ☮ ☥ ☦ ☧ ☩ ☪ ☫ ☬ ☭ ✌
Risk radioactive and biological: ☢ ☣
Writing: ✉ ✍ ✎ ✏ ✐✑✒ ⌨
Butterfly: Ƹ̴Ӂ̴Ʒ
Skull: ☠
Dinner: ♨

Decorative symbols
۩ ۞
▂ ▃ ▅ ▆ █

★·.·´¯`·.·★
..♩.¸¸♬´¯`♬.¸¸¤
¤♥¤Oº°‘¨☜♥☞¤
♬ •♩ ·.·´¯`·.·♭•♪
»------(¯`
•(♥).•*´¨`*•♥•(★)
•☆.•*´¨`*••♥
╰☆╮¤°.¸¸.·´¯`»®
♥ⓛⓞⓥⓔ♥☜
●☆● ☆● ☆● ☆●
๑۞๑,¸¸,ø¤º°`°๑۩
.•°¤*(¯`★´¯)*¤°
..•.¸¸•´¯`•.¸¸.ஐ
(¯`•.ゃ_ゃ.•
¸.•♥•.¸¸.•♥•
••.•´¯`•.••
(¯`•._)
׺°”˜`”°º×
.•´¯`•->
-•=»‡«=•-
»-(¯`v´¯)-»
•ï¡÷¡ï•
.•¯(_.•¯(_.•¯

Update: Unicode emoticons are available from emojipedia.org