Goodreads helps you keep track of books you want to read.
- Anonymous The Hacker Group. A place where we can get simple or complex code for hacking, videos and hacking tools. Ask and you will get.
- Web site description for thegeekstuff.com is Guides, HowTos and Tips for Technology Geeks. Site Title: The Geek Stuff: Keywords: database, DBA, Geek Stuff, hardware, IT manager, linux, mysql, oracle, php, Ramesh, Ramesh Natarajan, security, system administrator, unix, web, Charset: utf-8: Page Speed: 985 ms. Vim 101 hacks.
What is md5sum? 5 md5sum examples Syntax and Options Related Commands md5sum is a 128 bit checksum which will be unique for the same data provided. Use md5 Linux 101 Hacks. From the book “Linux 101 Hackers”, Ramesh Natarajan. Using the directory stack You can use the directory stack to store directory paths, display and cd to it.
Start by marking “Linux 101 Hacks” as Want to Read:
Rate this book
See a Problem?
We’d love your help. Let us know what’s wrong with this preview of Linux 101 Hacks by Ramesh Natarajan.
Not the book you’re looking for?Preview — Linux 101 Hacks by Ramesh Natarajan
To see what your friends thought of this book,please sign up.
To ask other readers questions aboutLinux 101 Hacks,please sign up.
Be the first to ask a question about Linux 101 Hacks
This book is not yet featured on Listopia.Add this book to your favorite list »
Rating details
|
Sep 22, 2018Hamid Feizabadi rated it liked it
Practical unix commands introduction but not enough.
Author over extended some parts of introduction and forgot to cover talking about other things but in general it was useful for me.
Author over extended some parts of introduction and forgot to cover talking about other things but in general it was useful for me.
Remigijus Jarmalavičius rated it really liked it
May 08, 2017
May 08, 2017
mojtaba kamyabi rated it it was amazing
Nov 02, 2014
Nov 02, 2014
This Is Not The Michael You're Looking For added it
May 10, 2009
May 10, 2009
Kannan Palaniappan marked it as to-read
Dec 28, 2012
Dec 28, 2012
Vim 101 Hacks By Ramesh Natarajan Pdf
Janardan Bhandari marked it as to-read
Jul 18, 2014
Jul 18, 2014
Ibrahiem Mohammed marked it as to-read
Aug 21, 2016
Aug 21, 2016
Santosh Dodamani marked it as to-read
Jan 31, 2018
Jan 31, 2018
Jimmy Joe Jackson marked it as to-read
Apr 29, 2018
Apr 29, 2018
There are no discussion topics on this book yet.Be the first to start one »
Recommend It | Stats | Recent Status Updates
Vim 101 Hacks Pdf
If you like books and love to build cool products, we may be looking for you.
Learn more »
Learn more »
See top shelves…
0followers
<p>Linux 101 Hacks</p><p>www.thegeekstuff.com</p><p>Table of ContentsIntroduction.............................. 7 About the Author.......................... 8 Copyright & Disclaimer...................... 9Version....................................... 9</p><p>More eBooks from The Geek Stuff.............10Bash 101 Hacks................................ 10 Sed and Awk 101 Hacks.......................... 11 Nagios Core................................... 12 Vim 101 Hacks................................. 13</p><p>Chapter 1: Powerful CD Command Hacks........14Hack Hack Hack Hack Hack Hack 1. 2. 3. 4. 5. 6. Define CD Base Directory Using CDPATH ........14 Use CD Alias to Navigate Up the Directory.......15 Perform mkdir and cd Using a Single Command ..18 Toggle Between Directories ................. 19 Manipulate Directory Stack................. 20 Automatically Correct Mistyped Directory Names . 23</p><p>Chapter 2: Essential Linux Commands ..........24Hack Hack Hack Hack Hack Hack Hack Hack Hack Hack Hack Hack 7. Grep Command .......................... 24 8. Regular Expression in Grep................. 26 9. Find Command .......................... 29 10. Suppress Standard Output and Error Message ..31 11. Join Command .......................... 32 12. Change the Case ........................ 33 13. Xargs Command ........................ 34 14. Sort Command ......................... 35 15. Uniq Command ......................... 37 16. Cut Command .......................... 38 17. Stat Command ......................... 39 18. Diff Command .......................... 41 2</p><p>Linux 101 Hacks</p><p>www.thegeekstuff.com</p><p>Hack Hack Hack Hack Hack Hack Hack Hack Hack</p><p>19. 20. 21. 22: 23. 24. 25. 26. 27.</p><p>Display Total Connect Time of Users ..........42 Execute Commands in the Background ........43 Sed Basics - Find and Replace Using RegEx ....45 Awk Introduction Print Examples ........... 50 Vim Editor Navigation Fundamentals .........56 Chmod Command Examples................ 60 View Multiple Log Files in One Terminal .......62 Less Command.......................... 64 Wget Examples ......................... 68</p><p>Chapter 3: SSH Commands and Tips............76Hack Hack Hack Hack Hack 28. 29. 30. 31. 32. Debug SSH Client Session ................. 76 Toggle SSH Session using SSH Escape Character . 77 Display SSH Session Statistics .............. 78 Change OpenSSH Security Options...........79 Transfer All PuTTY Sessions................ 85</p><p>Chapter 4: Date Manipulation ................ 87Hack Hack Hack Hack Hack 33. 34. 35. 36. 37. Set System Date and Time ................. 87 Set Hardware Date and Time ...............88 Display Date and Time in a Specific Format ....89 Display Past Date and Time ................ 90 Display Future Date and Time ..............91</p><p>Chapter 5: PS1, PS2, PS3, PS4 and PROMPT_COMMAND....................... 93Hack Hack Hack Hack Hack Hack Hack 38. 39. 40. 41. 42. 43. 44. PS1 - Default Interaction Prompt ............93 PS2 - Continuation Interactive Prompt ........94 PS3 - Prompt Used by Select Command........95 PS4 - Prompt to Prefix Tracing Output ........97 PROMPT_COMMAND ..................... 98 Customize Bash Prompt Using PS1........... 99 Colorful Bash Prompt Using PS1............104</p><p>Chapter 6: Archive and Compression..........109Hack 45. Zip Command Basics .................... 109 Hack 46. Zip Command Advanced Compression........111 3</p><p>Linux 101 Hacks</p><p>www.thegeekstuff.com</p><p>Hack Hack Hack Hack Hack</p><p>47. 48. 49. 50. 51.</p><p>Password Protection of Zip files ............ 113 Tar Command Examples .................. 113 Combine gzip, bzip2 with Tar ..............115 BZ is Eazy! Bz* Command Examples.........116 Cpio Examples ......................... 120</p><p>Chapter 7: Command Line History ............ 124Hack 52. Bash Command Line History Examples.......124 Hack 53. History Related Environment Variables.......128 Hack 54. History Expansion Examples .............. 133</p><p>Chapter 8: System Administration Tasks........136Hack Hack Hack Hack Hack Hack Hack Hack Hack Hack Hack Hack Hack Hack Hack Hack 55. 56. 57. 58. 59. 60. 61. 62. 63. 64. 65. 66. 67. 68. 69. 70. Partition Using fdisk..................... 136 Format a Partition Using mke2fsk ..........138 Mount a Partition ...................... 140 Fine Tune a Partition Using tune2fs .........140 Create a Swap File System................ 142 Create a New User...................... 143 Create a New Group .................... 145 Setup SSH Passwordless Login in OpenSSH ....146 Use ssh-copy-id Along With ssh-agent .......147 Crontab Examples...................... 149 Safe Reboot Of Linux Using Magic SysRq Key ..151 Linux Parted Command Examples ........... 153 Rsync Command Examples ................ 164 Chkconfig Command Examples.............169 How to Setup Anacron................... 174 IPTables Rules Examples ................. 178</p><p>Chapter 9: Install Packages................. 181Hack Hack Hack Hack 71. 72. 73. 74. Yum Command Examples................. 181 RPM Command Examples................. 184 apt-* Command Examples................. 188 Install from Source...................... 190</p><p>Chapter 10: LAMP Stack................... 192Hack 75. Install Apache 2 with SSL................. 192 4</p><p>Linux 101 Hacks</p><p>www.thegeekstuff.com</p><p>Hack Hack Hack Hack Hack Hack Hack Hack</p><p>76. 77. 78. 79. 80. 81. 82. 83.</p><p>Install PHP from Source .................. 196 Install MySQL ......................... 199 Install LAMP Stack...................... 204 Install XAMPP......................... 210 Secure Your Apache Web Server ............ 212 Apachectl and Httpd Tips................. 216 Setup Apache Virtual Host Configuration......223 Rotate Apache Logs Files................. 225</p><p>Chapter 11: Bash Scripting................. 228Hack Hack Hack Hack Hack 84. 85. 86. 87. 88. Execution Sequence of .bash_* files.........228 Bash FOR Loops Using C Like Syntax ........232 Debug a Shell Script..................... 234 Quoting.............................. 236 Read Data File Fields Inside a Shell Script ....237</p><p>Chapter 12: System Monitoring and Performance.239Hack Hack Hack Hack Hack Hack Hack Hack Hack Hack Hack Hack Hack 89. Free Command......................... 239 90. Top Command ......................... 240 91. Df Command .......................... 243 92. Du Command .......................... 244 93. Lsof Commands ........................ 245 94. Vmstat Command ...................... 247 95. Netstat Command ...................... 248 96. Sysctl Command ....................... 251 97. Nice Command ........................ 252 98. Renice Command ....................... 254 99. Kill Command ......................... 256 100. Ps Command......................... 258 101. Sar Command ........................ 260</p><p>Your Support is Appreciated ................ 264Bash 101 Hacks ............................... 264 Sed and Awk 101 Hacks ......................... 264 Nagios Core 3 ................................ 265 Vim 101 Hacks ............................... 265 5</p><p>Linux 101 Hacks</p><p>www.thegeekstuff.com</p><p>10 Amazing and Essential Linux Books ......... 266 Extended Reading........................ 269More Linux Articles............................ 270</p><p>Thank You.............................. 271</p><p>6</p><p>Linux 101 Hacks</p><p>www.thegeekstuff.com</p><p>IntroductionThere are only 10 types of people in the world those who understand binary, those who dont, and those who understand gray code Geek</p><p>There are total of 101 hacks in this book that will help you build a strong foundation in Linux. All the hacks in this book are explained with appropriate Linux command examples that are easy to follow. This book contains 12 chapters. Chapters 1 3 explain OpenSSH tips and tricks, CD command hacks, and several essential Linux commands including grep, find and many more. Chapters 4 6 cover date manipulation, Linux command prompt customization, archive and compression commands. Clear examples are provided. Chapter 7 9 explain critical Linux sysadmin tasks, package installation on various distros, and bash command line history with clear examples Chapter 10 - 12 cover LAMP stack installation and several Linux system monitoring and performance commands with practical examples.</p><p>A note on the examples: Most examples are identified in the following way.</p><p>Example DescriptionLines of code for you to type, with the result you will see on screen. Additional clarification or discussion will appear below the code section in plain text. 7</p><p>Linux 101 Hacks</p><p>www.thegeekstuff.com</p><p>About the AuthorIm Ramesh Natarajan, author of The Geek Stuff blog thegeekstuff.com and numerous ebooks including this one. I have done extensive programming in several languages and C is my favorite. I have done a lot of work on the infrastructure side including Linux system administration, DBA, Networking, Hardware and Storage (EMC). I also developed passworddragon.com a free, easy and secure password manager that runs on Windows, Linux and Mac. Apart from this Linux 101 Hacks eBook, I've also published the following ebooks: Vim 101 Hacks Nagios Core 3 Sed and Awk 101 Hacks Bash 101 Hacks</p><p>If you have any questions while reading this book, don't hesitate to reach out to me. You can connect with me on the following: Twitter (@thegeekstuff) Facebook page</p><p>If you want to write to me directly, use this contact form to reach out to me.</p><p>8</p><p>Linux 101 Hacks</p><p>www.thegeekstuff.com</p><p>Copyright & DisclaimerCopyright 2009 - 2011 Ramesh Natarajan. All rights reserved. No part of this book may be reproduced, translated, posted or shared in any form, by any means. The information provided in this book is provided 'as is' with no implied warranties or guarantees.</p><p>VersionVersion 1.0 2.0 Date 12 Feb 2009 16 Nov - 2011 Revisions First Edition Second Edition</p><p>9</p><p>Linux 101 Hacks</p><p>www.thegeekstuff.com</p><p>More eBooks from The Geek StuffBash 101 HacksWhen you are working on a Linux environment, does any of the following sound familiar to you? You are spending significant amount of time doing tasks manually, without knowing how to automate those tasks effectively using scripts. You are executing set of commands to complete a task, and retyping the same commands manually with different values to complete similar tasks. You are having a good understanding of all Linux commands, but struggling to put them together in a shell script to accomplish a task.</p><p>Bash is the default shell on Linux. If you are spending lot of time on Linux environment, you should master the Bash command line features to become efficient. Apart from being an interactive shell, Bash is also a scripting language, which allows you to automate your tasks using Bash shell scripting. Bash 101 Hacks is a downloadable eBook that contains 101 practical examples on both Bash command line and shell scripting, that will help you understand everything you need to know about Bash.</p><p>Get Your Copy of: Bash 101 Hacks eBook http://www.thegeekstuff.com/bash-101-hacks-ebook/</p><p>10</p><p>Linux 101 Hacks</p><p>www.thegeekstuff.com</p><p>Sed and Awk 101 HacksIf you are spending lot of time on UNIX / Linux, the following might sound familiar to you. You are manually making the same edits on multiple files. Sometimes the same edits are manually repeated on files on different servers. You are constantly viewing large log files (or data files), manually looking for certain lines that contain certain patterns. Once you find those lines, you are manually copying and pasting a few relevant fields from those lines for reporting purposes. You are constantly dealing with text files, and spending a lot of time manually manipulating the text files.</p><p>If you are spending lot of time on UNIX / Linux, youll be manipulating text files frequently. You may be making the similar edits on multiple configuration files on one or more servers. You may be digging huge log files (or data files) looking for certain information. Sed and Awk 101 Hacks is a downloadable eBook that contains 101 practical examples on various advanced Sed and Awk features, that will help you understand everything you need to know about Sed and Awk.</p><p>Get Your Copy of: Sed and Awk 101 Hacks eBook http://www.thegeekstuff.com/sed-awk-101-hacks-ebook/</p><p>11</p><p>Linux 101 Hacks</p><p>www.thegeekstuff.com</p><p>Nagios CoreIf you are a sysadmin, dba, network administrator, or someone who is responsible for keeping the IT infrastructure up and running, the following might sound familiar to you. You dont know when youll run out of disk space, or when the server will go down, or when the database will crash, or when one of the critical services running on the server will fail. You are worried that right people (or team) are not getting notified about the se..</p>