Preview

Linux Tricks

Satisfactory Essays
Open Document
Open Document
39450 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Linux Tricks
Linux 101 Hacks

www.thegeekstuff.com

Table of Contents
Introduction........................................................... 7 About the Author.................................................... 8 Copyright & Disclaimer............................................ 9
Version.............................................................................. 9

More eBooks from The Geek Stuff..........................10
Bash 101 Hacks............................................................... 10 Sed and Awk 101 Hacks................................................... 11 Nagios Core..................................................................... 12 Vim 101 Hacks................................................................. 13

Chapter 1: Powerful CD Command Hacks................14
Hack 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

Chapter 2: Essential Linux Commands ...................24
Hack 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



Links: 7 Gid: Access: (0755/drwxr-xr-x) (401/ramesh)

You May Also Find These Documents Helpful

  • Good Essays

    Nt1310 Unit 4 Lab Report

    • 818 Words
    • 4 Pages

    The purpose of Lab 4 was to experiment with the vi editor commands. In the lab, the “garden” file was edited in many different ways. Many commands were explored in this lab including the ab, U, yy, dd, w, set number, set showmode, and paging commands.…

    • 818 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    Which of the following Linux utilities lists the names of files in a single directory?…

    • 2385 Words
    • 10 Pages
    Powerful Essays
  • Powerful Essays

    NT1430 Lab2 Joy Brewer

    • 989 Words
    • 4 Pages

    11. What does grep do? The grep command is used to search text or searches the given file for lines containing a match to the given strings or words. By default, grep displays the matching lines…

    • 989 Words
    • 4 Pages
    Powerful Essays
  • Satisfactory Essays

    POS 420 Week 5 UNIX Paper

    • 541 Words
    • 4 Pages

    Complete the University of Phoenix Material: File Processing Commands Worksheet located on your student website.…

    • 541 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    It250

    • 272 Words
    • 2 Pages

    Which of the following Linux utilities lists the names of files in a single directory?…

    • 272 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    7. What utility searches through one or more files to see whether any contain a specified string of characters?…

    • 1070 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    NT1430 UNIT 2

    • 565 Words
    • 3 Pages

    3) If working directory is/ home/max with a subdirectory named literature, give three sets of commands you can use to create a subdirectory named classics under literature. Also give several sets of commands you can use to remove the classics directory and its contents.…

    • 565 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    linux

    • 456 Words
    • 2 Pages

    1. What change is necessary to make sendmail listen to all network traffic on port 25? What file would you edit?…

    • 456 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Linux Hw

    • 287 Words
    • 2 Pages

    What kind of server repond to recursive queries ? how does this server work ?…

    • 287 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    1. The difference between UNIX and Linux is that UNIX trademark is specific to systems that meet a complex set of X/Open standards and has a cost whereas Linux is open source…

    • 537 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    The original task team at First World Bank Savings and Loan has concerns about the…

    • 849 Words
    • 4 Pages
    Satisfactory Essays
  • Best Essays

    Unix/Linux

    • 2760 Words
    • 12 Pages

    The following sections in this paper focus on analyzing operating systems for Riordan Manufacturing Inc. that specializes in plastic molding and design. Team B concentrated on five main areas of UNIX, Linux, and Windows Server. The five areas include Security, Administration, Networking, Performance, and Programmability. The team explains the existing systems, followed by comparing advantages and disadvantages of each operating system. The comparisons provide insight for Riordan’s IT specialist and administration considering which system to implement. Interesting topics that relate to security weaknesses, and advantages that UNIX® and Linux® compare against the operating giant, Microsoft Windows Server®.…

    • 2760 Words
    • 12 Pages
    Best Essays
  • Better Essays

    Intro to Operating System

    • 907 Words
    • 4 Pages

    To understand three operating systems, you must first know what an operating system is. An operating system is software that controls the computer. It manages hardware, run applications, provides’ an interface for uses, stores, retrieves files. Here are three operating systems DOS, Windows 2000, and Linux. DOS, which is a disk operating system was the first OS within IBM computers. DOS was the operating system utilized by early versions of Windows including Windows 3.1 and 3.11. Next you have Windows 2000, which is an upgraded version of Windows NT and comes in numerous versions some are designed for the desktop and other designed high-end servers. Windows 2000 was a popular choice for corporate offices and their employees. The ultimate reason Windows 2000 was so successful over Windows NT was because it was more stable, support for Plug and Play, device manager, recovery console, activity directory, and better network support. At this time Windows 2000 is a dying operating system and provides no support from Microsoft due to the newer operating systems coming out at this time. The third operating system would be Linux is predominantly used for servers. Between Windows, and Mac, Linux is not a high option and is actually one to two percent of the desktop market. The creation of Linux was one of the best examples for free and open source software collaborations. Linux is packaged in a format known as Linux distribution for desktop and server use.…

    • 907 Words
    • 4 Pages
    Better Essays
  • Powerful Essays

    Linux Mint Pdf

    • 12277 Words
    • 50 Pages

    INTRODUCTION TO LINUX MINT........................................................................................ 4 HISTORY.........................................................................................................................................4 PURPOSE.........................................................................................................................................4 VERSION NUMBERS AND CODENAMES ..........................................................................................5 EDITIONS........................................................................................................................................6 WHERE TO FIND HELP...................................................................................................................6 INSTALLATION OF LINUX MINT.......................................................................................... 7 DOWNLOAD THE ISO.....................................................................................................................7 VIA TORRENT..................................................................................................................................7 Install a Torrent client.....................................................................................................................8 Download the Torrent file...............................................................................................................8 VIA A DOWNLOAD MIRROR..............................................................................................................8 READ THE RELEASE NOTES..........................................................................................................8 CHECK THE MD5...........................................................................................................................9 BURN THE ISO TO…

    • 12277 Words
    • 50 Pages
    Powerful Essays
  • Good Essays

    The Philosophy of Ubuntu

    • 685 Words
    • 3 Pages

    Mary is the learner in my class who is an AIDS OPHARN, She lives with her Brother and her younger sister, They are struggling to survive as they have no proper clothing and school uniform. They often go to sleep hungry. This situation affects Mary’s performance in her school work. As Mary’s Teacher I will use African Philosophy to show how she can be helped and assisted in her situation. I will explain the Central Ethical Idea in African Philosophy which is UBUNTU. I will then show how UBUNTU Principles can be used by the community .therefore my solution o the problem will be to teach and to show he Community (class)the importance of Embodying the principles of African Philosophy.…

    • 685 Words
    • 3 Pages
    Good Essays

Related Topics