skip to Main Content

Retrieve substrings from individual components of an array in Bash – CentOS

For a command such as grubby --info=ALL the output received is something of the sort - index=3 kernel="/boot/vmlinuz-4.18.0-80.el8.x86_64" args="ro crashkernel=auto resume=/dev/mapper/cl-swap rd.lvm.lv=cl/root rd.lvm.lv=cl/swap rhgb quiet" root="/dev/mapper/cl-root" initrd="/boot/initramfs-4.18.0-80.el8.x86_64.img" title="CentOS Linux (4.18.0-80.el8.x86_64) 8 (Core)" id="d7fe995b9d09403896e1e56a2b02a947-4.18.0-80.el8.x86_64" index=4 kernel="/boot/vmlinuz-0-rescue-d7fe995b9d09403896e1e56a2b02a947" args="ro crashkernel=auto resume=/dev/mapper/cl-swap rd.lvm.lv=cl/root rd.lvm.lv=cl/swap…

VIEW QUESTION

how to fix the weird error "Operation not permitted" – CentOS

[hadoop@worker-18 tmp]$ ./sysupdate -bash: ./sysupdate: Operation not permitted [hadoop@worker-18 tmp]$ chmod +x ./sysupdate [hadoop@worker-18 tmp]$ ./sysupdate -bash: ./sysupdate: Operation not permitted [hadoop@worker-18 tmp]$ sudo ./sysupdate sudo: unable to execute ./sysupdate: Operation not permitted [hadoop@worker-18 tmp]$ ls -l ./sysupdate -rwxrwxrwx 1…

VIEW QUESTION

CronTab Run only ONCE in a year – Debian

Here is my job 45 5 5 2 WED /usr/bin/python3 /home/pi/Saqib/RaspBerryPiAdhan/www/commands/player.py "/static/media/fajr1.mp3" "Office Ustairs speaker" Jobs looks fine, as I want it to run only once in a year...however i am using a module called "croniter"...and it seems like it…

VIEW QUESTION
Back To Top
Search