Shared Flashcard Set

Details

OS/Linux - CTN143
Commands (all questions are asking for bash commands as the answer)
38
Computer Science
Undergraduate 2
05/09/2015

Additional Computer Science Flashcards

 


 

Cards

Term
|
Definition
Character used to connect commands by sending the output of the first command to the input of the second command.
Term
>
Definition
Character used to connect commands by sending the output of the first command to the input of the second command, overwriting if necessary.
Term
>>
Definition
Character used to append the output of the first command to input of the second command.
Term
echo
Definition
Outputs the specified input.
Term
(1) ls
(2) ls -laF
Definition
(1) Lists the contents of a directory.
(2) Lists the contents of a directory while displaying the permissions of those items.
Term
pwd
Definition
Displays the path of the current working directory.
Term
which
Definition
Shows a file's location.
Term
cd
Definition
Change the directory.
Term
rm
Definition
Remove a file or directory.
Term
mv
Definition
Move or rename a file or directory.
Term
cp
Definition
Copy a file or directory.
Term
mkdir
Definition
Create a new directory.
Term
touch
Definition
Create a new file.
Term
file
Definition
Identifies a file's type.
Term
more
Definition
Pager command that displays one page at a time, only moving forward.
Term
less
Definition
Pager command that scrolls slowly and allows both forward and backward scrolling.
Term
most
Definition
Pager command that supports left and right scrolling as well as the ability to view multiple files.
Term
grep
Definition
Searches files for the specified patterns of text.
Term
lshw
Definition
Displays info about the system hardware.
Term
top
Definition
Displays process info.
Term
lsmod
Definition
Displays info about system modules.
Term
ifconfig
Definition
Displays and manages network info.
Term
chmod
Definition
Changes permissions.
Term
chown
Definition
Changes the owner of a file or directory.
Term
init
Definition
Changes the run level.
Term
su
Definition
Used to gain root access.
Term
sudo
Definition
Used to execute a command as root.
Term
setuid
Definition
Executes with the specified user's permissions.
Term
apt-get
Definition
Used to download packages.
Term
clear
Definition
Clears the screen.
Term
dmesg
Definition
Displays system messages.
Term
dd
Definition
Performs a range of modifications to data, partitions, etc. Can be destructive if used improperly.
Term
(1) kdm
(2) twm
(3) startx
Definition
(1) Starts the KDE window manager.
(2) Starts the Xwindows window manager.
(3) Starts the specified window manager.
Term
(1) shutdown now
(2) halt
Definition
Both are commands that will immediately power off the system.
Term
man
Definition
Displays detailed information about use of a command.
Term
(1) -r
(2) -R
Definition
(1) Option - reverse
(2) Option - recursive
Term
ln
Definition
Create hard and symbolic links.
Term
-v
Definition
Option - verbose
Supporting users have an ad free experience!