Search Results

Search: Posts Made By: j1yant
4,144
Posted By j1yant
Thank you very much Perderabo and criglerj. ...
Thank you very much Perderabo and criglerj.

I wanted to check integer (base 10)

In next posts I will try to be more specific
4,144
Posted By j1yant
Number or Character
How to find that a given variable is a number or character?


e.g.

echo "Enter the number"
read var

If "$var" is a number then display "Number has been entered"
else display "Character...
20,156
Posted By j1yant
Thak you for your valuable suggestion. The...
Thak you for your valuable suggestion.

The file should be .bash_profile
It is getting executed.

J1yant
20,156
Posted By j1yant
.profile
I installed Red Hat 7.1.

I found that .profile is not geting executed for any user.
I checked the location of .profile . It is in home directory.

What may be the reason.

Thank you in...
38,862
Posted By j1yant
Bus Error Core Dumped
I faced following problem while restoring root backup
Server : Compaq Proliant 6000
OS SCO : Unixware 7.0


#tar - xvf /dev/rmt/ctape1

After extracting some files following error message...
2,615
Posted By j1yant
Re: AWk is still puzzling me...
Penguin-friend,

Just execute following awk command.

awk ' $1~/#/ {print $_};$1 ~/printf/ {print $_ ;print "INSERT_LINE";printf "\n" };$1~/echo/ {print $_}' first_file > second_file

You...
4,360
Posted By j1yant
OS is SCO UNix Ware 7.0 The security package...
OS is SCO UNix Ware 7.0
The security package you mentioned is not installed.
Without any such security package can we grant SHUTDOWN privilege.Is there any work around ?
4,360
Posted By j1yant
Shutdown Privilege
Friends,

I have to grant SHUTDOWN privilege to an ordinary user.
How this can be achieved?

J1yant
62,566
Posted By j1yant
how to replace a line in a file using shell script
cs_sakthi,

Let prop_file is name of your property file.
File prop_file contains the following line with other contents.

Application.Database=snowdropDB

Make shell sript file startup.sh
...
3,053
Posted By j1yant
Re: Report with mutiple files.
Cameron,

Will you please send/show the content of any of
the files you are creating ?
It will help to work out the solution.

J1yant
2,626
Posted By j1yant
Troccola, Yes ,in the man page explantion is...
Troccola,

Yes ,in the man page explantion is given as to why new line character appears.

I want to know which flag you passed to eliminate new line character. Will you please demonstrate it?
...
2,626
Posted By j1yant
Simple Question
Friends,

I did following exercise

$ echo '' > test
$ od -b test

$ echo "">test
$ od -b test

$echo > test
$od -b test

Every time I got the following output
0000000 012
0000001
...
3,378
Posted By j1yant
Please try this sed 's/ *//g' file ...
Please try this

sed 's/ *//g' file

(Ensure that there are two spaces before * )
This will work to remove all spaces in file.
Showing results 1 to 13 of 13

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