In this video, we will cover how to do simple scripting in Linux with Bash. We will learn about grep, cut, tr, for loops, if statements, and more.
Timestamps:
0:06 – Introduction & ping
3:10 – grep
3:46 – cut
5:15 – tr
5:50 – Writing a simple Bash ping script
11:20 – Improving our Bash script
14:15 – One line for loops
17:53 – Closing remarks
❓Info❓
___________________________________________
Hire me:
🔹The Cyber Mentor Merch🔹
___________________________________________
📱Social Media📱
___________________________________________
Website:
Twitter:
Twitch:
Discord:
LinkedIn:
💸Donate💸
___________________________________________
Like the channel? Please consider supporting me on Patreon:
Support the stream (one-time):
Hacker Books:
Penetration Testing: A Hands-On Introduction to Hacking:
The Hacker Playbook 3:
Hacking: The Art of Exploitation:
The Web Application Hacker’s Handbook:
Real-World Bug Hunting: A Field Guide to Web Hacking:
Social Engineering: The Science of Human Hacking:
Linux Basics for Hackers:
Python Crash Course, 2nd Edition:
Violent Python:
Black Hat Python:
My Build:
lg 32gk850g-b 32″ Gaming Monitor:
darkFlash Phantom Black ATX Mid-Tower Case:
EVGA 2080TI:
MSI Z390 MotherBoard:
Intel 9700K:
G.SKILL 32GB DDR4 RAM:
Razer Nommo Chroma Speakers:
Razer BlackWidow Chroma Keyboard:
CORSAIR Pro RBG Gaming Mouse:
Sennheiser RS 175 RF Wireless Headphones:
My Recording Equipment:
Panasonic G85 4K Camera:
Logitech C922x Pro Webcam:
Aston Origin Microphone:
Rode VideoMicro:
Mackie PROFX8V2 Mixer:
Elgato Cam Link 4K:
Elgate Stream Deck:
*We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.
Nguồn: https://codeigniterbrasil.com
Xem thêm bài viết khác: https://codeigniterbrasil.com/lap-trinh-linux/
Xem thêm Bài Viết:
- Hướng dẫn sử dụng hệ điều hành linux siêu tốc – bài 25 Xem cấu hình hệ thống (cpu, ram, hdd)
- Linux cat command summary with examples
- Cài nhiều hệ điều hành Windows và Linux trên một máy tính
- Hướng dẫn tạo USB Boot DLC2019 (NTFS / UEFI) Trên windows 10 ( sử dụng USB 32 GB )
- Hướng dẫn gỡ bỏ Ubuntu sạch sẽ nhất bằng lệnh trên Windows theo chuẩn UEFI-GPT
I completed this playlist just now. It was so simple and amazing.
for x in { 1..100} ; do
echo "Thanks a lot THE CYBER MENTOR"
done
Thanks from EGYPT guy
Good shit
I couldn't get the seq to work. I had to use this instead:
"for ip in {1..254}"
for ip in ${cat iplist.txt}; do nmap -s5 -p 80 -T4 $ip & done
bash: ${cat iplist.txt}: bad substitution
plz help i searched for the whole net their solutions are working on their systems but not mine
Brilliant tutorial sir. Thank you for the precise and concise delivery.
Thanks sir
well done very good content in all of your videos
this program also print statistics
at the end
Very clear explanation. thank you!!!!!!
nice tutorial
watching from work and home, found you yesterday via network chuck's channel – awesome content man – for each video echo "Thank you!" 🙂
this is some classic explanation about bash awesome stuff
ping: .seq: Name or service not known
great content and very good explanation. Thanks a lot
When I write up the bash script and try to run it, I get an error that says… ping: .seq: Name or service not known. Wondering if you could help. Thanks for the video.
Very well done sir. I'll be supporting you.
Really comprehensive run through the basics. Thanks, Mav!
Good content and explanation… keep posting such a nice videos….
In the hacking World which is better bash or python?
your channel is a treasure thank you
I plan to watch your videos every weekend. Awesome contents! Appreciate you Cyber Mentor:)
been watching your videos and it really helped me.. i appreciate your work and effort
#/bin/bash
for ip in seq 1-254'; do
ping -c 1 $1.$ip | grep "64 bytes" | cut -d " " -4 | tr -d ":" &
done
awesome
Hello, thanks for the video. Can you please zoom on the terminal for mobile users? It's a pain to read the screen like this. Thank you