• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Favourite Command Prompt Commands?

Poontos

Platinum Member
Share your favourites! Maybe some others don`t know in Windows 2000/XP...


Basic ones that come to mind:

arp -a

netstat -a

net share x: \\pcname\c$ (shares hidden c: drive as x: drive on local computer)

tracert www.domain.com

ipconfig /all


Share 'em all! 🙂
 
ls
grep
mutt
links
mkfs -t xfs
locate
nano
cat
cd
echo -en "\\033[0;30m"
init
iptables
bash
head
top
mount
tail
ps
tar
kill
 
NT:
net use
net start
net stop
tracert
deltree

Linux:
./configure && make && sudo make install
rm -rf
links
vim
startx 😱
 
tail
grep

gpresult (|more)
rcmd
telnet
dir /od , /s
type reallylargelogfile > temp.txt followed immediately by Ctrl-C
net use * \\servername\sharename /user:TESTDOMAIN\TestID *
cd doc*\user*\my d*

 
Favorites below

Dos: (under 2k)
Ipconfig
ipconfig /flushdns

Dos (under WinxP)
System info

Novell
showuser

Linux
ls
chmod

Wife:
leave me alone command
 


<< Wife:
leave me alone command
>>



LOL at SaigonK

My version of that one:
"Are you coming to bed soon, Honey?...." <== said in sweetest, suggestive tone of voice
 
I guess I meant more of some good examples and what they do. Commands are not much help if you do not know how to use them.

Yes, you can read the help files, but not too many people like to RTFM.
 


<< What qualifies a command as so fun to do that it can be called a favorite? >>


You don't like the feeling using kill <pid> gives you? 😀
 
Linux/Unix: grep
DOS: deltree

And this isn't a command but rather something to do with it: tab-completion rulez!!!!!!!!!!!!
 
My top 3 of all time:


rm -rf /mnt/windows_c

rm -rf /mnt/windows_d

rm -rf /mnt/windows_e



First runner up are those which I base most of my professional career on 🙂 🙂

while true
do
ps -ef | grep gcc
sleep 2
done

and

for foo in `ls *.txt | awk -F. '{print $1}'`
do
mv $foo.txt $foo.sav
done





<< Free your OS, the rest will follow.. >>

 
Back
Top