Working with Linux – Quick Hacks for the Command Line
eBook - ePub

Working with Linux – Quick Hacks for the Command Line

  1. 222 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Working with Linux – Quick Hacks for the Command Line

Book details
Book preview
Table of contents
Citations

About This Book

Say goodbye to unproductive Linux habits and switch to the express laneAbout This Book• Improve your terminal and command-line productivity by using powerful tools• Sharpen your existing command-line skills and achieve complex tasks faster• Save time and money by creating customized commands that automate day-to-day tasksWho This Book Is ForThis book is for system administrators and developers who know the basics of Linux and want to brush up and sharpen their skills. Prior experience with Linux shell is required.What You Will Learn• Optimize the power of Guake by integrating it with ClipIt• Deep dive into the workings of the console editor—Vim• Explore the advanced concepts and best practices of shell scripting• Edit large amounts of data quickly using Sed• Use pipes and subshells to create customized commands• Get to know how you can speed up the software development and make the terminal a handy companionIn DetailWebsites, online services, databases, and pretty much every other computer that offers public services runs on Linux. From small servers to clusters, Linux is anywhere and everywhere. With such a broad usage, the demand for Linux specialists is ever growing. For the engineers out there, this means being able to develop, interconnect, and maintain Linux environments.This book will help you increase your terminal productivity by using Terminator, Guake and other tools. It will start by installing Ubuntu and will explore tools and techniques that will help you to achieve more work with less effort. Next, it will then focus on Terminator, the ultimate terminal, and vim, one of the most intelligent console editors. Futhermore, the readers will see how they can increase their command line productivity by using sed, find, tmux, network, autoenv. The readers will also see how they can edit files without leaving the terminal and use the screen space efficiently and copy-paste like a pro. Towards the end, we focus on network settings, Git hacks, and creating portable environments for development and production using Docker.Through this book, you will improve your terminal productivity by seeing how to use different tools.Style and ApproachThis book takes a step-by-step approach using examples that show you how to automate tasks using terminal commands. You'll work through easy-to-follow instructions so you learn to use the various Linux commands and tools such as Terminator, Guake, and others.

Frequently asked questions

Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes, you can access Working with Linux – Quick Hacks for the Command Line by Petru I?fan, Bogdan Vaida in PDF and/or ePUB format, as well as other popular books in Informatica & Amministrazione di sistemi. We have over one million books available in our catalogue for you to explore.

Information

Year
2017
ISBN
9781787122277

Working with Linux – Quick Hacks for the Command Line


Table of Contents

Working with Linux – Quick Hacks for the Command Line
Credits
About the Authors
www.PacktPub.com
eBooks, discount offers, and more
Why subscribe?
Customer Feedback
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Errata
Piracy
Questions
1. Introduction
Are you ready?
Terminator – the ultimate terminal
Preferences menu
Features
Guake – not Quake!
ClipIt – copy-paste at its finest
2. Productive Shells – Reinvent the way you work
Oh-my-zsh – your terminal never felt this good before!
Basic regular expressions
Pipes and subshells – your shell's salt and pepper
Shell scripting for fun and profit
Shell scripting libraries
3. Vim kung fu
Supercharging Vim
Color scheme desert
Keyboard kung fu
Plugin steroids for Vim
Vim password manager
Instant configuration restoring
4. CLI – The Hidden Recipe
Sed – one-liner productivity treasure
You can run, but you can't hide… from find
tmux – virtual consoles, background jobs and the like
Network – Who's listening?
Autoenv – Set a lasting, project-based habitat
Don't rm the trash
5. Developers' Treasure
The spot webserver
Shrinking spells and other ImageMagick
Go with the Git flow
Merging Git conflicts with ease
From localhost to instant DNS
JSON jamming in the new age
No more mister nice guy
6. Terminal Art
Index

Working with Linux – Quick Hacks for the Command Line

Copyright © 2017 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the authors, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: May 2017
Production reference: 1260517
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78712-918-4
www.packtpub.com

Credits

Author
Petru Ișfan
Bogdan Vaida
Commissioning Editor
Kartikey Pandey
Acquisition Editor
Prachi Bisht
Content Development Editor
Prachi Bisht
Trusha Shriyan
Technical Editor
Naveenkumar Jain
Copy Editors
Safis Editing
Project Coordinator
Kinjal Bari
Proofreader
Safis Editing
Indexer
Aishwarya Gangawane
Graphics
Kirk D'Penha
Production Coordinator
Melwyn Dsa
Cover Work
Melwyn Dsa

About the Authors

Petru Ișfan is a full-stack developer, Linux evangelist, open source lover, and cloud pioneer. Petru has worked all his engineering life in Linux, and has tried all the major distributions out there. He specializes not only in software development, but in the whole software engineering stack, focusing on tools and workflows that enhance developer productivity and enjoyment.
An early adopter of technology, he uses passion and best practices to deliver software products, mainly for the Web and the mobile world, working with clients big and small. He is really enthusiastic about finding the most efficient and elegant solutions for all problems.
Bogdan Vaida burst onto the training scene in 2009 using extremely old Powerpoint presentations. Luckily, two years later, he switched to experiential training and learning by using methodologies that he practiced devotedly in all of his training. Known for his no-nonsense approach to getting results, Bogdan has been told that he helps participants get their own "insanely practical insights."
What does he do? He travels around the world doing experiential training in fields ranging from video editing to personality typologies and trainer training. While doing this, he ...

Table of contents

  1. Working with Linux – Quick Hacks for the Command Line