Friday, 5 June 2009

VI commands to be used:

vi commands

Command to be use:

“yy” copy a line
“p” paste
“/” search

Adding untagged ports on a switch

Login to the switch
Adding untagged ports to vlan 100
Qhqsw2(config)# Vlan 100
Qhqsw2(vlan-100) Untagged 7
Qhqsw2(vlan-100) Write memory
Qhqsw2(vlan-100) show run

Kill visualscan running

pskill -t \\pcname -u user -p password vsScan.exe

Win2003 Srv out of space (delete IIS logs)

Start - Run -> Services.msc

stop web publishing

delete IIS log files:
c:\windows\system32\logfiles

restart web publisher

Robocopy

robocopy source destination /eta /z /r:1 /w:1

Tuesday, 24 March 2009

Daily Unix Commands

Gzip
What is it? Compression Utility
How do I use it?


Tar
What is it? Combine a few files into one archive
How do I use it? tar -cvf file.tar inputfile1 inputfile2

Show running processes?
ps aux

Iostat
What is it?
How do i use it?

Top
What is it?
How do I use it?