Command Line Interface Commands
Test your knowledge of essential command-line commands from Unix/Linux and DOS operating systems, including file management, process control, and directory navigation.
Questions
Command to create directory?
- cp
- mv
- rmdir
- mkdir
Command to rename file?
- cls
- md
- ren
- fc
Command for find out what directory you are in?
- more
- pwd
- telnet
- ftp
Command for count characters, words, lines?
- mv
- wc
- more
- print
Command for changing directories.
- cd
- copy
- ctty
- dir
Commands for changing directories?
- cd
- cls
- chdir
- dir
Command which deletes one or more files?
- disable
- defrag
- del
- debug
Command which List the contents of one or more directory?
- find
- expand
- deltree
- dir
Commands which is used to view and edit files?
- format
- edit
- ename
- edlin
Command to exit from the command interpreter?
- erase
- exit
- format
- goto
Command to search for text within a file?
- find
- extract
- comp
- color
Command to erase and prepare a disk drive?
- fixmbr
- format
- fixboot
- loadfix
Command to display one page at a time?
- move
- mode
- more
- msd
Command to change one variable or string to another?
- set
- setlopcal
- setver
- share
chmod options filename --- lets you change the read, write, and execute permissions on your files.
- True
- False
ls --- lists your files
- True
- False
ls -l --- lists your files in 'long format', which contains lots of useful information,
- True
- False
ff --- find files anywhere on the system.
- True
- False
kill PID --- kills (ends) the processes with the ID you gave.
- True
- False
wc filename --- tells you how many lines, words, and characters there are in a file
- True
- False