Unified Linux/Windows Command

Unified Linux/Windows Command

Appendix Operation DOS/Windows Command Unix/linux Command (case insensitive) (case sensitive) Help about a command <Commnad> /? Or help man <command> <command> Set date date date Set time Time date Copy files Copy <src> <dst> cp <src> <dst> Move files/directory Move <src> <dst> mv <src> <dst> Make Directory md <dir> mkdir <dir> Change Directory Cd <dir> cd <dir> Remove Directory rd <dir> rmdir <dir> deltree <dir> rm –rf <dir> See a file on screen Type <filename> cat <filename> See a file page by page More <filename> more <filename> Know about login as Whoami whoami, id Change file modes Attrib chmod Compare two files Comp <f1> <f2> diff <f1> <f2> Delete a file Del <file> rm <file> See the directory content Dir ls Rename a file Ren <src> <dst> mv <src> <dst> Copy files recursively Xcopy /s <src> <dst> cp –rp <src> <dst> Take backup as Pkzip <dst> <file/dir> gzip <file/dir> <dst> compressed file Uncompress a compress Pkunzip <zipped file> gunzip <compressed file> file To see the directory Tree tree structure Build a file system Format <drive> mkfs <partition> Print a file Print /D:\\derver\print_sare files lpr –P printer <fil> Lpr –S server –P printer <file> See printing queue Lpq –S server –P printer lpq –P printer Cancel print job lprm –P printer <jobno> To about a user Finger user@host finger user@host File transfer from remote ftp host ftp host machine sftp sftp2 host rcp scp2 rcp Know the hostname Hostname hostname Remote command Rsh/rexec rsh/rexec execution Login to remote system telnet telnet ssh ssh2 See ip vs. Ethernet address Arp arp Ip configuration of the Ipconfig Ifconfig local system DNS query Nslookup nslookup/ dig Tracing the path of a Pathping <machine> traceroute machine> remote networked machine Check whether machine is Ping <host> ping <host> on network Modifying the routing Route route table Kill a process Kill kill.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    2 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us