Linux Command-Line Fundamentals
From ALICE Documentation
Revision as of 14:16, 18 March 2020 by Dijkbvan
This tutorial teaches you about the Linux command line and shows you some useful commands. It also shows you how to get help in Linux by using the man and apropos commands.
For more training and practice using the command line, you can find many great tutorials. Here are a few:
Unix is an operating system that comes with several application programs. Other examples of operating systems are Microsoft Windows, Apple OS and Google's Android. An operating system is the program running on a computer (or a smartphone) that allows the user to interact with the machine -- to manage files and folders, perform queries and launch applications. In graphical operating systems, like Windows, you interact with the machine mainly with the mouse. You click on icons or make selections from the menus. The Unix that runs on HPC clusters gives you a command-line interface. That is, the way you tell the operating system what you want to do is by typing a command at the prompt and hitting return. To create a new folder you type mkdir. To copy a file from one folder to another, you type cp. And to launch an application program, for instance, the editor vi, you type the name of the application. While this may seem old-fashioned, you will find that once you master some simple concepts and commands you can do what you need to do efficiently and that you have enough flexibility to customize the processes that you use on HPC clusters to suit your needs.