Monthly Archives: March 2010

From Windows to Linux, what now?

Share Button

This little spreadsheet should get you started, I put this list together to show you on the far left column the Windows Command, in the middle the purpose and on the far right column the equivalent Linux Command.
If you like me to add some more commands please let me know and I update this spreadsheet.

! Linux is entirely case sensitive, if you spell it wrong Linux won’t find it.

Microsoft Windows
Purpose
Linux
Login as Administrator
Administrative Login
Login as root
Taskmanager
view Processes/Logged in Users/Performance/Networking
most Linux don’t use GUI’s in it’s Server install but top would equal to it
tasklist /s
displays Processes with Services
ps ax
taskkill /pid
terminates Process by it’s Process ID
kill -9
net stop
stops a Service the regular way
SysV based: service stop
BSD Style: /etc/rc.d/rc. stop
net start
starts a Service
SysV Style: service start
BSD Style: /etc/rc.d/rc. start
Services MMC set service to auto start/stop/manual start/deactivate
manage Services start bevahiour
SysV Style: chkconfig on/off
BSD Style: to start a boot
chmod 755 /etc/rc.d/rc.
or to deactivate at boot
chmod 644 /etc/rc.d/rc.
dir
list content of filesystem from current position
ls
dir /n /q
same a above included long list format plus owner
ls –al
cd
change directory
cd
copy
makes a copy of a file
cp
ping
send an echo to destination and displays response
ping
tracert
traces the route to the destination
traceroute
arp
displays and modifies the IP to MAC
arp
netstat
displays protocol statistics and current TCP/IP connections
netstat
nslookup
displays DNS informations
nslookup
edit or notepad
creates or modifies a script/document
vi (see vi Essentials in Sharepoint)
type
displays the content of a file
less or more
shutdown -s
shutdown the system
shutdown -h now
shutdown -r
restart the system
shutdown -r now or + +
runas
start application with Admin rights
sudo (only used on SELinux versions like Ubuntu or if logged in as regular user to use a command as  root)
log out and log in as administrator
switch to Super User / Administrator mode
su (only been used if logged in as regular User to switch to super user mode to do a series of commands as root)
displays most recent lines on a file
tail /path/to/file
find
grep is not been used alone, always in combination
grep
attrib/acl
modifies the files attributes
chmod rightsvalue /path/to/file
attrib/acl
modifies the files attributes
chown user:group /path/to/file
net user username * /domain
change password of an account
passwd
notepad/edit or else
browse through the complete file content
more after file is open hit “/” and enter your search phrase and you can navigate forward and backwards with n or p

 

Please visit my Youtube Channel, click on my Sponsors or if that really helped you to solve a problem you had please Donate. Every Donation will go right into this Blog.
Thanks
MSJ