Commands Flashcards

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
Q

In

A

Create links to files or directories

26
Q

Alias

A

create a shortcut name for a Command, file name, or any shell text

27
Q

ID

A

Display the user and group names, and numeric ID’s

28
Q

Last

A

Display the list of all the users who logged in and logged out since the file /var/log/wtmp was created

29
Q

Su

A

Execute commands with the privileges of another account

30
Q

Sudo

A

Temporarily elevate current user account to have root privileges

31
Q

export

A

Ensures environment variables and functions to be passed to child processes

32
Q

Uname

A

Check the system information of your Linux system

33
Q

Env

A

display environment variables. Also used to run a utility
or commands in a custom environment

34
Q

Printenv

A

display the values of environment variables in the current shell

35
Q

Chown

A

Change the files owner or group

36
Q

Chmod

A

Change the access permissions of files and directories

37
Q

Useradd

A

Add a user account to your system

38
Q

Usermod

A

Modify existing user account details, such as username, password etc.

38
Q

Usermod

A

Modify existing user account details, such as username, password etc.

39
Q

Groupadd

A

Add a group to your system

40
Q

Groupmod

A

Modify or change an existing group on your system

41
Q

Passwd

A

Changes password for user account

42
Q

Unmask

A

Set up default permissions for newly created files and folders

43
Q

Df

A

Display the amount of disk space available on the file system

44
Q

Free

A

output summary of RAM usage, including total, used,
free, shared, and available memory and swap space.

45
Q

Ps

A

check the status of active processes on a system, as well as
display technical information about the processes

46
Q

Top

A

monitor system/display system-performance information

47
Q

Uptime

A

display how long your system has been active
(running)

48
Q

Vim

A

a text editor that is an upgraded version of its
predecessor, Vi editor

49
Q

Gzip

A

seamlessly compress and decompress files

50
Q

Gunzip

A

compress or expand a file or a list of files

51
Q

Zip

A

put one or more compressed files into a single zip archive

52
Q

tar

A

compress a group of files into an archive for backup or
distribution

53
Q

Ping

A

Check the connectivity between host and server/host

54
Q

Dig

A

retrieve information about DNS name servers

55
Q

traceroute

A

display the route that a packet takes to reach the host

56
Q

route

A

access and modify the Linux kernel’s routing tables

57
Q

crontab

A

submit, edit, list, or remove cron jobs