cmd
The equivalent to the Linux command ; as in
echo "command 1" ; echo "command 2"is
dir & whoamiDealing with files and stuff
Delete file
delCreate folder/directory
md folderNameShow hidden files
dir /APrint out file content, like cat
type file.txtgrep files
findstr file.txtNetwork
Show network information
netstat -an
Show network adapter info
ipconfig
Ping another machine
ping ip
Traceroute
tracert
Processes
List processes
tasklist
Kill a process
taskkill /PID 1532 /F
Users
Other
Shutdown
ciper - Clear data/shred
Show environmental variables
Show options for commands
The "man"-pages in windows is simply:
Mounting - Mapping
In the windows world mounting is called mapping.
If you want to see which drives are mapped/mounted to your file-system you can use any of these commands:
The command to deal with mounting/mapping is net use
Using net use we can connect to other shared folder, on other systems. Many windows machines have a default-share called IPC (Interprocess communication share). It does not contain any files. But we can usually connect to it without authentication. This is called a null-session. Although the share does not contain any files it contains a lot of data that is useful for enumeration. The Linux-equivalent of net use is usually smbclient.
If you want to map a drive from another network to your filesystem you can do that like this:
Here you map the drive to the letter z. If the command is successful you should now be able to access those files by entering the z drive.
You enter the z-drive by doing this:
Remove a network drive - umount it
First leave the drive if you are in it:
References and Stuff
This might come in handy for the linux-users: http://www.lemoda.net/windows/windows2unix/windows2unix.html
Last updated
Was this helpful?