Search Results

Search: Posts Made By: Peasant
253
Posted By Peasant
Can you post output of : find $HOME -type f...
Can you post output of :

find $HOME -type f -name 'salt'
ls -dl $HOME/salt


From the whereis output salt is located under /home/stack

This looks like openstack software, which on the...
221
Posted By Peasant
After 1300ish posts one should know to post error...
After 1300ish posts one should know to post error you found.
This will benefit others and be in search results.

So, please, post the solution.

Regards
Peasant.
221
Posted By Peasant
Please post operating system details. Can...
Please post operating system details.

Can you show output from :

which bash
head -1 <your script> | od -cb


Regards
Peasant.
180
Posted By Peasant
Why not check it by creating some files and doing...
Why not check it by creating some files and doing for loop with a simple echo ?
Default order of things should be apparent from the output produced.

As for other requirements, it will have to be...
142
Posted By Peasant
Can you please be more precise and note your...
Can you please be more precise and note your operating system with shell details.
Offer an example of your problem and/or make better wording.

Regards
Peasant.
Forum: Solaris 1 Week Ago
339
Posted By Peasant
But you issued zlogin <zone>, not zlogin -C...
But you issued zlogin <zone>, not zlogin -C <zone>
Please issue with -C.

Did you have disk full on global zone and all the zones in one point of time ?

I've seen zones on attach required to...
Forum: Solaris 1 Week Ago
339
Posted By Peasant
What kind of zone is it (exclusive or shared ip...
What kind of zone is it (exclusive or shared ip stack) ?
Are you sharing disk for zone with global zone, and everything got full or ?

Can you show / check the output of

zoneadm list -cv
zfs...
517
Posted By Peasant
Please open new topic for new questions or...
Please open new topic for new questions or issues.

Regards
Peasant.
517
Posted By Peasant
Great you have everything working. Depending on...
Great you have everything working.
Depending on the network topology and desired level of redundancy of network, one might configure it a bit more.

If you have one cable in physical machine...
517
Posted By Peasant
Looks fine. As far as i could read online, it's...
Looks fine.
As far as i could read online, it's some kind of Oracle Linux derivative which in turn is RHEL base.

Can we see inside the guest ..

ls -lrt /etc/sysconfig/network-scripts/ifcfg-e*...
517
Posted By Peasant
Strange combination, sparc linux on Solaris ldom,...
Strange combination, sparc linux on Solaris ldom, to notice at first.
I do not think that is supported or condoned by Oracle, but since you installed / booted it lets take a look.

Can you show...
Forum: What is on Your Mind? 2 Weeks Ago
615
Posted By Peasant
HAL9000 : Welcome Dave :) Regards Peasant.
HAL9000 : Welcome Dave :)

Regards
Peasant.
405
Posted By Peasant
Perfectly normal. When you unplug the PS, a...
Perfectly normal.
When you unplug the PS, a fault is generated.

You can clear the fault, after you plugged it back in and it shows everything is ok.

Regards
Peasant.
448
Posted By Peasant
How about mounting the NFS share read-only /...
How about mounting the NFS share read-only / noexec no the reference server ?
User will still be able to execute the script in that directory/mountpoint using bash script.sh
Read only would stop...
429
Posted By Peasant
Here is one as well. awk...
Here is one as well.

awk '/s_ohs_instance_loc/ && match($0,/>.*</) { print substr($0,RSTART+1,RLENGTH-2) } '


Regards
Peasant.
Forum: Solaris 3 Weeks Ago
1,138
Posted By Peasant
Here : open("/etc/nsswitch.conf",...
Here :

open("/etc/nsswitch.conf", O_RDONLY|O_LARGEFILE) = 4
fcntl(4, F_DUPFD, 0x00000100) = 256
close(4) = 0
read(256, 0xFF352400, 1024)...
Forum: Solaris 3 Weeks Ago
1,138
Posted By Peasant
Can you please show output of : cat...
Can you please show output of :

cat /etc/nsswitch.conf


Regards
Peasant.
Forum: Solaris 3 Weeks Ago
1,138
Posted By Peasant
Can you try the following, perhaps it will shed...
Can you try the following, perhaps it will shed some light :

truss -rall -wall chown root:sys <some insignificant file>

Are you using ZFS ?
Please check if you have some old snapshot of rpool...
Forum: Shell Programming and Scripting 4 Weeks Ago
1,123
Posted By Peasant
I'm not sure i follow. I cannot see -w option...
I'm not sure i follow.
I cannot see -w option handled in code.

Can you be more precise on your problem and write exactly what you need / want your script to do ?

Regards
Peasant.
516
Posted By Peasant
This is not a representative input. First,...
This is not a representative input.

First, lines are not proper but broken. Little vi yank magic helps but ...
Second, the grep success or grep promo_cashback return nothing from your input.
...
516
Posted By Peasant
If we could see the content of tdr12009.log ,...
If we could see the content of tdr12009.log , your job could probably be done with a single awk invocation against the log file.
Show the input please, operating system and shell you are using.
...
Forum: Shell Programming and Scripting 4 Weeks Ago
1,131
Posted By Peasant
How long does ls -d "/app/scripts"/* last, how...
How long does ls -d "/app/scripts"/* last, how many files are inside ?

What are your operating system and shell details ?
With what options is the filesystem mounted ?

Regards
Peasant.
Forum: What is on Your Mind? 10-10-2019
1,386
Posted By Peasant
Welcome and nice to meet you! Regards ...
Welcome and nice to meet you!

Regards
Peasant.
336
Posted By Peasant
You never used code i posted, and you have...
You never used code i posted, and you have expanded your code with pipes and line counts.

If [[ 'ls $INPUTDIR/abc*.dat | wc -l > 0' ]] -> will always evaluate to true
Without test it will default...
336
Posted By Peasant
Complement the code with : ...
Complement the code with :

INPUTDIR=/path/with/files
for i in $INPUTDIR/abc*.dat
do
if [ -f $i ]; then
echo "File exist, processing..."
else
...
Showing results 1 to 25 of 500

 

Featured Tech Videos

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