DOS Commands Vs Linux
DOS Commands Vs Linux
See: fdformat and mformat for floppies For floppy drive use see YoLinux Tutorial Using DOS Floppies with Linux
uname -a
echo $SHELL
VER cat /etc/issue Operating system/shell version
pkzip Compress and uncompress files/directories. Use tar to create
compilation of a directory before compressing. Linux also
tar and zip has compress, gzip
HOSTNAME hostname Print host name of computer
PING ping Send packets to a network host
TRACERT traceroute Show routes and router hops to given network destination.
IPCONFIG (NT)
WINIPCFG (Win 95...) ifconfig Display/configure network interface
NBTSTAT (Netbios info: -n, -c) nslookup host-name Print DNS info for host.
NBTSTAT -A IP-address host host-name
NBTSTAT -a hostname nmblookup -A hostname lookup NetBIOS names.
ROUTE PRINT route -n Print routing table.
NET HELP START chkconfig --list |grep on List services.
NET STARTservice-name service service-name start
NET STOPservice-name service service-name stop Start/stop service/daemon.
NET SHARES df Show mounted shares/filesystems.
NET SEND <node-name> smbclient -M MS-Windows-host-name Send pop-up to a MS/Windows PC
<message> (NT) talk Send message to another Unix/Linux user. See YoLinux tutorial
WIN startx Start X-Windows.
REBOOT shutdown -r now Reboot system.