0% found this document useful (0 votes)
79 views

Windows and Linux Commands

Uploaded by

madhu.guda99
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
79 views

Windows and Linux Commands

Uploaded by

madhu.guda99
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

Commands in windows and Linux

1. Command to get Ip address, hostname, Mac address.

Windows: ipconfig Linux: ifconfig

2. Command that is used to discover the IP address or DNS record of a specific domain name.

Windows: nslookup Linux: nslookup

3. Command to get details of files, dates, storage.

Windows: DIR Linux: ls –l

4. Command to check history of commands

Windows: doskey /history Linux: history


5. Command to copy a file

Windows: copy Linux: cp

6. command to create new directory/folder


Windows : md Linux: mkdir

7. command to delete /remove a file

Windows: del Linux: rm

8. command to list directory/folder

Windows: dir Linux: ls


9. Command to print contents of a file

Windows: type

Linux: cat

10. Command to list the directory recursively

Windows: tree Linux: tree

11. Command to show the list of running task

Windows: tasklist Linux: ps x


12. Command to get the current time

Windows: time Linux: date

13. Command to check the disk space

Windows: Wmic diskdrive get size Linux: df -h

14. Command to know the login user (current user)

Windows: whoami Linux: whoami

15. Command to show the basic name of operating system &version

Windows: ver Linux: uname

16. Command to check the network connectivity between HOST & SERVER HOST

Windows: PING Linux: Ping


17. Command to print the route packets trace to network host

Windows: tracert Linux: traceroute

18. Command to list the current task

Windows: tasklist Linux: top

19. Command to show the active network connections

Windows: netstat Linux: netstat


20 . Command to navigate up one directory or previous directory

Windows: cd Linux: cd

21. Command to Hide and Unhide files.

Windows: attrib Linux: mv

22. Command to Displays information about system memory and resources


Windows: systeminfo Linux: free
23. Command to Displays information about kernel modules

Windows: driverquery Linux: lsmod

24. Command to Displays information about CPU

Windows: wmic cpu get Linux: lscpu

25. Command to Displays USB device information

Windows: devmgmt.msc Linux: lsusb


26. Command to Displays PCI device information

Windows: devmgmt.msc Linux: lspci

27. Command to Lists directory recursively

Windows: tree Linux: ls –R

28. Command to remotely access and manage a system

Windows: ssh Linux: ssh


29. Command to Displays the contents of a file

Windows: type Linux: cat

30. Command to Displays the first few lines of a file

Windows: more Linux: head

31. Command to restart the system

Windows: shutdown –r Linux: reboot

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy