Commands Flashcards
Used to check whether the calling program has access to a specified file. It can be used to check whether a file exists or not
access
Used to turn on or turn off the process for accounting or change info process accounting file
accton
Used to automatically generate aclocal.m4 files from configure.in file
aclocal
Used to display the battery status and other ACPI information
acpi
What does ACPI stand for?
Advanced Configuration and Power Interface
Used to display the battery status and other ACPI information
acpi
Tests whether ACPI (Advanced Configuration and Power Interface) subsystem is available or not
acpi available
It provides intelligent power management on a system and is used to notify the user-space programs about the ACPI events
acpid
Used to convert addresses into file names and line numbers
addr2line
It is a Linux version of getty, which is a Unix program running on a host computer that manages physical or virtual terminals to allow multi-user access
agetty
Instructs the shell to replace one string with another string while executing the commands
alias
It is a command-line mixer for ALSA(Advanced Linux Sound Architecture) sound-card driver
amixer
It is a command-line audio player for ALSA(Advanced Linux Sound Architecture) sound card drivers.
aplay
Used to play standard MIDI(Musical Instrument Digital Interface) files, by sending the content of a MIDI file to an ALSA(Advanced Linux Sound Architecture) MIDI port
aplaymidi
It helps the user when they don’t remember the exact command but knows a few keywords related to the command that define its uses or functionality
apropos
Provides a high-level CLI (Command Line Interface) for the package management system and is intended as an interface for the end user which enables some options better suited for interactive usage by default compared to more specialized APT tools like apt-cache and apt-get
apt
It is a command-line tool which helps in handling packages in Linux
apt-get
Opens up a highly built-in interface to interact with the package manager of the machine
aptitude
Used to create, modify and extract the files from the archives
ar
Used to print the computer architecture
arch
It manipulates the System’s ARP cache. It also allows a complete dump of the ARP cache
arp
Used as a spell checker in Linux
aspell
It is a job scheduler daemon that runs jobs scheduled for later execution
atd
Used to remove the specified jobs. To remove a job, its job number is passed in the command
atrm
It displays the list of pending jobs which are scheduled by the user
atq
Used in Linux to generate configuration scripts
autoconf
Used to create a template file of C “#define” or any other template header for configure to use
autoheader
Used for automatically generating Makefile.in files compliant with the set GNU Coding Standards
automake
Used to create automatically buildable source code for Unix-like systems
autoreconf
Used to update configure.in file in our Linux system to a newer Autoconf.
autoupdate
It is a scripting language used for manipulating data and generating reports
awk
Used to print the ASCII character string in large letter to standrad output
banner
It strips directory information and suffixes from file names i.e. it prints the file name NAME with any leading directory components removed
basename
Used to read commands from standard input or a specified file and execute them when system load levels permit i.e. when the load average drops below 1.5
batch
Used for command line calculator
used for command line calculator
Used to place foreground jobs in background
bg
A mail notification system for unix that notifies the user at the command line when new mail arrives and tells from whom it is
biff
Used to set Readline key bindings and variables
bind
It is basically a parser generator similar to yacc
bison
Used to terminate the execution of for loop, while loop and until loop
break
Used to run a shell builtin, passing it arguments(args), and also to get the exit status
builtin
Used to invoke the cmp utility on bzip2 compressed files
bzcmp
Used to compare the bzip2 compressed files
bzdiff
Used to search for a pattern or an expression but inside a bzip2-compressed file
bzgrep
Used to compress and decompress the files
bzip2
It does not have to read the entire input file before starting, so with a large file, it starts up faster
bzless
Used as a filter for CRT viewing of bzip2 compressed files, which are saved with .bz2 suffix
bzmore
Used to see the calendar of a specific month or a whole year. By default, it shows current month’s calendar as output
cal
It is the best alternative when we had to use multiple if/elif on a single variable
case
Reads data from file and gives their content as output. It helps us to create, view, concatenate files
cat
It is used to compile the C language codes and create executables
cc
It is a command line tool for encryption and decryption of data
ccrypt
Known as change directory command. It is used to change current working directory
cd
It displays or manipulates the disk partition table by providing a text-based “graphical” interface
cfdisk
Used to view and change the user password expiry information
chage
It is a file system command which is used for changing the attributes of a file in a directory
chattr
It allows you to change a user’s name and other details easily. chfn stands for Change finger
chfn
Used to change the group ownership of a file or directory
chgrp
Used to list all available services and view or update their run level settings
chkconfig
Used to change the access mode of a file
chmod
Used to change the file Owner or group
chown
Used to change password for multiple users at a time
chpasswd
Used to change the root directory
chroot
Used for manipulating the real-time attributes of a process
chrt
Used to change the user’s login shell(currently login shell)
chsh
Used to switch between the different TTY (TeleTYpewriter) terminals available
chvt
Used to display a CRC(Cyclic Redundancy Check) value, the byte size of the file and the name of the file to standard output
cksum
Used to clear the terminal screen
clear
Used to compare the two files byte by byte and helps you to find out whether the two files are identical or not
cmp
It is used to filter out reverse line feeds. The col utility simply reads from the standard input and writes to standard output
col
Used to format the text processor output so that it can be viewed on Cathode Ray Tube displays
colcrt
Removes selected columns from a file
colrm
Used to display the contents of a file in columns
column
Compares two sorted files line by line and write to standard output; the lines that are common and the lines that are unique
comm
Used to reduce the file size. After compression, the file will be available with an added .Z extension
compress
Used to skip the current iteration in for, while and until loop
continue
Used to copy files or group of files or directory
cp
cpio stands for “copy in, copy out“. It is used for processing the archive files like *.cpio or *.tar. This command can copy files to and from archives
cpio
It is automatically used by C compiler to transform your program before compilation
cpp
A software utility, offered by Linux-like operating system which automates the scheduled task at a predetermined time
cron
A list of commands that you want to run on a regular schedule, and also the name of the command used to manage that list
crontab
Used to split any file into many parts as required by the user
csplit
It allows quick access across the files (For example quickly seeing definition of a function)
ctags
It is a type of scheduler for CUPS (Common Unit Printing System). It implements the printing system on the basis of the Internet Printing Protocol
cupsd
A tool to transfer data to or from a server, using any of the supported protocols
curl
For cutting out the sections from each line of files and writing the result to standard output
cut
Used to store the history of a file. Whenever a file gets corrupted or anything goes wrong “cvs” help us to go back to the previous version and restore our file
cvs