Common Linux Commands for Windows Administrators – Part 1

4 comments

I have been working with Ubuntu Linux and have run into the issue where I am using Windows Commands in my Linux Terminal session and Linux commands in my windows sessions.  This can be a common occurrence if you switch between platforms.   I thought I would document some of the more common Linux commands and their windows counterparts.

 

One thing to note about commands, Linux commands are case sensitive, Windows are not.

 

Need help with a command?  Linux ~$ Man command  opens the manual for the command -- corresponds with the Windows c:command /?

 

Linux ~$ Users Display the users currently logged into the host.  -- There is no corresponding windows command, I display the task manager and click on the users tab.

 

Linux ~$ ls  Displays the directory contents  Corresponds with c:dir in windows.  Dir works as well on some distributions of Linux.

linux-penguin-jedi
Linux Jedi Penguin

 

Linux ~$ cp copy files and directories  Corresponds with c:copy in windows.  I like to use robocopy in windows.

 

Linux ~$ mv renames a filea to a fileb.  Corresponds with c:ren filea to fileb.

 

Linux ~$ cd .. moves up one directory.  Windows c:tempcd.. does the same thing.  Remember to put the space in for the Linux command. 

 

Linux ~$ ifconfig displays the network adapter configuration.  Windows c:ipconfig does the same thing.

 

Linux ~$ pwd  displays the current path.  There is no Windows Command for this, but I have used @echo %cd% in scripts. 

 

Linux ~$ FTP opens a command line FTP program.  Windows is exactly the same.

 

Linux ~$ telnet opens a command line telnet program.  Windows is exactly the same.

 

Linux ~$ ping opens a command line ping program.  Windows is exactly the same.

 

Check out the second part of the blog post Common Linux Commands for Windows Administrators - Part 2  

4 Comments on “Common Linux Commands for Windows Administrators – Part 1

Leave a Reply