command line Linux Flashcards
What is a CLI?
A command-line interface (CLI) processes commands to a computer program in the form of lines of text. The program which handles the interface is called a command-line interpreter or command-line processor.
What is a GUI?
a GUI is a form of user interface that allows users to interact with electronic devices through graphical icons and audio indicator such as primary notation, instead of text-based user interfaces, typed command labels or text navigation.
man cmd in Linux
opens up manual page for commands
cat cmd in Linux
cat command is one of the most frequently used command in Linux/Unix like operating systems. cat command allows us to create single or multiple files, view contain of file, concatenate files and redirect output in terminal or files
ls cmd in Linux
UNIX and Linux command for listing directory contents.
pwd in Linux
prints present working directory
echo in Linux
echo command in linux is used to display line of text/string that are passed as an argument
touch in Linux
t is used to create a file without any content. The file created using touch command is empty. This command can be used when the user doesn’t have data to store at the time of file creation
mkdir in Linux
command in Linux/Unix allows users to create or make new directories. mkdir stands for “make directory.”
With mkdir, you can also set permissions, create multiple directories (folders) at once, and much more
mv in Linux
mv stands for move. mv is used to move one or more files or directories from one place to another in file system like UNIX. It has two distinct functions:
(i) It rename a file or folder.
(ii) It moves group of files to different directory.
rm in Linux
stands for remove here. rm command is used to remove objects such as files, directories, symbolic links and so on from the file system like UNIX
cp in Linux
stands for copy. This command is used to copy files or group of files or directory. It creates an exact image of a file on a disk with different file name. cp command require at least two filenames in its arguments.
What is a computer process?
In computing, a process is the instance of a computer program that is being executed by one or many threads. It contains the program code and its activity. Depending on the operating system (OS), a process may be made up of multiple threads of execution that execute instructions concurrently
Why should a full stack Web developer know that computer processes exist?
Full stack Web development is based on making multiple processes work together to form one application, so having at least a cursory awareness of computer processes is necessary. This will be extremely important when learning about applications made of multiple components, such as clients, servers, and databases.