ADV *NIX DAY 4 Flashcards

1
Q

A variable and its value are displayed using echo $variable.

A

echo

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

Displays existing shell variables, environmental variables and shell functions.

A

set

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

Make a shell variable available with newly forked child processes, for that session only.

A

export

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

Display existing environmental variables.

A

env

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

Read and execute commands from filename in the current shell environment.

A

source

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

Run a shell with substitute user and group IDs.

A

su

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

OpenSSH, an SSH client for logging and executing commands on a remote machine. Provides secure encrypted communications between two untrusted hosts over an insecure network.

A

ssh

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

Secure copy (remote file copy program)uses SSH for data transfer. Also uses the same authentication and provides the same security as SSH.

A

scp

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

Secure file transfer program. An interactive file transfer program, similar to FTP, which performs all operations over an encrypted SSH transport.

A

sftp

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

Change your login shell or list available shells on the system.

A

chsh

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

Create a new group account using specified values and default system values.

A

groupadd

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

Change the current group ID during a login session.

A

newgrp

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

Create a new user or update default new user information.

A

useradd

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

Update authentication tokens (aging info), to include changing password for a user.

A

passwd

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

Change or list user password expiry information.

A

chage

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

Modify an existing user account.

A

usermod

17
Q

Delete a user.

userdel –rf Deletes a user, their home directory and its contents.

A

userdel

18
Q

Password sync utility. Convert information in /etc/passwd to /etc/shadow.

A

pwconv

19
Q

Print real and effective user and group IDs.

A

id

20
Q

System wide environment and startup programs.

A

/etc/profile

21
Q

User specific environment and startup programs.

A

~/.bash_profile

22
Q

User specific aliases and functions.

A

~/.bashrc

23
Q

System wide aliases and functions.

A

/etc/bashrc

24
Q

Used for authentication and authorization, contains user account information.

A

/etc/passwd

25
Q

Used for authentication, contains hashed password and aging information for user accounts.

A

/etc/shadow

26
Q

Defines the site-specific configuration for the shadow password suite, encryption method used.

A

/etc/login.defs

27
Q

Used for authorization, contains a listing of every group on the system and is where supplemental group membership is maintained.

A

/etc/group