rpcbind fails to start

rpcbind fails to start during boot. when I try to start rpcbind through terminal it displays the below status rpcbind.service – RPC bind portmap service Loaded: loaded (/lib/systemd/system/rpcbind.service; enabled; vendor preset: enabled) Active: activating (start) since Sun 2020-01-12 02:14:56 CET; 4s ago Docs: man:rpcbind(8) Main PID: 16744 (rpcbind) Tasks: 1 (limit: 4915) Memory: 588.0K CPU:…

Details

Loop through variable in bash using “2” variables

So I know how to loop through 1 variable: folder=”(first|second|third)” for i in “${folder[@]}”; do rclone move /mounts/$folder/cache done But how to do it when they are 2? folder=”(first|second|third)” mount=”(something1|something2|something3)” for i in “${folder[@]}”; do rclone move /mounts/$folder/cache $mount done So script should loop each folder with correct mount added. At the end, execution should…

Details

Webscrape stock data

I am trying to webscrape the sector weights and holdings from yahoo finance for a given etf/mutual fund. I am having trouble identifying what to find when using BeautifulSoup. For example: import bs4 as bs import urllib.request ticker=’SPY’ address=(‘https://finance.yahoo.com/quote/’+ticker+ ‘/holdings?p=’+ticker) source = urllib.request.urlopen(address).read() soup = bs.BeautifulSoup(source,’lxml’) sector_weights = soup.find() I can read the address fine…

Details