Bennovations Knowledgebase
| Categories |
| |
 |
Web
Answers to various Web related topics
|
 |
UNIX (7)
Answers to various UNIX (Linux,Solaris,AIX,HP-UX,VMWare) related questions.
|
 |
SAN
Answers to various Storage Area Network (SAN) questions
|
 |
Other
Other stuff...
|
|
Most viewed
|
| |
 |
Setting the date forward on Linux/UNIX
Set date forward on UNIX
date --set='-10 minutes'
|
|
| 24 Jul, 2008 |
Comments: 13,313 |
|
|
|
 |
VI Command to delete till end of file (eof)
VI Delete til end of file
:.,$d
|
|
| 24 Jul, 2008 |
Comments: 8,868 |
|
|
|
 |
Remove whitespace using sed
To remove all whitespace (including tabs) from left to first word, enter:
echo " This is a test" | sed -e 's/^[...
|
|
| 24 Jul, 2008 |
Comments: 4,477 |
|
|
|
 |
Convert Hex to Decimal in UNIX
convert hex to decimal
# num=`echo 16i $num pq |dc`
|
|
| 24 Jul, 2008 |
Comments: 48 |
|
|
|
 |
VI editor Backup (VIB) Utility
CURRENT RELEASE: v1.9
INSTALLATION:
1. Verify the path to bash or ksh is the path on the first line of VIB
i.e. #!/usr/bin/bash
# cp...
|
|
| 05 Aug, 2008 |
Comments: 112 |
|
|
|
|
|
|