DaGr8Gatzby
Drunk by Myself
After much deliberation, Windows is finally starting to behave I want it:
C:\Documents and Settings\Administrator>ipconfig /all | find "IP"
Windows IP Configuration
IP Routing Enabled. . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.30.94
IP Address. . . . . . . . . . . . : 192.168.30.93
IP Address. . . . . . . . . . . . : 192.168.30.92
IP Address. . . . . . . . . . . . : 192.168.30.91
IP Address. . . . . . . . . . . . : 192.168.30.90
IP Address. . . . . . . . . . . . : 192.168.30.89
IP Address. . . . . . . . . . . . : 192.168.30.88
IP Address. . . . . . . . . . . . : 192.168.30.87
IP Address. . . . . . . . . . . . : 192.168.30.86
IP Address. . . . . . . . . . . . : 192.168.30.85
IP Address. . . . . . . . . . . . : 192.168.30.84
IP Address. . . . . . . . . . . . : 192.168.30.83
IP Address. . . . . . . . . . . . : 192.168.30.82
More unix-like. hehehe. Post all of your shortcut CLI-t commands here.
asemisldkfj
the law is no protection
I despise the Windows command line. all I use it for is ipconfig and ping.
same
-Weasley
DaGr8Gatzby
Drunk by Myself
I gotta use it from time to time though :(
> I despise the Windows command line. all I use it for is ipconfig and ping.
Indeed, I tried many times to get a grip on it, I've even tried using tcsh and bash on Windows, and using all the UNIX commandline tools -- I never managed to unsuck the Windows command line.
One thing I hate more on Windows than the commandline is scripting, I use sh.exe scripting because batch scripting is underpowered, and VB scripting retarded ... I hate it because I'm always messing with things like slashes/backslashes drive letters, ect.
DaGr8Gatzby
Drunk by Myself
Anyone know how to bind a series of IP addresses really quickly via CLI?
ozntz
toooooooooooooooooooooooooooooooooo
DaGr8Gatzby
Drunk by Myself
I'm not a fan of windows. So ... no. someone needs to Axe this thread. It's going nowhere.
asemisldkfj
the law is no protection
only good thing I have to say about the Windows CLI is that cmd.exe looks pretty nice when you change the default font to Lucida Console instead of that gross default font.
asemisldkfj
the law is no protection
know what blows my mind? that you can't resize cmd.exe horizonally.
@asemi: 80 cols should be enough for anyone...
couldn't resist, i agree with you though.
DaGr8Gatzby
Drunk by Myself
you can't use the mouse to resize but you can change these values to change the horizontal width [if you didn't know, and you can save this as a default].
properties -> layout
screen buffer size: 80
windows size: 80
I second ozntz: use netsh!
What commands are you guys familiar with in windows CLI?
I use these fairly often:
arp [-a|-d]
nbtstat [-n|-R]
getmac
gpresult /R > grouppol.%COMPUTERNAME%.txt
systeminfo > %COMPUTERNAME%.txt
netstat
nslookup
comes with windows 7 pro. the integrated scripting environment is nice i guess.
here's
the guide for windows powershell:
http://www.microsoft.com/technet/scriptcenter … fault.mspx
i like how it has `ls` in addition to `dir`. :) it makes life easier for posix-heads.
sucks that it's just an alias though for get-childitem, see "get-alias ls".
DaGr8Gatzby
Drunk by Myself
Fuck Powershell :)
whoa.. long time no see, dgr
DaGr8Gatzby
Drunk by Myself
Yea I missed you guys.
where have you been?
DaGr8Gatzby
Drunk by Myself
In Powershell.
what's wrong with powershell?
it has nice tab-completion and you can easily paste with a right-click.
nny
M̮͈̣̙̰̝̃̿̎̍ͬa͉̭̥͓ț̘ͯ̈́t̬̻͖̰̞͎ͤ̇ ̈̚J̹͎̿̾ȏ̞̫͈y̭̺ͭc̦̹̟̦̭̫͊̿ͩeͥ̌̾̓ͨ
meh at the end of the day... it's windows... and they are about 20-30 years behind the curve in the server market. with the sole exception of active directory... which is right on par with all the other 20 year old solutions that are leading the market.
DaGr8Gatzby
Drunk by Myself
I was looking for this one:
> systeminfo | find "Up Time"
System Up Time: 10 Days, 1 Hours, 55 Minutes, 34 Seconds