Proxychains: command မတွေ့ပါ — proxychains4 နှင့် PATH ကို စစ်ဆေးပါ
ထည့်သွင်းထားသော binary အမည်နှင့် PATH ကို စစ်ဆေးပြီး ပျောက်နေသော Proxychains wrapper command ကို ဖြေရှင်းကာ compatibility alias ဖန်တီးပါ။
proxychains-ng ၏ upstream build သည် ၎င်း၏ wrapper ကို proxychains4 ဟု အမည်ပေးသည်။ ထို့ကြောင့် proxychains: command not found ဟု ပြသနေသော shell သည် ထည့်သွင်းထားသည့် အမည်နှင့် မတူသော အမည်ကို ရှာဖွေနေနိုင်သည်။
command -v proxychains4
command -v proxychains
proxychains4 ရှိလျှင် ထို executable ကို တိုက်ရိုက် အသုံးပြုပါ:
proxychains4 curl https://www.example.com/
proxy configuration သည် ဤ invocation အတွက် လမ်းကြောင်းကို ဆက်လက် သတ်မှတ်သည်။ command အမည် ဖြေရှင်းနိုင်ခြင်းသည် endpoint အလုပ်လုပ်သည်ဟု သက်သေမပြပါ။
command နှစ်ခုလုံး မတွေ့ပါက ထည့်သွင်းထားသော package ၏ file list သို့မဟုတ် လက်ရှိ installation အသုံးပြုသည့် prefix ကို စစ်ဆေးပါ။ ၎င်း၏ executable directory သည် PATH တွင် မရှိနိုင်ပါ။ upstream ၏ default prefix သည် distribution package သို့မဟုတ် အခြား machine အတွက် အာမခံချက် မဟုတ်ပါ။
အသုံးပြုသူ shell ရှိ alias သည် အမှန်တကယ် command ကို သိပြီးနောက် ဟောင်းသော interactive စာလုံးပေါင်းကို ထိန်းသိမ်းနိုင်သည်။ Scripts သည် ထို alias ကို မဖြစ်မနေ load မလုပ်ပါ။ ထိုနေရာတွင် အမှန်တကယ် executable အမည် သို့မဟုတ် ရှင်းလင်းစွာ စီမံထားသော compatibility wrapper ကို အသုံးပြုပါ။
/usr/bin/proxychains4 သို့ hard-code လုပ်ထားသော symlink သည် ထို target အမှန်တကယ် ရှိမှသာ အထောက်အကူပြုသည်။ မထည့်မီ binary အမည်နှင့် လမ်းကြောင်းကို စစ်ဆေးပါ။