BATCH and BASH Commands Flashcards
(31 cards)
BATCH
Typing _______and hitting enter would list basic TCP/IP configuration settings for all current network configurations.
ipconfig
BATCH
To navigate around folders on the Windows server you would type _______ followed by the folder path.
cd
BATCH
In order to show the files listed in a directory you would type _____
dir
BATCH
To create a new folder you would type ______ followed by the name of the new folder.
md
BATCH
To delete a folder within the directory you’re in you would type _____ followed by the name of the folder.
rm
BATCH
You aren’t certain whether your Windows server is able to connect to another file server you have. You might use the _____ command followed by the file servers’ IP address to verify whether your Windows server can “see” that file server.
ping
BATCH
You want to view the name of the Windows server you’re connected to, so you would use the_____ command.
hostname
BATCH
You know the hostname of another server on your network, but you’re not sure of its IP address. You would use the _____ command to resolve the IP address of the server hostname.
nslookup
BATCH
In order to verify the integrity of any disks on your server you would run the ____ command.
chkdsk
BATCH
You would use the _____ command to display all accounts currently on the server.
net user
BATCH
Your Windows server is connected to a separate database. The connection to that database is very slow. You would use the _____ command to test connectivity between your server and the database.
tracert
BATCH
To copy files and directory trees your would use the _____ command.
xcopy
BATCH
In order to update group policy for a specific machine you would enter the _____ command.
gpupdate
BATCH
In order to view the group policies currently installed on the machine you would enter the _____ command.
gpresult
BATCH
In order to shutdown the server you would enter the _____ command.
shutdown
BATCH
The _____ command is used to scan and restore important Windows system files.
sfc
BATCH
The _____ command displays the About window which shows the exact version of Windows currently running.
winver
BASH
You would use the _____ command before any other command in order to run that command as an administrator.
sudo
BASH
The ____ command is used to install application packages.
apt-get
BASH
_____ displays the current directory on the screen.
pwd
BASH
You would use the _____ command to display a list of files and subdirectories within a directory.
ls
BASH
You would use the _____ command to navigate around within the file system.
cd
BASH
The _____ command allows you to copy a file or directory from one location to another.
cp
BASH
The _____ command allows you to move files and directories from one location to another.
mv