Commands Flashcards

1
Q

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

A

access

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Used to turn on or turn off the process for accounting or change info process accounting file

A

accton

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Used to automatically generate aclocal.m4 files from configure.in file

A

aclocal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Used to display the battery status and other ACPI information

A

acpi

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does ACPI stand for?

A

Advanced Configuration and Power Interface

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Used to display the battery status and other ACPI information

A

acpi

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Tests whether ACPI (Advanced Configuration and Power Interface) subsystem is available or not

A

acpi available

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

It provides intelligent power management on a system and is used to notify the user-space programs about the ACPI events

A

acpid

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Used to convert addresses into file names and line numbers

A

addr2line

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

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

A

agetty

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Instructs the shell to replace one string with another string while executing the commands

A

alias

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

It is a command-line mixer for ALSA(Advanced Linux Sound Architecture) sound-card driver

A

amixer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

It is a command-line audio player for ALSA(Advanced Linux Sound Architecture) sound card drivers.

A

aplay

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

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

A

aplaymidi

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

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

A

apropos

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

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

A

apt

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

It is a command-line tool which helps in handling packages in Linux

A

apt-get

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Opens up a highly built-in interface to interact with the package manager of the machine

A

aptitude

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Used to create, modify and extract the files from the archives

A

ar

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Used to print the computer architecture

A

arch

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

It manipulates the System’s ARP cache. It also allows a complete dump of the ARP cache

A

arp

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Used as a spell checker in Linux

A

aspell

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

It is a job scheduler daemon that runs jobs scheduled for later execution

A

atd

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

Used to remove the specified jobs. To remove a job, its job number is passed in the command

A

atrm

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

It displays the list of pending jobs which are scheduled by the user

A

atq

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

Used in Linux to generate configuration scripts

A

autoconf

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

Used to create a template file of C “#define” or any other template header for configure to use

A

autoheader

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

Used for automatically generating Makefile.in files compliant with the set GNU Coding Standards

A

automake

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

Used to create automatically buildable source code for Unix-like systems

A

autoreconf

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

Used to update configure.in file in our Linux system to a newer Autoconf.

A

autoupdate

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

It is a scripting language used for manipulating data and generating reports

A

awk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
32
Q

Used to print the ASCII character string in large letter to standrad output

A

banner

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
33
Q

It strips directory information and suffixes from file names i.e. it prints the file name NAME with any leading directory components removed

A

basename

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
34
Q

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

A

batch

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
35
Q

Used for command line calculator

A

used for command line calculator

36
Q

Used to place foreground jobs in background

A

bg

37
Q

A mail notification system for unix that notifies the user at the command line when new mail arrives and tells from whom it is

A

biff

38
Q

Used to set Readline key bindings and variables

A

bind

39
Q

It is basically a parser generator similar to yacc

A

bison

40
Q

Used to terminate the execution of for loop, while loop and until loop

A

break

41
Q

Used to run a shell builtin, passing it arguments(args), and also to get the exit status

A

builtin

42
Q

Used to invoke the cmp utility on bzip2 compressed files

A

bzcmp

43
Q

Used to compare the bzip2 compressed files

A

bzdiff

44
Q

Used to search for a pattern or an expression but inside a bzip2-compressed file

A

bzgrep

45
Q

Used to compress and decompress the files

A

bzip2

46
Q

It does not have to read the entire input file before starting, so with a large file, it starts up faster

A

bzless

47
Q

Used as a filter for CRT viewing of bzip2 compressed files, which are saved with .bz2 suffix

A

bzmore

48
Q

Used to see the calendar of a specific month or a whole year. By default, it shows current month’s calendar as output

A

cal

49
Q

It is the best alternative when we had to use multiple if/elif on a single variable

A

case

50
Q

Reads data from file and gives their content as output. It helps us to create, view, concatenate files

A

cat

51
Q

It is used to compile the C language codes and create executables

A

cc

52
Q

It is a command line tool for encryption and decryption of data

A

ccrypt

53
Q

Known as change directory command. It is used to change current working directory

A

cd

54
Q

It displays or manipulates the disk partition table by providing a text-based “graphical” interface

A

cfdisk

55
Q

Used to view and change the user password expiry information

A

chage

56
Q

It is a file system command which is used for changing the attributes of a file in a directory

A

chattr

57
Q

It allows you to change a user’s name and other details easily. chfn stands for Change finger

A

chfn

58
Q

Used to change the group ownership of a file or directory

A

chgrp

59
Q

Used to list all available services and view or update their run level settings

A

chkconfig

60
Q

Used to change the access mode of a file

A

chmod

61
Q

Used to change the file Owner or group

A

chown

62
Q

Used to change password for multiple users at a time

A

chpasswd

63
Q

Used to change the root directory

A

chroot

64
Q

Used for manipulating the real-time attributes of a process

A

chrt

65
Q

Used to change the user’s login shell(currently login shell)

A

chsh

66
Q

Used to switch between the different TTY (TeleTYpewriter) terminals available

A

chvt

67
Q

Used to display a CRC(Cyclic Redundancy Check) value, the byte size of the file and the name of the file to standard output

A

cksum

68
Q

Used to clear the terminal screen

A

clear

69
Q

Used to compare the two files byte by byte and helps you to find out whether the two files are identical or not

A

cmp

70
Q

It is used to filter out reverse line feeds. The col utility simply reads from the standard input and writes to standard output

A

col

71
Q

Used to format the text processor output so that it can be viewed on Cathode Ray Tube displays

A

colcrt

72
Q

Removes selected columns from a file

A

colrm

73
Q

Used to display the contents of a file in columns

A

column

74
Q

Compares two sorted files line by line and write to standard output; the lines that are common and the lines that are unique

A

comm

75
Q

Used to reduce the file size. After compression, the file will be available with an added .Z extension

A

compress

76
Q

Used to skip the current iteration in for, while and until loop

A

continue

77
Q

Used to copy files or group of files or directory

A

cp

78
Q

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

A

cpio

79
Q

It is automatically used by C compiler to transform your program before compilation

A

cpp

80
Q

A software utility, offered by Linux-like operating system which automates the scheduled task at a predetermined time

A

cron

81
Q

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

A

crontab

82
Q

Used to split any file into many parts as required by the user

A

csplit

83
Q

It allows quick access across the files (For example quickly seeing definition of a function)

A

ctags

84
Q

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

A

cupsd

85
Q

A tool to transfer data to or from a server, using any of the supported protocols

A

curl

86
Q

For cutting out the sections from each line of files and writing the result to standard output

A

cut

87
Q

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

A

cvs