Visit The New, Modern Unix Linux Community

Search Results

Search: Posts Made By: j1yant
3,637
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
3,637
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...
19,659
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
19,659
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...
27,535
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,129
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...
3,999
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 ?
3,999
Posted By j1yant
Shutdown Privilege
Friends,

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

J1yant
60,468
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
...
2,462
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
1,952
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?
...
1,952
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
...
2,989
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

 

Featured Tech Videos

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