en
Feedback
π—–π—˜ - π—–π˜†π—―π—²π—Ώ π—˜π˜…π—½π—²π—Ώπ˜

π—–π—˜ - π—–π˜†π—―π—²π—Ώ π—˜π˜…π—½π—²π—Ώπ˜

Open in Telegram

⚠️ This Channel Does Not Promote Any Illegal Activities, It's Just For Fun And Educational Purpose.

Show more
1 000
Subscribers
No data24 hours
No data7 days
-1930 days
Posts Archive
πŸ“š A Quick Guide to Bash Special Variables: β€’ $1, $2, $3, ... These are the positional parameters, representing arguments passed to the script or function. $1 is the first argument, $2 is the second, and so on. β€’ "$@" An array-like construct containing all positional parameters. Each parameter is treated as a separate quoted string, preserving spaces. β€’ "$*" Expands all positional parameters as a single string, separated by the current Internal Field Separator (IFS). β€’ $# The number of positional parameters passed to the script or function. β€’ $- Displays the current shell options as a string (e.g., himBH for interactive, monitor mode, etc.). β€’ $$ The process ID (PID) of the current shell instance, not any subshell it may invoke. β€’ $_ Holds the last argument of the previous command or the absolute path of the shell script executed at startup. β€’ $IFS The Internal Field Separator, used to split input into fields during expansion. Defaults to spaces, tabs, and newlines. β€’ $? The exit status of the last executed command. A value of 0 typically means success, while non-zero indicates an error. β€’ $! The PID of the most recently executed background command. β€’ $0 The name of the script or shell being executed, including its path if run with one.

🐧 Quick Linux tip: When you need to create several directories at once, you don’t have to do it one by one. The mkdir comman
🐧 Quick Linux tip:
When you need to create several directories at once, you don’t have to do it one by one.
The mkdir command supports brace expansion, letting you create multiple nested directories in a single go.
$ mkdir -p ~/scripts/{site-01,site-02}/{backup,monitoring,network}
This instantly creates folders for two sites, each with its own backup, monitoring, and network directories. A neat way to save time and keep your directory structure organized.

This hierarchy map is your cheat sheet to the Linux filesystem.
This hierarchy map is your cheat sheet to the Linux filesystem.

πŸ“ This Is The Official Coding Expert Folder ❀️ It includes group and channel links related to:
β€’ Coding & Programming Resources β€’ AI (Artificial Intelligence) β€’ Hacking & Cybersecurity β€’ Chess Content & Stories β€’ Coding News & Updates β€’ Courses, Guides & Learning Materials
πŸ”— Folder Link: https://t.me/addlist/zvD9wng0mJFlNTk1 If you also want to add Your own group or channel to this folder, feel free to DM: @lalitjangra142

Cyber Storm Force – Team Join @CyberStormForce is inviting people who want to support cyber safety and online reporting work. Your role will be limited to: β€’ Reporting illegal Telegram channels and bots β€’ Assisting with Telegram and email-based reports This is a voluntary public service role. No salary or payment is involved. If you wish to join, message @lalitjangra142 with: Name | Email | Mobile number | Reason for joining Only serious and responsible people should contact.

πŸ“š Bash Scripting basics: Understanding (), {}, [], $(), $(()), ${}, and [[]]
πŸ“š Bash Scripting basics: Understanding (), {}, [], $(), $(()), ${}, and [[]]

πŸ“Our Coding Expert Folder  πŸ”—Link: https://t.me/addlist/zvD9wng0mJFlNTk1 Contact to add your channel or group to our folder. Entry fee: β‚Ή99/- πŸ”₯ Contact: @CodingExpertAdminsBot

πŸ”₯ 5TB+ PREMIUM DIGITAL BUNDLE ❀️‍πŸ”₯ 😣 Get everything you need in one powerful bundle
πŸ“Ή Video Editing Course πŸ“Š Trading & Crypto Trading Course πŸ—£οΈ English Speaking Course πŸ“š E-Books + Handwritten Notes πŸ’» Coding Big Projects + Source Codes πŸ€– Telegram Bot Codes & Scripts 🎨 Icon Packs + Telegram & Blog Themes πŸ“± 47+ Premium Apis 🧠 Skill-Based & Paid Courses πŸ› οΈ Tools, Templates & Resources 🎁 Bonus: CET Token β€’ Current Value: β‚Ή27/-
ο»Ώ πŸ’° Price: ONLY β‚Ή199/- πŸ’³ Payment Methods: UPI | Google Play Redeem Code | Crypto πŸ’Œ DM to Buy: @lalitjangra142

πŸ”° Quick Linux Tip🐧 You can enable timestamps in your bash command history to see when you ran previous commands. This can b
πŸ”° Quick Linux Tip🐧 You can enable timestamps in your bash command history to see when you ran previous commands. This can be useful for tracing what you were working on and when. To add timestamps to your history, just set the HISTTIMEFORMAT environment variable like so: $ export HISTTIMEFORMAT="%F %T " Now when you view your history or grep through it, you'll see a timestamp next to each command indicating when it was run: $ history | tail -n 5 Or to save a couple of keystrokes: $ history 5 The format "%F %T" shows the date and time, but you can customize it to your liking. Note: This does not put historical timestamps on commands you executed before setting HISTTIMEFORMAT and also this only works in bash.

πŸ”° Understanding Linux System Logs System logs, often found in /var/log directory in Linux systems, are essential for monitor
πŸ”° Understanding Linux System Logs
System logs, often found in /var/log directory in Linux systems, are essential for monitoring and troubleshooting system issues. Here are short notes on some common system logs:
syslog: A general-purpose system log file that contains messages from various system services and applications. It's the main log file that many other logs feed into. auth.log: Records authentication-related messages, including successful and failed login attempts, password changes, and user authentication events. kern.log: Logs kernel-related messages, such as hardware errors, kernel module loading, and other kernel activities. messages: A catch-all log file that records various system messages, including system startups, shutdowns, and general system-related events. dmesg: Displays kernel ring buffer messages, providing a real-time view of kernel-related events and hardware detection during system boot-up. cron: Logs messages related to cron jobs and scheduled tasks, including when they run, and any errors encountered during execution. secure: Records security-related messages, including authentication attempts, privilege escalation, and other security-related events. apache/access.log and apache/error.log: These logs are specific to the Apache web server. access.log records HTTP access logs, while error.log logs Apache server errors and warnings. nginx/access.log and nginx/error.log: Similar to Apache logs, these logs are specific to the Nginx web server and record access and error events. mysql/error.log: Records errors and warnings encountered by the MySQL database server, including startup errors, query failures, and database crashes.
These logs provide valuable insights into system performance, security events, and troubleshooting information. Regularly monitoring and analyzing these logs can help maintain system health and identify potential issues before they escalate