Search Results

Search: Posts Made By: Sumedha Sobti
4,105
Posted By Sumedha Sobti
Hi, The following code snippet is a very...
Hi,

The following code snippet is a very simple way of sending mails as plain text or attachments:

#!/bin/ksh
subjectline="--Subject of the mail--"
echo "--Body of the mail--" >>...
3,475
Posted By Sumedha Sobti
Hi, The following snippet may help you....
Hi,

The following snippet may help you. Lets say you have a file OrdersPerSecond.txt with three columns and a few rows and you need to store each column field into a variable which then can be...
2,823
Posted By Sumedha Sobti
Hi The following three cases along with...
Hi
The following three cases along with contents of the files are given:

---Content of OldFile.txt---
Switch to insert mode: press i
Switch to command mode: press Esc

1. sed -n 1p...
158,615
Posted By Sumedha Sobti
Hi, Here's my simple code that may solve...
Hi,

Here's my simple code that may solve your problem.
Lets say you have a 'usr' table with 'user ID, user Name, status (Active(A) or Suspended (S))'
1. Connection to DB is established wrt DB...
233,654
Posted By Sumedha Sobti
Hi, There is a very simple way of doing...
Hi,

There is a very simple way of doing this. Lets say you have a file test.txt having 'view' in some line. Say, you wish to get 5 lines above and below the line containing 'view' and output to a...
5,998
Posted By Sumedha Sobti
Hi, Instead of counting the line number...
Hi,

Instead of counting the line number which has to be deleted and coming out of the file and then implementing it, you may try an easy way out.
This is an interactive way of deleting a line...
4,981
Posted By Sumedha Sobti
Hi, You may try the following: ...
Hi,

You may try the following:

EDITOR=vi
export EDITOR
crontab -e

<<Enter crontabs>>

Ctrl q! <<--- Command to end crontab file

I don't think there would be any problem, incase the...
Forum: HP-UX 07-03-2009
7,823
Posted By Sumedha Sobti
Hi 1. crontab -e This command is...
Hi

1. crontab -e
This command is used ONLY for editing/adding the crontabs in vi editor.
2. crontab -l
This command just dispalys all crontabs at once, the file is not affected
3....
21,117
Posted By Sumedha Sobti
Hi Aberli, This is quite easy, lets say...
Hi Aberli,

This is quite easy, lets say your file 'myfile.txt' contains some lines having --> www.thisdomain.com
and you need all the lines having www.thisdomain.com into a new file e.g....
Showing results 1 to 9 of 9

 
All times are GMT -4. The time now is 11:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy