Commands Flashcards

(58 cards)

1
Q

What Command is used to check the Kernel version

A

Uname -R

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

Is

A

list all the files that your current folder contains

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

man

A

display user manuals of any command that you run

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

Cd

A

Navigate and change you’re working directory

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

Pwd

A

Display the path of your working directory

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

Mkdir

A

Create or make new directories

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

Rmdir

A

Remove already e empty directories

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

Mv

A

Move or rename files or directories

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

Open

A

Open files, directories and applications

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

Echo

A

Display lines of text or string which are passed as arguments

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

Touch

A

Create empty files, And change timestamps of files or folders

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

Find

A

Find files and directories And perform operations on them

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

Clear

A

Clear your terminal screen

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

History

A

View your previously executed commands

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

tail

A

Display the last few numbers of lines (no lines by default) of a file

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

head

A

Display the first few numbers of lines (no lines by default) of a file

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

Whoami

A

Display the currently logged in-user

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

Who

A

Display information about users who are currently logged in

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

Cat

A

Create single or multiple files, view content of a file, concatenate files and redirect output in the terminal or to other files

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

less

A

Read the contents of a text file one page (one screen) at a time

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

Wc

A

Display number of lines, Word count, byte and character count in files

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

grep

A

Search for a string of characters in a specified file

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

Sort

A

Sort a file, arranging its output in a particular order

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

Apropos

A

Shows the manual section(s) That contain a set of key words

25
In
Create links to files or directories
26
Alias
create a shortcut name for a Command, file name, or any shell text
27
ID
Display the user and group names, and numeric ID’s
28
Last
Display the list of all the users who logged in and logged out since the file /var/log/wtmp was created
29
Su
Execute commands with the privileges of another account
30
Sudo
Temporarily elevate current user account to have root privileges
31
export
Ensures environment variables and functions to be passed to child processes
32
Uname
Check the system information of your Linux system
33
Env
display environment variables. Also used to run a utility or commands in a custom environment
34
Printenv
display the values of environment variables in the current shell
35
Chown
Change the files owner or group
36
Chmod
Change the access permissions of files and directories
37
Useradd
Add a user account to your system
38
Usermod
Modify existing user account details, such as username, password etc.
38
Usermod
Modify existing user account details, such as username, password etc.
39
Groupadd
Add a group to your system
40
Groupmod
Modify or change an existing group on your system
41
Passwd
Changes password for user account
42
Unmask
Set up default permissions for newly created files and folders
43
Df
Display the amount of disk space available on the file system
44
Free
output summary of RAM usage, including total, used, free, shared, and available memory and swap space.
45
Ps
check the status of active processes on a system, as well as display technical information about the processes
46
Top
monitor system/display system-performance information
47
Uptime
display how long your system has been active (running)
48
Vim
a text editor that is an upgraded version of its predecessor, Vi editor
49
Gzip
seamlessly compress and decompress files
50
Gunzip
compress or expand a file or a list of files
51
Zip
put one or more compressed files into a single zip archive
52
tar
compress a group of files into an archive for backup or distribution
53
Ping
Check the connectivity between host and server/host
54
Dig
retrieve information about DNS name servers
55
traceroute
display the route that a packet takes to reach the host
56
route
access and modify the Linux kernel's routing tables
57
crontab
submit, edit, list, or remove cron jobs