Purdue CNIT 340 Exam 1: Key Terms & Definitions in CS

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/69

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

70 Terms

1
New cards

relative pathname

The pathname of a target directory or relative to your current directory in the tree.

2
New cards

parent directory

The directory that is one level closer to the root directory in the directory tree relative to your current directory.

3
New cards

text files

contain configuration information

4
New cards

binary data files

store information such as common functions and graphics

5
New cards

linked files

files that have an association with one another

6
New cards

mv command

moves directories and files. Renaming the file is a form of moving it

7
New cards

-f flag

Force - prevents the system from asking if you wish to delete

8
New cards

-R flag

Recursive - used for actions on directories - affect all underlying files and directories

9
New cards

"*" metacharacter

matches 0 or more characters in the file name

10
New cards

"?" metacharacter

matches 1 character in the file name

11
New cards

how to unmount media

umount command

12
New cards

fsck command

check file system for errors

13
New cards

e2fsck command

checks ext2, ext3, or ext4 filesystem

14
New cards

tune2fs command

used to change filesystem parameters

15
New cards

soft limits

allow the user to extend the hard disk quota limits for a certain period of time (usually seven days by default).

16
New cards

hard limits

are rigid quotas and prevent the user from exceeding these hard disk limits.

(hard disk quota the user cannot exceed)

17
New cards

chown command

changes the user and/or group ownership of a given file

18
New cards

chgrp command

Used to change the group ownership of a file or directory

19
New cards

SUID bit

is shown as 's' in the file permissions and allows the file to be executed as the file owner. numeric value is 4

20
New cards

SGID bit

if on a file, the user who executes the file becomes a member of the files group during execution. numeric value is 2

21
New cards

sticky bit

was previously used on files in the past to lock them in memory. However, they are currently applicable to directories. This ensures that a user can only delete his/her own files in a directory. numeric value is 1

22
New cards

symbolic links

just a pointer

if you delete the link, the target remains

most common type

23
New cards

hard links

direct link between link and file

once the last reference to the inode is deleted, the file is no longer accessible

cant cross the file system boundaries

permissions will be updates

had actual content of file

24
New cards

soft links

can cross the file system

allows you to link different number and file permissions

permissions will not be updated

has only the path of the original file, not the contents

25
New cards

2 required partitions to boot

/

/boot

26
New cards

Logical Volume Manager (LVM)

A set of software components within Linux that can be used to manage the storage of information across several different hard disks on a Linux system.

27
New cards

how does the command line show who's logged in?

# = root

$ = regular user

28
New cards

shutdown -h now

powers off system immediately

29
New cards

System V Run Level 0

power down state - system is halted

30
New cards

System V Run Level 1

system admin state - S = single user mode

31
New cards

System V Run Level 2

multi-user mode(non-networked)

32
New cards

System V Run Level 3

remote file sharing state (networking turned on)

33
New cards

System V Run Level 4

currently not used

34
New cards

System V Run Level 5

firmware state - used for special hardware types of tasks (not normally used)

35
New cards

System V Run Level 6

shutdown and reboot state - when system is set to this state it shuts down and re-starts to the previous state

36
New cards

kernel server with threats is:

NFS

37
New cards

user-space servers and processes is:

Samba

38
New cards

one process for all clients is:

NFS

39
New cards

per-user server process is:

Samba

40
New cards

had its own access control system is:

NFS

41
New cards

uses underlying OS for access control is:

Samba

42
New cards

usually mount to the systems is:

NFS

43
New cards

usually mount by individual users is:

samba

44
New cards

much better performance on unix

nfs

45
New cards

decent preformace

samba

46
New cards

What is NFS (Network File System)?

a method to share the literal filesystem across a network. cooperation with firewalls and NAT devices. operates a TCP:2049

47
New cards

permission sharing with NFS

once mounted the export is treated as a local filesystem

owning UID/GID numbers are the same

48
New cards

where are exports configured in NFS

/etc/exports - remember the "s"

49
New cards

what is samba

implements MS windows file sharing. makes unix look like windows to other hosts

50
New cards

where is samba configuration kept

smb.conf

51
New cards

3 approaches to unix printing

BSD style printing

sysV style printing

CUPS

52
New cards

where is cups server configuration and client configuration

server: /etc/cips/cupsd.conf

client: /etc/cups/client.conf

53
New cards

ways to add routing information

route add -net

route add default

route add -host

ip addr add

ip route add

54
New cards

boot time configuration file path

/etc/sysconfig/network-scripts

/etc/sysconfig/network

55
New cards

where is the server hostname stored

/etc/hostname

56
New cards

where the FQDM is stored locally, can also contain IP addresses of machines not resolvable via DNS

/etc/hosts

57
New cards

where are dns servers stored

/etc/resolv.conf

58
New cards

displays mounted filesystems and their type

mount

df -hT

lsblk --fs

59
New cards

mounts a of a certain to a directory

mount -t

60
New cards

displays the users using a particular directory

fuser - u

61
New cards

unmounts a from its directory

umount or umount

62
New cards

what permissions are filed given by default

666

63
New cards

what permissions are new directories given by default

777

64
New cards

umask command

subtracts permissions away eg. "umask 124"

65
New cards

how to manage run levels on sysV init

telinit

run level

edit initdefault line in /etc/inittab

66
New cards

how to manage services in sysV init

service start

service stop

service restart

service status

chkconfig on

chkconfig off

67
New cards

how to view system logs on sysV init

tail -f /var/log/messages

68
New cards

how to manage runlevels on systemd

systemctl isolate .target

systemctl get-default

systemctl set-default .target

69
New cards

how to manage services on systemd

systemctl start

systemctl stop

systemctl restart

systemctl status

systemctl enable

systemctl disable

70
New cards

how to view system logs on systemd

journalctl -f