Are you preparing for an SQL interview? This blog covers essential SQL interview questions and practical answers, from basic queries to complex JOINs and database operations. Strengthen your knowledge and increase your chances of success with this comprehensive guide.
Vim Cheat Sheet: Essential Commands for Linux Beginners
Unlock the potential of Vim! Dive into essential commands for beginners in Linux editing. Enhance your productivity with this versatile tool. Learn how to navigate, edit, and customize your files effortlessly
Detecting System Compromise: A Comprehensive Checklist for Linux Users (Part 1)
Security is paramount in our interconnected world. In this series, we’ll empower you to detect and prevent Linux system compromises. Part 1 covers essential checks to spot potential breaches.
Mastering Top 5 Skills For Tech Support Jobs with Upspir
Master the top 5 essential skills for a successful tech support career with UPSPIR. Enhance your technical foundation, communication, troubleshooting, time management, and exploration abilities to excel in this rapidly growing field. Start your journey today and unlock rewarding opportunities in the tech industry!
Vim Essentials: Tips and Tricks for Boosting Productivity
Do you spend a lot of time working in a command-line environment, editing and managing files using text editors? If so, then you know that having a good command over these tools can significantly increase your productivity and add value to your work. That’s where Vim comes in. If you’re new to Vim or just looking to brush up your skills, then come take a dive with me as we explore how Vim can benefit you and make your work more productive and enjoyable.
Basics of Computer Networking
Are you curious about the basics of computer networking and how it has transformed the way we communicate and share information? From sending emails to streaming videos, networking technology has become an integral part of our lives. From switches to routers to wireless access points, this blog post will cover it all. Join us as we explore the world of networking and its importance in our modern lives.
Setting Up a Local Yum Repository
Yum package manager allows users to install, update and remove software package in RedHat based linux systems, Yum uses repositories defined in yum.repos.d directory to download the packages and dependencies, in scenarios where public access is not available we can setup local yum repositories to ease the package management on our linux systems, In this blog we take a look at different options and steps to configure local yum repos.
The Benefits of a Career in Technical Support
Technical support job may not be the first choice that comes to mind when anyone considers getting into the tech industry, but it is a great career option. Here we are making a case for technical support jobs and why it is the perfect entry to the tech industry. If you are interested in starting your career in tech, you’re at the right place.
Using rsyslog with CLI
Refer to understanding linux logging for understaning more about syslogs and linux logging
Here we discuss about using rsyslog wih cli, and how it can be used to log messages through CLI and also send priority messages
Log Messages
We can run the command logger to log messages from command line
[root@midas rsyslog.d]# logger "hello this is the message"
[root@midas rsyslog.d]# cat /var/log/messages | grep hello
Sep 29 19:36:38 midas /usr/libexec/gdm-wayland-session[2503]: hello,, this is secured , please dont use if you dont have unauthorized access
Oct 1 21:50:36 midas root[4555]: hello this is the message
[root@midas rsyslog.d]#
Sending rsyslog messages with priority
Priority is a critical part of logging, we need to set the priority of the message basis its severity.
Emergency Priority
Messages with emergency priority are configured such as they get rerouted to console, terminals, and ssh sessions. rsyslog allows such messages to be sent through cli which allows them to be immediately viewed by the other uses.
Run the following command from any terminal
[root@midas rsyslog.d]# logger -p emerg "this is the emergency message"
You will get following message on all the terminals
[centos@midas ~]$
Broadcast message from systemd-journald@midas (Sat 2022-10-01 21:55:43 IST):
root[4607]: this is the emergency message
Message from syslogd@midas at Oct 1 21:55:43 ...
root[4607]:this is the emergency message
Understanding Linux Logging
Linux operating system is a popular choice for servers, logging of operating system, application, and base system events becomes crucial when hosting large commercial applications, Linux provides, multiple logging options, to help administrators and application support teams to record and track important events and assess the performance of he system and overall setup. here we will try to understand key logging features as made available by Linux OS