The Linux Command Line Chapter 5
Uncover the fundamentals of Linux commands through this comprehensive guide. Explore various types of commands such as executable programs, built-ins, functions, and aliases. Learn how to utilize tools like 'type,' 'which,' 'help,' 'man,' 'whatis,' 'info,' and 'alias' to enhance your command-line proficiency. Dive into creating composite commands and understanding the critical role commands play in navigating the Linux environment effectively.
Download Presentation

Please find below an Image/Link to download the presentation.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.
You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.
E N D
Presentation Transcript
The Linux Command Line Chapter 5 Working With Commands Prepared by Dr. Reyes, New York City College of Technology
What Exactly Are Commands? An executable program such as compiled binaries written in C and C++ or programs written in scripting languages such as the shell, python, ruby, etc. A command built into the shell itself o i.e. cd A shell function. (Covered later in the course) An alias. Commands that we can define ourselves, built from other commands.
type command type - displays the kind of command the shell will execute, given a particular command name
which command which - command used to determine the exact location of a given executable. Only works for executable programs, not built-ins nor aliases
help command help displays basic information about a command
man command man - displays the manual of a command. A manual is a comprehensive documents with all the details and options supported by the command. Very technical documents.
whatis command whatis - displays the name and a one-line description of a man page matching a specified keyword.
info command info - an alternative command to man pages that is more user friendly.
alias command Used to create your own composite commands o Usage: alias name= command1; command2; ; commandN Using alias: