Archives

Author Archive for: ‘mtharma’

working with 1st or last characters of every line in vim

0

Remove the last char from every line

Insert a * in the beginning/end of every line

Read More

command > some_file.txt 2>&1

0

What does 2>&1 do in a linux console?

Read More

Change the default editor

0

I ran into this with CentOS 5. Where the default editor for the system is set to nano! I like vi and wanted to change the default to it. login to the system vi .bashrc Add the following two lines to .bashrc

run the command, source .bashrc A change to /etc/bashrc will make it a system wide change

Read More

Block insert with vim

0

Vi block insert (i.e // in front of a block of lines)

Read More

Virtualbox dhcp set

0

Read More

Simple all mail relay

0

You have a server who’s IP is already white listed on your mail server & you wanted this server to pass all outgoing mails to the company’s mail server. This method basically eliminates the need for a mail server to be running on the local box.

Read More

increase the loop device count

0

Read More

Put a time stamp in history

0

Read More

Auto start services

Read More
Page 2 of 2«12
    No Twitter Messages.