Mastering the command line is so important when it comes to managing the Linux Server. Very often there will be no GUI and all access is via SSH from PuTTY or another client. You will soon learn the speed at which tasks can be achieved from the CLI and why it is so powerful. You may be used to the up arrow key for your Windows history, but the Linux history is so much more. Searching and reading from files is quick and easy, and many tools will be covered giving you the skills you need to manage your servers and desktops.
Andrew is a committed evangelist of the Linux Operating System and the concept of community and freedom that it provides. He has worked as a technical trainer since 1995 and has taught throughout the world, including Australia, the US, Germany and Eastern Europe. Andrew started teaching Linux in 2004 when Novell acquired SUSE and has been a long time supporter of Novell and provides SYSOP support the the Certifed Novell Instructor community on Linux. Andrew founded theurbanpenguin
and has been submitting video training material to his YouTube channel since 2009 and currently has over 8,500 subscribers and 1.6 Million views. Andrew has had two publications with Packt: Citrix Access Gateway VPX Essentials (2012) and Citrix XenApp (2013).
Analyze Text Files So hello, and welcome to this course from Pluralsight, my name is Andrew Mallet and I'm going to be your instructor as we look at how we can Analyze Text Files. So analyzing text files in Linux is really just a posh word for reading files, and of course there are many tools that we can use to do that, so we could use cat, head, tail, cut, less, and we can use sort to negotiate it and sort the output. But like anything, making sure that we choose the correct tool, and making sure that it's fit for the purpose to which we want to use. The command Head is used to display the top files from a line, so I could use head -n3 to show me the top 3 lines, in a similar way we can use Tail to look at the end of a file. We can use the tool Sort to organize our data within columns so we can sort it in our alphabetical, or numerical format, and reverse order if necessary. Cut can remove certain columns so we can filter the data and display just the information that we want to focus on. The command Less can be used to page through a longer file, and as with anything sometimes it's knowing the tools to leave behind as well as the tools to use. We're going to start off by looking at Cat and Tac.