Search Results

Search: Posts Made By: Aia
8,724
Posted By Aia
Hi Lord Spectre Please, review how you have...
Hi Lord Spectre

Please, review how you have executed the code from post #4. Based on your input it should have given you the desired output instead of no output as you mentioned.

Here's another...
1,385
Posted By Aia
One way in Bash could be: n=$(printf "%-9s"...
One way in Bash could be:
n=$(printf "%-9s" 2457)
printf "%s\n" ${n// /0}
245700000
5,269
Posted By Aia
Hello sravani25, If you were to post the...
Hello sravani25,

If you were to post the output of your df -h command it could make it possible to let you know even more.
It is OK for learning and quick iteration what you have done with...
8,314
Posted By Aia
echo $str1 | sed 's/\\n/\n/g' > text.txt
echo $str1 | sed 's/\\n/\n/g' > text.txt
13,005
Posted By Aia
Print count of case insensitive pattern /it/ ...
Print count of case insensitive pattern /it/
echo "It was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness..." |
perl -nle '$c+=()=/it/gi;...
Forum: Red Hat 05-28-2017
14,157
Posted By Aia
Write a service file and place it in...
Write a service file and place it in /etc/systemd/system/beforeshuttingdown.service
[Unit]
Description=Before Shutting Down

[Service]
Type=oneshot
RemainAfterExit=true
ExecStart=/bin/true...
5,259
Posted By Aia
Take a look at what SELinux is doing for you.
Take a look at what SELinux is doing for you.
1,309
Posted By Aia
What you are asking can be done with ClusterSSH.
What you are asking can be done with ClusterSSH.
Forum: Fedora 09-09-2018
13,711
Posted By Aia
A segmentation fault core dump is not due to user...
A segmentation fault core dump is not due to user unfamiliarity. It is a program misbehavior outside the user control. In this case it appears that the extundelete utility has fallen out of...
2,419
Posted By Aia
The place holder for whatever you script is...
The place holder for whatever you script is named, the one you want to re-write.
Forum: What is on Your Mind? 09-09-2018
2,775
Posted By Aia
I am sorry if I ever gave you the impression that...
I am sorry if I ever gave you the impression that I was somewhat inferring that you or UNIX.COM should be in the Cloud. My post was prompted as a personal opinion following in the same spirit of...
Forum: What is on Your Mind? 09-09-2018
2,775
Posted By Aia
I would like to repeat that it is all about CI/CD...
I would like to repeat that it is all about CI/CD ( I do not have to highlight it since I made myself clear before). Companies (customers) that do not implement CI/CD for the most part do not...
4,912
Posted By Aia
Sure it does, but as soon as it sees that you are...
Sure it does, but as soon as it sees that you are giving it a glob it wants you to identify where the options ends and where the files start, it case that there's a file starting with a -, it doesn't...
4,912
Posted By Aia
Try zip -u -q Desktop_Items.zip ./*.desktop as it...
Try zip -u -q Desktop_Items.zip ./*.desktop as it says: Use ./*glob*

or zip -u -q Desktop_Items.zip -- *.desktop as it says:or -- *glob*
Forum: Red Hat 09-08-2018
7,138
Posted By Aia
Since there was no testing previously in an...
Since there was no testing previously in an identical testing machine, this box has become the testing one now. No testing, no confidence in anything.
You can test if it doesn't break anything by...
2,419
Posted By Aia
I question the wisdom of what you are trying to...
I question the wisdom of what you are trying to do, but I will not elaborate unless you care to share.

Please, try the following:

perl -pe 'BEGIN{%id=(1=>2, 2=>3, 3=>4, 4=>1)}...
3,236
Posted By Aia
grep -q is more than just suppressing any output,...
grep -q is more than just suppressing any output, it will exist with success as soon as it finds a match, avoiding to continue searching any other lines in the file until it reaches the end of the...
3,236
Posted By Aia
The -q means to be quiet or do not output...
The -q means to be quiet or do not output anything to stdout but only exit with a zero (success) as soon as one match is found.
The -F means to interpret the search pattern as a string and not as a...
5,201
Posted By Aia
The issue of the unwanted format is echo...
The issue of the unwanted format is echo "$file". The echo has an implicit appended newline.

Here's a fix without much change to your code
duration=$(ffmpeg -i $file 2>&1 | grep Duration |cut -d...
1,356
Posted By Aia
You must protect $input by surrounding it with {}...
You must protect $input by surrounding it with {} like ${input} otherwise the shell thinks
you want to expand a variable named $input_string2 which has not been defined.
866
Posted By Aia
We have pssh for parallel ssh on multiple remote...
We have pssh for parallel ssh on multiple remote hosts
We have Ansible that it uses ssh as well.
We have Salt which can make use of ssh for ad-hoc but it is designed to be configured with an agent....
4,277
Posted By Aia
How can we help you? What's your question? What...
How can we help you? What's your question? What isn't working? How is it not working? What's the desired result that you are not getting? What's your intend?
1,456
Posted By Aia
Your problem is not unique and it has been solved...
Your problem is not unique and it has been solved long time ago. Configure busybox syslogd to send message logs to a remote logging service (a remote server).

If you want to rediscover the wheel...
845
Posted By Aia
No Perl? That's too bad. I do not see a reason...
No Perl? That's too bad. I do not see a reason for sed.
while read -r replacement && read -r line <&3; do
#echo $line | sed s/YYYY/"$replacement"/ # for reference purposes.
echo...
946
Posted By Aia
What you have posted as material for...
What you have posted as material for troubleshooting is very ambiguous and your confirmation that tempFDMEE.csv exists doesn't help, since you did not post any result or output that really confirms...
Showing results 1 to 25 of 500

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