Search Results

Search: Posts Made By: Peasant
271
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.
247
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.
...
247
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.
...
308
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? 1 Week Ago
678
Posted By Peasant
Welcome and nice to meet you! Regards ...
Welcome and nice to meet you!

Regards
Peasant.
254
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...
254
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
...
254
Posted By Peasant
Don't think array here is required, as well as a...
Don't think array here is required, as well as a testing if file(s) exists.
Only in some corner cases, if file is deleted during program execution..
Is that your case ?

Will this fill your...
722
Posted By Peasant
Presenting snapshot luns will work fine, as long...
Presenting snapshot luns will work fine, as long as you don't present source and snapshots to the same box.

Rescan the fabric, followed by pvscan, then vgimport <your_group_from_pvscan>
Take care...
Forum: Cybersecurity 4 Weeks Ago
274
Posted By Peasant
I've seen this when multiple PAM rules are...
I've seen this when multiple PAM rules are matched for one user or group.
Check pam configuration for such rules.

For instance :

.. other lines ..
password [default=1 success=ignore]...
1,021
Posted By Peasant
Looks strange to me... You did not use the GNU...
Looks strange to me...
You did not use the GNU tar gzip option -z at all.
So content is not compressed.

Can we see output of

file tar_test.tar.gz


Does tar -tvf tar_test.tar.gz display...
842
Posted By Peasant
Any attemps / ideas from your side ? You...
Any attemps / ideas from your side ?

You might want to check out the bottom of this page for releated discussions.

Regards
Peasant.
890
Posted By Peasant
Should a plain find / exec work, regardless of...
Should a plain find / exec work, regardless of the shell and OS ?

DIR1=/your/source
DIR2=/your/dest
find $DIR1 -type f -name "*.[CcTt][SsXx][VvTt]" -print -exec mv {} $DIR2 \;

Test and / or...
1,076
Posted By Peasant
Are you using network manager and nmcli or ? ...
Are you using network manager and nmcli or ?

Regards
Peasant.
804
Posted By Peasant
What is desired output / outcome of example...
What is desired output / outcome of example provided ?
Can you please tell us which operating system and shell you are using ?

We would like to see some of your effort...

Regards
Peasant.
1,271
Posted By Peasant
Stomp suggested you turn on the server side...
Stomp suggested you turn on the server side debug.
Please do so, and check the logs from server side - the side you are connecting to.

Regards
Peasant.
1,271
Posted By Peasant
How about permissions on $HOME folder of user (...
How about permissions on $HOME folder of user ( <trguser-home>) ?
Is it writable by others ?

Regards
Peasant.
1,110
Posted By Peasant
After 24 posts, you already know that we endorse...
After 24 posts, you already know that we endorse you to make an attempt first.

Also, please provide operating system and shell details.

Regards
Peasant.
1,047
Posted By Peasant
25 TB seems quite a lot. Are those like...
25 TB seems quite a lot.

Are those like billions of small files perhaps ?
Is content is constantly adding and to what extent ?

I have no experience lsyncd with but from Lsyncd github page :
...
1,065
Posted By Peasant
Can you show output of : zpool list <zpool...
Can you show output of :

zpool list <zpool in question>
zfs list
zfs get refquota,quota,refreservation,reservation <zfs file systems from list> # to check if reservations or quotas are made.
...
1,487
Posted By Peasant
Here is a quick bash mockup, using md5sum without...
Here is a quick bash mockup, using md5sum without inotify tools.
Where myapp.sh is being executed.

Kill is regular not dash 9, if you really need to use that signal, change it..
It will not...
359
Posted By Peasant
There is also one other option. Newish sparc...
There is also one other option.

Newish sparc hardware with latest solaris.
Solaris 10 VM inside LDOM -> Solaris 8 branded zone inside.

Regards
Peasant.
1,161
Posted By Peasant
To conclude check /etc/fstab for the mentioned...
To conclude check /etc/fstab for the mentioned mountpoint.

On first glance, a server was rebooted and came up without the mountpoint.
It happily worked until root filesystem is full, since same...
1,161
Posted By Peasant
Can you try umount of /mnt/backup and check if...
Can you try umount of /mnt/backup and check if files are present under that directory after umount ?

I suspect the mount happend after stuff is writen under /mnt/backup directory.

Hope that...
1,161
Posted By Peasant
Is /mnt/backup an actual mountpoint or just a...
Is /mnt/backup an actual mountpoint or just a directory under root filesystem.
This could be a source of your troubles.

Can you post output of df -h

Regards
Peasant.
Showing results 1 to 25 of 500

 

Featured Tech Videos

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