IT1100 - PowerPoint PPT Presentation

1 / 50
About This Presentation
Title:

IT1100

Description:

To find what directory you are at use. B. curdir. R. pwd. Y. echo $curdir ... B. apropos. R. man. Y. doc. Which gives the user a one liner about a command. B. apropos ... – PowerPoint PPT presentation

Number of Views:48
Avg rating:3.0/5.0
Slides: 51
Provided by: CIT351
Category:
Tags: apropos | it1100

less

Transcript and Presenter's Notes

Title: IT1100


1
IT1100
  • LINUX test review

2
Which command creates a directory
  • B. md
  • R. mkdir
  • Y. makedir

3
To find what directory you are at use
  • B. curdir
  • R. pwd
  • Y. echo curdir

4
To show all system processes
  • B. ps aux
  • R. ps
  • Y. ps -sp

5
To show User processes
  • B. ps aux
  • R. ps
  • Y. ps -user

6
To execute a command in to background end line
with
  • B.
  • R.
  • Y.

7
Which will locate a file fastest
  • B. locate
  • R. find
  • Y. which

8
To compress a file use
  • B. compressor cvf
  • R. tar cvf
  • Y. gzip

9
To uncompress use
  • B. compressor xvf
  • R. tar xvf
  • Y. gzip -d

10
To list a directory including hidden files use
  • B. ls
  • R. ls -a
  • Y. ls -l

11
To list files including file premissions use
  • B. ls
  • R. ls -a
  • Y. ls -l

12
To create a file use
  • B. cfile
  • R. touch
  • Y. create

13
To display a file use
  • B. less
  • R. pfile
  • Y. dfile

14
To remove a dir including all files use
  • B. rmdir
  • R. rm -r
  • Y. rmdir -zap

15
Which editor is the smallest
  • B. vi
  • R. emacs
  • Y. nano

16
Which editor do most programmers use
  • B. nano
  • R. vi
  • Y. emacs

17
To get out of emacs
  • B. ltescgtSltescgtQ
  • R. xSXC
  • Y. Q

18
To get out of vi
  • B. ltescgtx
  • R. ZZ
  • Y. ltescgtZZ

19
Which gives a user the most information on a
command
  • B. apropos
  • R. man
  • Y. doc

20
Which gives the user a one liner about a command
  • B. apropos
  • R. man
  • Y. info

21
To run the last command type
  • B. !!
  • R. !
  • Y. !

22
To display a list of the last commands ran
  • B. hist
  • R. history
  • Y. chstry

23
To copy a file
  • B. copy
  • R. cpy
  • Y. cp

24
To Rename a file
  • B. mv
  • R. ren
  • Y. rename

25
Which allows the user to scroll forward and
backward
  • B. fb
  • R. more
  • Y. less

26
To see only on copy of each line use
  • B. sort
  • R. uniq
  • Y. diff

27
To send the output of a command to another
command use
  • B. gt
  • R.
  • Y. lt

28
To send the output of a command to a file use
  • B.
  • R. lt
  • Y. gt

29
To find text within an output use
  • B. find
  • R. grep
  • Y. locate

30
To halt the system NOW use
  • B. halt
  • R. shutdown
  • Y. down

31
To shutdown with user messages in a given time use
  • B. halt
  • R. shutdown
  • Y. down

32
Chmod 777 file The world has what rights
  • B. Read, Write, Execute
  • R. Write, Execute
  • Y. None

33
Chmod 744 the group has what rights
  • B. write
  • R. read
  • Y. execute

34
If I only want the owner to have full rights but
noone else use
  • B. chmod 777
  • R. chmod 700
  • Y. chmod 000

35
If a file has rwx------ rights, who can write to
the file
  • B. everyone
  • R. only the owner
  • Y. the owner the root user

36
To create a new user
  • B. usradd
  • R. user
  • Y. useradd

37
To delete a user
  • B. usrdel
  • R. userdel
  • Y. user-

38
To change the ownership of a file
  • B. clown
  • R. chowner
  • Y. chown

39
To change the group that a file belongs to
  • B. grpch
  • R. chgrp
  • Y. chgroup

40
To change a password
  • B. pwd
  • R. passwd
  • Y. chpass

41
To get info on user bill
  • B. bill -info
  • R. info bill
  • Y. finger bill

42
To switch to the root user
  • B. su root
  • R. su --root
  • Y. switchuser root

43
To change your directory
  • B. cd
  • R. chdir
  • Y. Type the name of the directory backwards

44
To delete a file
  • B. del
  • R. rm
  • Y. era

45
When an employee quits
  • B. resign
  • R. change the users password
  • Y. delete the user

46
After a sysgen
  • B. document the system hardware
  • R. schedule a random restart
  • Y. create a backdoor password

47
Which password is strongest
  • B. secret
  • R. bill
  • Y. T0p5ecret

48
The log file that contains login attempts is
  • B. password.log
  • R. logins.log
  • Y. auth.log

49
The daemon that controls the apache web server
is
  • B. httpd
  • R. smbd
  • Y. apached

50
The daemon that allows for windows file access is
  • B. httpd
  • R. smbd
  • Y. windowsd
Write a Comment
User Comments (0)
About PowerShow.com