|
Search:
Advanced search
|
Browse by category:
|
Contact Us |
|
Showing: 1-10 of 13 »»
Articles
|
|||
|
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...
|
|||
|
|||
|
Setting the date forward on Linux/UNIX
Set date forward on UNIX
# date --set='-10 minutes'
# date set="2 OCT 2009 18:00:00"
# date +%T%p -s...
|
|||
|
|||
|
VI Command to delete till end of file (eof)
VI Delete til end of file
:.,$d
|
|||
|
|||
|
Remove whitespace using sed
To remove all whitespace (including tabs) from left to first word, enter:
echo " This is a test" | sed -e 's/^[...
|
|||
|
|||
|
Recursively copy files using find
cd $HOME; find src -type f -name "*.log" | tar -T- -cf- | (cd /tmp/test && tar -xvf-) ;
|
|||
|
|||
|
Commands to remove blank lines
sed '/^$/d'
grep -v '^$' input.txt > output.txt
|
|||
|
|||
|
Convert Hex to Decimal in UNIX
convert hex to decimal
# num=`echo 16i $num pq |dc`
|
|||
|
|||
|
Mapping SCSI Return Code Errors on Linux
Mapping SCSI Errors on Linux
SCSI error : <1 0 0 4> return code = 0x10000
SCSI error : <1 0 0 5> return code = 0x10000
Checking...
|
|||
|
|||
|
RedHat Linux Filesystem is mounted Read Only after EXT3-fs errors.
On RedHat (or Fedora) linux, when the XFS (ext3) filesystem encounters bad disk metadata, or other filesystem corruption, the filesystem...
|
|||
|
|||
|
Mounting ISO Image on Solaris
# mount -F hsfs `lofiadm -a file.iso` /mntpoint
|
|||
|
|||
Powered by
KBPublisher (Knowledge base software)