- Page 2 and 3:
Working with Linux - Quick Hacks fo
- Page 4 and 5:
Network - Who's listening?Autoenv -
- Page 6 and 7:
Working with Linux - Quick Hacks fo
- Page 8 and 9:
Melwyn DsaCover WorkMelwyn Dsa
- Page 10 and 11:
www.PacktPub.com
- Page 12 and 13:
Why subscribe?Fully searchable acro
- Page 14 and 15:
PrefaceOur mission is to save Linux
- Page 16 and 17:
What you need for this bookIdeally,
- Page 18 and 19:
ConventionsIn this book, you will f
- Page 20 and 21:
Customer supportNow that you are th
- Page 22 and 23:
PiracyPiracy of copyrighted materia
- Page 24 and 25:
Chapter 1. IntroductionThis book is
- Page 27 and 28:
Terminator - the ultimate terminalT
- Page 29 and 30:
Preferences menuIt's an customizing
- Page 31 and 32:
And voila! This is our newly config
- Page 33 and 34:
Ctrl + Shift + E for a vertical spl
- Page 35 and 36:
Text zoom: Ctrl + + and Ctrl + -
- Page 37 and 38:
Guake - not Quake!Terminator works
- Page 39 and 40:
I believe you can guess what this d
- Page 41 and 42:
We can use Guake in full screen by
- Page 43 and 44:
The tool is automatically added to
- Page 45 and 46:
For example, we might want to updat
- Page 47 and 48:
With ClipIt, you can copy and paste
- Page 49 and 50:
Vim is renowned for its exotic keyb
- Page 51 and 52:
Press the Insert key again to go to
- Page 53 and 54:
productive in the coolest terminal
- Page 55 and 56:
instructions for installing the oh-
- Page 57 and 58:
Let's create a file, say readme.md.
- Page 59 and 60:
You can now see the branch name in
- Page 61 and 62:
History navigation: Click on arrow
- Page 63 and 64: To see a list of shortcuts, run the
- Page 65 and 66: joe is the string we are searching
- Page 67 and 68: If we don't know exactly what chara
- Page 69 and 70: To find all the lines that have onl
- Page 71 and 72: This will replace every occurrence
- Page 73 and 74: Pipes and subshells - your shell's
- Page 75 and 76: "df -h": This shows the disk usage
- Page 77 and 78: ps aux: This prints all processes w
- Page 79 and 80: cat lorem.txt| tr " " "\n": Transfo
- Page 81 and 82: imagination and how well you learn
- Page 83 and 84: As you can see, the value test is p
- Page 85 and 86: In our case, we will be selecting f
- Page 87 and 88: esacdoneecho "invalid option"exit 1
- Page 89 and 90: ./script.sh --ip wlp3s0We can see t
- Page 91 and 92: This way we can start the script, w
- Page 93 and 94: Shell scripting librariesTo really
- Page 95 and 96: of the current working directory (o
- Page 97 and 98: case ${CMD} inpublicip)print_public
- Page 99 and 100: Supercharging VimLet's start by ope
- Page 101 and 102: Let's choose desert!
- Page 103 and 104: We can do the same thing for xml fi
- Page 105 and 106: Keyboard kung fuNow that we have Vi
- Page 107 and 108: Other handy shortcuts are:G: Go to
- Page 109: :1,$s/CWD/DIR/g:1,$ - start from li
- Page 112 and 113: This will delete everything from li
- Page 116 and 117: Now let's move forward to window ma
- Page 118 and 119: It also has a different option. Let
- Page 120 and 121: Another awesome plugin that comes i
- Page 122 and 123: languages. If we take a look at ~/.
- Page 124 and 125: Vim password managerVim can also be
- Page 126 and 127: Saving encrypted files with Vim, co
- Page 128 and 129: Instant configuration restoringThe
- Page 130 and 131: Chapter 4. CLI - The Hidden RecipeT
- Page 132 and 133: only replace the first argument.l:
- Page 134 and 135: We will enclose the string followin
- Page 136 and 137: Which stands for:^: Beginning of li
- Page 138 and 139: -name: This helps to search the fil
- Page 140 and 141: As you can see, there are only two
- Page 142 and 143: In the same way, we'd use -type d t
- Page 144 and 145: I have quite a big list. You can se
- Page 146 and 147: While working with lots of project
- Page 148 and 149: This will execute the grep command
- Page 150 and 151: find . -name "*.node" -exec sed -i
- Page 152 and 153: And you will find yourself inside a
- Page 154 and 155: our initial session if we want to.
- Page 156 and 157: Tmux gives you the possibility to s
- Page 158 and 159: Ctrl + b w: list:
- Page 160 and 161: These last functionalities are very
- Page 162 and 163: default Ubuntu desktop installation
- Page 164 and 165:
As you can see from the output, it'
- Page 166 and 167:
Nmap is a command used for checking
- Page 168 and 169:
In /24 = 255.255.255.0, basically t
- Page 170 and 171:
To get out of telnet, hit: Ctrl +],
- Page 172 and 173:
Autoenv - Set a lasting, project-ba
- Page 174 and 175:
Save and close both files. Now when
- Page 176 and 177:
We can see that the same warning me
- Page 178 and 179:
And as you can see, the environment
- Page 180 and 181:
Don't rm the trashCommands can be c
- Page 182 and 183:
Here we see the files that are in o
- Page 184 and 185:
This is the equivalent of doing rm
- Page 186 and 187:
The spot webserverWe have prepared
- Page 188 and 189:
This is a basic Python module that
- Page 190 and 191:
Shrinking spells and other ImageMag
- Page 192 and 193:
PNG images usually take more space
- Page 194 and 195:
As we can see, the output image is
- Page 196 and 197:
This can also come in handy in diff
- Page 198:
By default, it outputs a file with
- Page 201 and 202:
As you can see from the output, it
- Page 203 and 204:
All right. A good way to get starte
- Page 205 and 206:
This is not the most intuitive desc
- Page 207 and 208:
Again, to get a summary of actions:
- Page 209 and 210:
It will prompt us for a series of r
- Page 211 and 212:
This tells us that there is a 1.0.0
- Page 213 and 214:
Apparently not. Something went wron
- Page 215 and 216:
As you can see, the commands are qu
- Page 217 and 218:
Luckily, we can tell git to use ext
- Page 219 and 220:
It will ask us if we want to launch
- Page 222 and 223:
Again, it offers to open Meld. In M
- Page 224 and 225:
From localhost to instant DNSOften,
- Page 226 and 227:
Then restart ngrok with the HTTP tr
- Page 228 and 229:
Here are some specific scenarios fo
- Page 230 and 231:
We will print the JSON objects back
- Page 232 and 233:
This will print the request method
- Page 234 and 235:
The jq is often used for big data q
- Page 236 and 237:
Now we can see a count of get, put,
- Page 238 and 239:
As we can see from the output, even
- Page 240 and 241:
If we want to refine our search eve
- Page 242 and 243:
There are many more examples and us
- Page 244 and 245:
No more mister nice guyThe kernel a
- Page 246 and 247:
To avoid the process of grepping fo
- Page 248 and 249:
basis. Use it only when the graphic
- Page 250 and 251:
When running this command, you get
- Page 252 and 253:
This will show, in a nice format, a
- Page 255 and 256:
We get the weather forecast for Lon
- Page 257 and 258:
They have beautiful colors, easy-to
- Page 259 and 260:
CClipItabout / ClipIt - copy-paste
- Page 261 and 262:
Eelectron open source projectURL /
- Page 263 and 264:
Ggitconflicts, merging / Merging Gi
- Page 265 and 266:
Jjq pageURL / JSON jamming in the n
- Page 267 and 268:
MMeld / Merging Git conflicts with
- Page 269 and 270:
OOh-my-zsh frameworkabout / Oh-my-z
- Page 271 and 272:
Rregular expressionsabout / Basic r
- Page 273 and 274:
TTerminatorabout / Terminator - the
- Page 275:
Xxkill commandusing / No more miste