Linux Commands And A Few Basic Concepts Flashcards
Unix
Operating system developed at Bell Labs in the 1960s. Mac & Linux descended from it.
GNU
Richard Stallman’s 1984 free open source software alternative to Unix.
Linux Kernel
Developed by Linus Torvalds, the Kerbal facilitates the interaction between hardware and software. Torvalds combined the Linux Kerbal with existing GNU components to create a full operating system.
GNU/Linux
The combined Linux kernel and GNU
True UNIX
Trademark of the global consortium, Open Group.
Single UNIX Specification
Open Group consortium ‘s description of the core commands, features, utilities, etc. that define a UNIX OS. Open Group certifies OSs as UNIX compliant based on performance testing.
UNIX-like OS
Uncertified OS based on UNIX.
Linux distribution
Linux-based OS including the Linux kernal and, generally GNU tools, documentation, a package manager, a window system, and a desktop environment.
Shell
Computer interface surrounding an OS. Exposes OS services to users. Provides user-generated commands to the OS for execution. BASH, Zshell, and FISH are shells.
Terminal
A program that runs a shell. Today’s terminals are emulations of the older physical terminals.
BASH
Bourne Again SHell. Default shell on most Linux-based systems. The “Bourne” and “SH” refers to Stephen Bourne’s sh ancestor shell. It runs on most UNIX and UNIX-like systems.
whoami
Prints username.
man
When followed by a <command></command> prints the manual page for that command. When used alone, prompts for <command></command> name.
q
Quit or exit
clear
Clears screen
Synoosis
Syntax; accepted options for a command.
clear -x
Clear the terminal screen, but do not attempt to clear the terminal’s scroll back buffer using the extended “E3” capability. Only clears visible screen.
^l
clear
pwd
Print working directory. Shows user where he/she is.
ls
List contents of folder (simple).
ls bin
List contents of the directory, bin.
ls Documents/current/
Simple listing of the contents of the directory Documents/current/
Absolute path
Complete directory path all the way back to the home (root) directory.
Relative path
A directory reference within the current working directory, showing only the directory structure within the current directory.
ls -l
Lists detailed directory contents: file permissions, file owner, group owner, file size, modification date, filename.
ls -a
Short form of ls –all (list without ignoring entries starting with <.>).
cd
Change directory. This is a shell command. It is not in the manual, but, rather, in the help guide.