Friday 3 February 2012

Backtrack commands


Type these commands in shell/console. These commands can also be used for any other linux/unix OS.
startx – to open KDE from login shell
ifconfig – shows IP Configuration (ipconfig in DOS)
passwd – change password of current user (net user <usert> <pass> in DOS)

cat – displays contents of a file (type in DOS)
tac – displays contents of a file in reverse order
ls – directory listing (dir in 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