Ebook

Loading

[Ebook] Linux 101 Hacks

Author
Gwangjou
Date
2013-08-07 04:24
Views
45042882
To download this ebook, you should register email at http://www.thegeekstuff.com/linux-101-hacks-free-ebook/

linux-101-hacks175.png

Linux 101 Hacks – Table of Contents

Chapter 1: Powerful CD Command Hacks

  • Hack 1. Use CDPATH to define the base directory for cd command
  • Hack 2. Use cd alias to navigate up the directory effectively
  • Hack 3. Perform mkdir and cd using a single command
  • Hack 4. Use “cd -” to toggle between the last two directories
  • Hack 5. Use dirs, pushd and popd to manipulate directory stack
  • Hack 6. Use “shopt -s cdspell” to automatically correct mistyped directory names on cd

Chapter 2: Date Manipulation

  • Hack 7. Set System Date and Time
  • Hack 8. Set Hardware Date and Time
  • Hack 9. Display Current Date and Time in a Specific Format
  • Hack 10. Display Past Date and Time
  • Hack 11. Display Future Date and Time

Chapter 3: SSH Client Commands

  • Hack 12. Identify SSH Client Version
  • Hack 13. Login to Remote Host using SSH
  • Hack 14. Debug SSH Client Session
  • Hack 15. Toggle SSH Session using SSH Escape Character
  • Hack 16. SSH Session Statistics using SSH Escape Character

Chapter 4: Essential Linux Commands

  • Hack 17. Grep Command
  • Hack 18. Find Command
  • Hack 19. Suppress Standard Output and Error Message
  • Hack 20. Join Command
  • Hack 21. Change the Case
  • Hack 22. Xargs Command
  • Hack 23. Sort Command
  • Hack 24. Uniq Command
  • Hack 25. Cut Command
  • Hack 26. Stat Command
  • Hack 27. Diff Command
  • Hack 28. Display total connect time of users

Chapter 5: PS1, PS2, PS3, PS4 and PROMPT_COMMAND

  • Hack 29. PS1 – Default Interaction Prompt
  • Hack 30. PS2 – Continuation Interactive Prompt
  • Hack 31. PS3 – Prompt used by “select” inside shell script
  • Hack 32. PS4 – Used by “set -x” to prefix tracing output
  • Hack 33. PROMPT_COMMAND

Chapter 6: Colorful and Functional Shell Prompt Using PS1

  • Hack 34. Display username, hostname and current working directory in the prompt
  • Hack 35. Display current time in the prompt
  • Hack 36. Display output of any command in the prompt
  • Hack 37. Change foreground color of the prompt
  • Hack 38. Change background color of the prompt
  • Hack 39. Display multiple colors in the prompt
  • Hack 40. Change the prompt color using tput
  • Hack 41. Create your own prompt using the available codes for PS1 variable
  • Hack 42. Use bash shell function inside PS1 variable
  • Hack 43. Use shell script inside PS1 variable

Chapter 7: Archive and Compression

  • Hack 44. Zip command basics
  • Hack 45. Advanced compression using zip command
  • Hack 46. Password Protection of Zip files
  • Hack 47. Validate a zip archive
  • Hack 48. Tar Command Basics
  • Hack 49. Combine gzip, bzip2 with tar

Chapter 8: Command Line History

  • Hack 50. Display TIMESTAMP in history using HISTTIMEFORMAT
  • Hack 51. Search the history using Control+R
  • Hack 52. Repeat previous command quickly using 4 different methods
  • Hack 53. Execute a specific command from history
  • Hack 54. Execute previous command that starts with a specific word
  • Hack 55. Control the total number of lines in the history using HISTSIZE
  • Hack 56. Change the history file name using HISTFILE
  • Hack 57. Eliminate the continuous repeated entry from history using HISTCONTROL
  • Hack 58. Erase duplicates across the whole history using HISTCONTROL
  • Hack 59. Force history not to remember a particular command using HISTCONTROL
  • Hack 60. Clear all the previous history using option -c
  • Hack 61. Substitute words from history commands
  • Hack 62. Substitute a specific argument for a specific command
  • Hack 63. Disable the usage of history using HISTSIZE
  • Hack 64. Ignore specific commands from the history using HISTIGNORE

Chapter 9: System Administration Tasks

  • Hack 65. Partition using fdisk
  • Hack 66. Format a partition using mke2fsk
  • Hack 67. Mount the partition
  • Hack 68. Fine tune the partition using tune2fs
  • Hack 69. Create a swap file system.
  • Hack 70. Create a new user
  • Hack 71. Create a new group and assign to an user
  • Hack 72. Setup SSH passwordless login in OpenSSH
  • Hack 73. Use ssh-copy-id along with ssh-agent
  • Hack 74. Crontab
  • Hack 75. Safe Reboot Of Linux Using Magic SysRq Key

Chapter 10: Apachectl and Httpd Examples

  • Hack 76. Pass different httpd.conf filename to apachectl
  • Hack 77. Use a temporary DocumentRoot without modifying httpd.conf
  • Hack 78. Increase the Log Level temporarily
  • Hack 79. Display the modules inside Apache
  • Hack 80. Show all accepted directives inside httpd.conf
  • Hack 81. Validate the httpd.conf after making changes
  • Hack 82. Display the httpd build parameters
  • Hack 83. Load a specific module only on demand

Chapter 11: Bash Scripting

  • Hack 84. Execution Sequence of .bash_* files
  • Hack 85. How to generate random number in bash shell
  • Hack 86. Debug a shell script
  • Hack 87. Quoting
  • Hack 88. Read data file fields inside a shell script

Chapter 12: System Monitoring and Performance

  • Hack 89. Free command
  • Hack 90. Top Command
  • Hack 91. Ps Command
  • Hack 92. Df Command
  • Hack 93. Kill Command
  • Hack 94. Du Command
  • Hack 95. lsof commands.
  • Hack 96. Sar Command
  • Hack 97. vmstat Command
  • Hack 98. Netstat Command
  • Hack 99. Sysctl Command
  • Hack 100. Nice Command
  • Hack 101. Renice Command
Total Reply 2

  • 2017-10-23 06:03

    thanks


  • 2017-10-23 06:33

    great book


Total 1,424
Number Title Author Date Votes Views
1424
Byte of Python
tanthanh | 2020.05.28 | Votes 0 | Views 45503116
tanthanh 2020.05.28 0 45503116
1423
Surviving the Top Ten Challenges of Software Testing: A People-Oriented Approach (2)
^Software^ | 2019.07.22 | Votes 0 | Views 45944413
^Software^ 2019.07.22 0 45944413
1422
Jmeter Cookbook (1)
VTB | 2019.06.27 | Votes 0 | Views 46385832
VTB 2019.06.27 0 46385832
1421
Java Testing : Maven - Reference (315 Pages) (1)
IT-Tester | 2019.06.26 | Votes 0 | Views 46257139
IT-Tester 2019.06.26 0 46257139
1420
Java Testing : Maven Example (154 Pages)
IT-Tester | 2019.06.26 | Votes 0 | Views 46262433
IT-Tester 2019.06.26 0 46262433
1419
AGILE TESTING - EBOOK (2)
HenryChuks | 2019.05.31 | Votes 0 | Views 45494172
HenryChuks 2019.05.31 0 45494172
1418
“Software Testing Career Package – A Software Tester’s Journey from Getting a Job to Becoming a Test Leader!”
aiitistqb | 2018.10.16 | Votes 0 | Views 45420993
aiitistqb 2018.10.16 0 45420993
1417
Practical Software Testing – New FREE eBook [Download] (2)
aiitistqb | 2018.10.16 | Votes 0 | Views 45442201
aiitistqb 2018.10.16 0 45442201
1416
The Pathologies of Failed Test Automation Projects
aiitistqb | 2018.10.16 | Votes 0 | Views 45293695
aiitistqb 2018.10.16 0 45293695
1415
Selenium WebDriver Practical Guide (4)
meo meo con con | 2018.06.16 | Votes 0 | Views 46073584
meo meo con con 2018.06.16 0 46073584
1414
Python for Informatics
melassiri | 2018.06.04 | Votes 0 | Views 45880192
melassiri 2018.06.04 0 45880192
1413
Hacking - The Art of Exploitation (7)
ravisk | 2018.03.25 | Votes 0 | Views 45445683
ravisk 2018.03.25 0 45445683
1412
Instant Penetration Testing Setting Up a Test Lab How-to (1)
ravisk | 2018.03.24 | Votes 0 | Views 44119180
ravisk 2018.03.24 0 44119180
1411
Practical-Guide-to-Software-System-Testing (3)
ravisk | 2018.03.24 | Votes 1 | Views 46948465
ravisk 2018.03.24 1 46948465
1410
EFFORT estimation software (1)
ravisk | 2018.03.24 | Votes 0 | Views 45773007
ravisk 2018.03.24 0 45773007
1409
Lee Copeland. A Practitioner's Guide to Software Test Design (19)
Unbroken | 2017.12.15 | Votes 0 | Views 45324088
Unbroken 2017.12.15 0 45324088
1408
http response codes (3)
SV369 | 2017.12.14 | Votes 0 | Views 46280734
SV369 2017.12.14 0 46280734
1407
«Hacking Mobile Exposed, Security secrets and solutions» (5)
Unbroken | 2017.12.08 | Votes 0 | Views 46079684
Unbroken 2017.12.08 0 46079684
1406
James A. Whittaker «Exploratory software testing» (8)
Unbroken | 2017.12.08 | Votes 1 | Views 45821529
Unbroken 2017.12.08 1 45821529
1405
FOUNDATIONS OF SOFTWARE TESTING (6)
marklouis | 2017.12.05 | Votes 0 | Views 45733129
marklouis 2017.12.05 0 45733129
1404
Python for informatics (2)
TesterQA | 2017.12.01 | Votes 0 | Views 45565121
TesterQA 2017.12.01 0 45565121
1403
Selenium Testing Tool Cookbook (11)
liliam001 | 2017.11.14 | Votes 0 | Views 44966731
liliam001 2017.11.14 0 44966731
1402
What is SQL Injection? (4)
ArifBaba | 2017.10.28 | Votes 0 | Views 45529628
ArifBaba 2017.10.28 0 45529628
1401
Oracle Middleware Tuning (4)
gpratikg | 2017.10.08 | Votes 0 | Views 45433678
gpratikg 2017.10.08 0 45433678
1400
Microsoft SQL Server 2012 (3)
yoshiharra | 2017.10.08 | Votes 0 | Views 45936576
yoshiharra 2017.10.08 0 45936576
1399
visual studio c sharp
vikasrao | 2017.09.24 | Votes 0 | Views 45557339
vikasrao 2017.09.24 0 45557339
1398
How to Break Web Software: Functional and Security Testing of Web Applications and Web Services (7)
vikasrao | 2017.09.24 | Votes 0 | Views 45335693
vikasrao 2017.09.24 0 45335693
1397
The Art of Unit Testing with Examples in .NET
vikasrao | 2017.09.24 | Votes 0 | Views 45440971
vikasrao 2017.09.24 0 45440971
1396
Scrum (2)
dhoanglong91 | 2017.09.23 | Votes 1 | Views 44869952
dhoanglong91 2017.09.23 1 44869952
1395
Python for Unix and Linux System Administration
Crismachado | 2017.09.22 | Votes 0 | Views 45261086
Crismachado 2017.09.22 0 45261086
1394
Ruby Best Practices (3)
Crismachado | 2017.09.22 | Votes 0 | Views 45096405
Crismachado 2017.09.22 0 45096405
1393
Python in Practice (2)
ManhAnh | 2017.09.05 | Votes 0 | Views 45627490
ManhAnh 2017.09.05 0 45627490
1392
Practical Object-Oriented Design in Ruby (2)
ManhAnh | 2017.09.05 | Votes 0 | Views 44346310
ManhAnh 2017.09.05 0 44346310
1391
Practical Cassandra (2)
ManhAnh | 2017.09.05 | Votes 0 | Views 46022946
ManhAnh 2017.09.05 0 46022946
1390
Development with the Force.com Platform, 3rd Edition (2)
ManhAnh | 2017.09.05 | Votes 0 | Views 46571864
ManhAnh 2017.09.05 0 46571864
1389
Apache Cordova 3 Programming (2)
ManhAnh | 2017.09.05 | Votes 0 | Views 45616529
ManhAnh 2017.09.05 0 45616529
1388
Software Testing - Ron Patton (4)
bugdetective | 2017.09.04 | Votes 0 | Views 46663881
bugdetective 2017.09.04 0 46663881
1387
The Art of Software Testing, 2rd Edition (1)
bugdetective | 2017.09.04 | Votes 0 | Views 45571153
bugdetective 2017.09.04 0 45571153
1386
Explore It!
bugdetective | 2017.09.04 | Votes 1 | Views 45080921
bugdetective 2017.09.04 1 45080921
1385
NoSQl (1)
getmedude | 2017.08.27 | Votes 0 | Views 46432840
getmedude 2017.08.27 0 46432840
1384
Art of testing (10)
dktzm89 | 2017.08.16 | Votes 0 | Views 45775977
dktzm89 2017.08.16 0 45775977
1383
Perl Book (1)
Ravish24 | 2017.08.15 | Votes 0 | Views 45377065
Ravish24 2017.08.15 0 45377065
1382
Automation Testing (5)
Ravish24 | 2017.08.15 | Votes 1 | Views 47332375
Ravish24 2017.08.15 1 47332375
1381
Prince2 model chart
AllGreen | 2017.08.09 | Votes 0 | Views 45081042
AllGreen 2017.08.09 0 45081042
1380
Prince2 for Dummies
AllGreen | 2017.08.09 | Votes 0 | Views 46355469
AllGreen 2017.08.09 0 46355469
1379
Unix and Linux testing (2)
pavan765 | 2017.08.01 | Votes 0 | Views 46498906
pavan765 2017.08.01 0 46498906
1378
Practical Software Testing (6)
Administrator | 2017.07.24 | Votes 0 | Views 45173969
Administrator 2017.07.24 0 45173969
1377
Selenium Notes (1)
masterofall | 2017.07.24 | Votes 0 | Views 45982567
masterofall 2017.07.24 0 45982567
1376
Practical Software Testing
masterofall | 2017.07.24 | Votes 0 | Views 46536339
masterofall 2017.07.24 0 46536339
1375
Lead Generation for Dummies (2)
uday bhaskar | 2017.07.20 | Votes 0 | Views 45807581
uday bhaskar 2017.07.20 0 45807581