Search Results

Search: Posts Made By: ASGR
24,693
Posted By ASGR
[BASH] eval command not expanding variables as expected.
Hi Guys,


I wrote a collection of bash functions years ago and now need to use them again but
I'm getting some error messages when eval tries to expand the variables names.


I recollect that...
Forum: Red Hat 02-17-2019
7,065
Posted By ASGR
Awesome. Excellent advice.
Awesome.
Excellent advice.
Forum: Red Hat 02-16-2019
7,512
Posted By ASGR
Sounds like it is more of a Hyper-V problem than...
Sounds like it is more of a Hyper-V problem than a Red-Hat issue.
It may well be that Hyper-V didn't support newer technology that
Red-Hat may have implemented at the time.


When running any...
Forum: Red Hat 02-16-2019
7,065
Posted By ASGR
Thanks Bakunin. I think ssh is definitely...
Thanks Bakunin.


I think ssh is definitely the way to go.


I would have liked to access my devices remotely with a GUI and
discovered that openssh-server does exactly this. Problem solved.
...
Forum: Red Hat 02-16-2019
28,387
Posted By ASGR
Cannot set 'soft limits' for 'maximum stack size' for a standard user
Hi Guys,

I'm trying to install Oracle Database on to Oracle Linux 7.6 but when
the database install package checks the OS set-up, it keeps on failing
on the soft limits for the stack. It's...
Forum: Red Hat 01-19-2019
7,065
Posted By ASGR
Thanks Jim, I'm on Mac OSX...
Thanks Jim,


I'm on Mac OSX (unfortunately).
Forum: Red Hat 01-19-2019
7,065
Posted By ASGR
Remote access computer system as a whole not just desktop with GUI
Hi All,


I've been looking at various options at administering several servers remotely like:
- VNC (don't like the lax security of 8 characters max for a password) and

- NX (awesome piece of...
13,890
Posted By ASGR
Awsome! Just adding the absolute path works,...
Awsome!

Just adding the absolute path works, in this case /sbin/fstrim on Debian.
Thanks for every-bodies help.

MIG: After further investigation, it does indeed seem that it is the case
that...
13,890
Posted By ASGR
Sorry for the late reply. hicksd8 ...
Sorry for the late reply.

hicksd8
-----------
I created the jobs when logged in as root with the 'crontab -e' command. I do get the message that the jobs have been updated and the schedule and...
13,890
Posted By ASGR
I created a root user file with the 'crontab -e'...
I created a root user file with the 'crontab -e' command line.
The schedule seems to be executing at the right time and
passing the expected arguments to bash successfully.

Is it possible cron...
13,890
Posted By ASGR
Crontab not processing parameters sent to script.
Hello All,

I'm running Debian on a ThinkPad X1/2G and all seems to be running well.

However, it's got a SSD that needs the trim command run at regular intervals.
I'm implementing this using...
1,143
Posted By ASGR
Very nice solution Scott!
Very nice solution Scott!
Forum: OS X (Apple) 04-15-2014
5,102
Posted By ASGR
Best case is to get virtualbox.org and install a...
Best case is to get virtualbox.org and install a cracked copy of OSX from some of the tutorials out there (at your own risk) and then download the xDeveloper application from the AppStore that is...
1,776
Posted By ASGR
Yeah... it is the usual thing to do but it all...
Yeah... it is the usual thing to do but it all seems to be small problems that are solve that relate to bigger issues. It's almost like the wheel is being re-invented when you should be picking all...
1,776
Posted By ASGR
I was thinking of coding projects in the numerous...
I was thinking of coding projects in the numerous scripting
languages that are represented here. Targeting the type of
users and their issues this site was designed to address.

For example, I've...
1,776
Posted By ASGR
Project hosting?
Hey admins!,

Please can you consider hosting devel projects.

A.
2,353
Posted By ASGR
sub-string extraction using bash
Assuming that you have the
file in an array already, then;
${ARRAY[@]:45:5}
will extract the arrays starting at 45
with a length of 5.
2,122
Posted By ASGR
Sub-string extraction on arrays
Hi,

I'm trying to extract the middle of an array that is of
variable length but always has a first and last common
element,

The following works OK...

#!/bin/bash
ARRAY[0]='switch'...
Forum: OS X (Apple) 03-30-2010
5,830
Posted By ASGR
Same opinion as above but using 'RunAtLoad' and...
Same opinion as above but using 'RunAtLoad' and 'KeepAlive'.

I've not used AppleScript for years but you may want to put
the code and opening braces on separate lines for a start or
at least...
Forum: OS X (Apple) 03-11-2010
14,037
Posted By ASGR
Without any further information, you can either...
Without any further information,
you can either set the PKG_CONFIG_PATH
in the global 'profile' file as I do, located
in '/etc/profile' or the usual way to define
environmental variables with the...
Forum: OS X (Apple) 03-11-2010
4,129
Posted By ASGR
Hey guys, This works... #!/bin/bash ...
Hey guys,

This works...


#!/bin/bash
if [ $clr="r" ]; then
echo -e '\E[1;31m'
fi


Notes:
Removed surrounding spaces around the '=' (doesn't like extra spaces)
Removed extra...
1,895
Posted By ASGR
Hey lalit, Could you be a bit more specific...
Hey lalit,

Could you be a bit more specific if possible. Are you
having a particular problem that you need help with
or is it a general enquiry?

A.
2,508
Posted By ASGR
Hi abcd69, Welcome to the community. ...
Hi abcd69,

Welcome to the community.

Could you post an example of the data you are working with
and if possible the expected output. It'll be easier to visualise
the problem and solution.
...
6,017
Posted By ASGR
bash dynamic variables
For future reference, this is an approximate
representation of the system so far. The method
suggested works and generates identical output
whilst processing.

I may have been overwhelmed with a...
6,017
Posted By ASGR
Thanks again. Just to nail the lid shut on...
Thanks again.

Just to nail the lid shut on this one, I'd like
to use it through a function as below, but a
straight translation from the previous post
to one that uses eval in a function seems...
Showing results 1 to 25 of 57

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