scroll post

Blogger Tips and TricksLatest Tips And TricksBlogger Tricks

Linux Commands with corresponding MS-DOS Commands

Type these commands in shell/console/Terminal.

startx – to open KDE from login shell (win in MS-DOS)
ifconfig – shows IP Configuration (ipconfig in MS-DOS)

passwd – change password of current user (net user <username> <pass> in MS-DOS)
cat – displays contents of a file (type in MS-DOS)
tac – displays contents of a file in reverse order
ls – directory listing (dir in MS-DOS)
ps – process listing (tasklist in windows)
wc – wordcount of a file, displays no. of lines, no. of words, no. of characters
reboot – to reboot the system (shutdown -r in cmd(windows))
which <executable> – shows path of that executable