Common Commands and Scripts Flashcards
(21 cards)
What is the command to show Directory on Windows
dir
What is the command to show Directory on Linux
ls
How do you create a folder on Windows and Linux
mkdir (make)
How to change directory on Windows and Linux
cd (change directory)
How to delete a file/folder on Windows
del (delete)
How to delete a file/folder on Linux
rm (remove)
How to copy a file/folder on Windows
copy
How to copy a file/folder on Linux
cp
How to move a file/folder on windows
move
How to move a file/folder on Linux
mv (move)
What does nslookup do
nslookup matches names to IP addresses
What does netstat do
Displays protocol statistics and TCP/IP connections
How to show ipconfig on Linux
Linux uses ifconfig
How to rename a file/folder on Windows
ren(ame)
How to rename a file/folder on Linux
mv (move). This will allow you to move and rename the file/folder
What is MS-DOS
MS-DOS is the original OS made by Microsoft. CMD is based off this original OS
What is BASH
Bash is the most common CLI used for local and remote Linux machines
What is PowerShell
PowerShell is essentially a more powerful version of CMD
How to remove a directory
RMDIR (Remove Directory)
How to change file permissions on Windows and Linux
Windows: Attrib
Linux: chmod
What is a Script
A script is a plain text file that can contain a series of commands