Forwarded from Geeky Career (Mohammad Moallemi)
#linux #terminal #bash
How to get process PIDs?
The
https://linuxize.com/post/pgrep-command-in-linux/
How to get process PIDs?
pgrep <process_name>
e.g.pgrep python
pgrep
is a command-line utility that allows you to find the process IDs of a running program based on given criteria. It can be a full or partial process name, a user running the process, or other attributes.The
pgrep
command is a part of the procps
(or procps-ng
) package, which is pre-installed on nearly all Linux distributions.https://linuxize.com/post/pgrep-command-in-linux/
Forwarded from Programming Resources via @like
A collection of modern/faster/saner alternatives to common unix commands.
مجموعهای از ابزارهای بهتر و سریعتر که میشه از اونها به عنوان جایگزین خیلی از دستورات پیشفرض لینوکس استفاده کرد.
#terminal #tools #modern #unix #linux #cli #shell #command_line #command
@pythony
https://github.com/ibraheemdev/modern-unix
مجموعهای از ابزارهای بهتر و سریعتر که میشه از اونها به عنوان جایگزین خیلی از دستورات پیشفرض لینوکس استفاده کرد.
#terminal #tools #modern #unix #linux #cli #shell #command_line #command
@pythony
https://github.com/ibraheemdev/modern-unix
Forwarded from Geeky Career (Mohammad Moallemi)
#bash #linux
How can I check if a program exists from a Bash script?
@Geeky_Career
How can I check if a program exists from a Bash script?
command -v <the_command>
https://stackoverflow.com/questions/592620/how-can-i-check-if-a-program-exists-from-a-bash-script@Geeky_Career
Stack Overflow
How can I check if a program exists from a Bash script?
How would I validate that a program exists, in a way that will either return an error and exit, or continue with the script?
It seems like it should be easy, but it's been stumping me.
It seems like it should be easy, but it's been stumping me.
Forwarded from Geeky Career (Mohammad Moallemi)
#bash #linux #scripting
How To Exit When Errors Occur In Bash Scripts
https://intoli.com/blog/exit-on-errors-in-bash-scripts/
@Geeky_Career
How To Exit When Errors Occur In Bash Scripts
https://intoli.com/blog/exit-on-errors-in-bash-scripts/
@Geeky_Career
Forwarded from Programming Resources via @like
Test your shell knowledge with this awesome challenge.
مهارتهای shell خود را با این بازی آنلاین محک بزنید.
#shell #bash #command #line #challenge #practice #terminal #linux #game #gamification #fun
@pythony
cmdchallenge.com
مهارتهای shell خود را با این بازی آنلاین محک بزنید.
#shell #bash #command #line #challenge #practice #terminal #linux #game #gamification #fun
@pythony
cmdchallenge.com
Forwarded from برنامه نویسی با علیرضا
This media is not supported in your browser
VIEW IN TELEGRAM
jless — a command-line JSON viewer
خیلی باحال میتونید داخل ترمینال یه جیسون ویور داشته باشید :)🔥
🔹 linux
🔸 mac
🔗 jless.io
#json #linux
@alirezabashi_98 🚀
خیلی باحال میتونید داخل ترمینال یه جیسون ویور داشته باشید :)🔥
🔹 linux
🔸 mac
🔗 jless.io
#json #linux
@alirezabashi_98 🚀
🔥6👍3
Forwarded from Woland's Linux Journal (Woland)
اگر با هیچکدوم از ادیتورهای ترمینالی لینوکس یا یونیکس راحت نیستین، ne شاید براتون مناسب باشه.
این ادیتور یک برنامه سبک و سادهس که با C نوشته شده و شورتکاتهای آشنا و مرسوم برنامههای داس و ویندوز رو استفاده میکنه.
مثل Ctrl S برای ذخیره کردن، Ctrl W برای بستن صفحه، Ctrl Q برای خارج شدن و غیره ...
همچنین ne از ماکرو، رجکس، سینتکس و تمام قابلیتهای لازم یه ادیتور پشتیبانی میکنه.
نصبش به سادگی کلون کردن مخزن و اجرای دستور sudo make install است.
توی AUR هم طبیعتا هست😉
👈 🔗 لینک مخزن
👈 🔗 لینک سایت
👈 🔗 لینک راهنما
#معرفی #linux #لینوکس
این ادیتور یک برنامه سبک و سادهس که با C نوشته شده و شورتکاتهای آشنا و مرسوم برنامههای داس و ویندوز رو استفاده میکنه.
مثل Ctrl S برای ذخیره کردن، Ctrl W برای بستن صفحه، Ctrl Q برای خارج شدن و غیره ...
همچنین ne از ماکرو، رجکس، سینتکس و تمام قابلیتهای لازم یه ادیتور پشتیبانی میکنه.
نصبش به سادگی کلون کردن مخزن و اجرای دستور sudo make install است.
توی AUR هم طبیعتا هست😉
👈 🔗 لینک مخزن
👈 🔗 لینک سایت
👈 🔗 لینک راهنما
#معرفی #linux #لینوکس
👍3
اگه دوست دارید با لینوکس بیشتر آشنا بشین این ویدیو رو توصیه میکنم.
خیلی خلاصه و مختصر از تاریخچه تا فرق کرنل و یوزر اسپیس و جایگاه گنو و .. رو توضیح میده.
https://www.youtube.com/watch?v=LKCVKw9CzFo
خیلی خلاصه و مختصر از تاریخچه تا فرق کرنل و یوزر اسپیس و جایگاه گنو و .. رو توضیح میده.
https://www.youtube.com/watch?v=LKCVKw9CzFo
YouTube
100+ Linux Things you Need to Know
Get the full Linux course at https://bit.ly/4crDqtb
Learn 101 essential concepts in Linux in 10 minutes. What is the Linux kernel? What is GNU? What is the best Linux distro? And many other important questions answered.
#linux #programming #101
💬 Chat…
Learn 101 essential concepts in Linux in 10 minutes. What is the Linux kernel? What is GNU? What is the best Linux distro? And many other important questions answered.
#linux #programming #101
💬 Chat…
❤4👍1