Tech enthusiast and a seasoned Cloud Infrastructure Expert with extensive experience in Linux and containers. With a deep passion for cutting-edge technologies and a drive to optimize digital ecosystems.
In this tutorial, we will explore how to use sed (stream editor) with examples in the Markdown language. sed is a powerful command-line tool for text manipulation and is widely used for tasks such as search and replace, line filtering, and text transformations. What is described below barely scratches the surface what sed can do.
Before we begin, make sure sed is installed on your system. It usually comes pre-installed on Unix-like systems (e.g., Linux, macOS). To check if sed is installed, open your terminal and run the following command:
On August 1, 2023, the free tier for the Amazon Simple Email Service (SES) will change. We are adding more features to the SES free tier: it now includes more outbound email message sources, SES’ new Virtual Deliverability Manager, and a higher limit for receiving inbound messages. We are also lowering the free tier limit for outbound messages and reducing the duration of the SES free tier to 12 months.
This may affect your bill starting in August 2023. Since you are already using SES, you will be able to take advantage of the revised free tier for another 12 months (until August 2024). Based on your SES usage in May 2023, this change would not have affected your SES bill.
Note this is an estimate based on your usage, and actual billing impact may vary depending on your usage patterns each month and any discounts you may have.
The revised SES free tier offers you more flexibility. Previously, the SES free tier included up 1,000 inbound email messages per month and up to 62,000 outbou
The bridge collapsed overnight near Columbus, Montana causing several train cars to be immersed in the Yellowstone River.
Portions of a freight train plunged into the Yellowstone River due to bridge collapse. (Image: AP)
A bridge that crosses the Yellowstone River in Montana collapsed early Saturday, plunging portions of a freight train carrying hazardous materials into the rushing water below.
The train cars were carrying hot asphalt and molten sulfur, Stillwater County Disaster and Emergency Services said. Officials shut down drinking water intakes downstream while they evaluated the danger after the 6 a.m. accident. An Associated Press reporter witnessed a yellow substance coming out of some of the tank cars.
David Stamey, the county’s chief of emergency services, said there was no immediate danger for the crews working at the
Biden reiterated that the friendship between America and India is among the most consequential among partnerships and has now turned out to be stronger.
Biden reiterated that the friendship between America and India is among the most consequential among partnerships and has now turned out to be stronger.
President Biden asserted that US-India friendship among most consequential in the world | Image: AP/PTI
After Prime Minister Narendra Modi's US visit, President Joe Biden on Sunday reiterated that the friendship between America and India is among the most consequential partnerships globally and has now turned out to be stronger and more dynamic than ever. Responding to the US President, Prime Minister Modi affirmed the power of friendship between the two nations. In PM Modi's historic three-day State visit, India and America signed several major deals to boost cooperation in key areas such as defence, space, and trade with an aim to further elevate their partnership.
In this tutorial, we will walk through the process of using the grep command to filter Nginx logs based on a given time range. grep is a powerful command-line tool for searching and filtering text patterns in files.
Step 1: Access the Nginx Log Files
First, access the server or machine where Nginx is running. Locate the log files that you want to search. Typically, Nginx log files are located in the /var/log/nginx/ directory. The main log file is usually named access.log. You may have additional log files for different purposes, such as error logging.
Step 2: Understanding Nginx Log Format
To effectively search through Nginx logs, it is essential to understand the log format. By default, Nginx uses the combined log format, which consists of several fields, including the timestamp. The timestamp format varies depending on your Nginx configuration but is usually in the following format: `[day/month/year:hour:minute
In this tutorial, we will walk through the process of using the grep command to filter Nginx logs based on a given time range. grep is a powerful command-line tool for searching and filtering text patterns in files.
Step 1: Access the Nginx Log Files
First, access the server or machine where Nginx is running. Locate the log files that you want to search. Typically, Nginx log files are located in the /var/log/nginx/ directory. The main log file is usually named access.log. You may have additional log files for different purposes, such as error logging.
Step 2: Understanding Nginx Log Format
To effectively search through Nginx logs, it is essential to understand the log format. By default, Nginx uses the combined log format, which consists of several fields, including the timestamp. The timestamp format varies depending on your Nginx configuration but is usually in the following format: [day/month/year:hour:minute:second timezone].
Despite his active war-mongering and mass killing of civilians in the name of drone attacks against terror groups, Barack Obama was awarded the Nobel Peace Prize in 2009.
On Thursday (June 22), former US President Barack Obama courted controversy by virtue-signalling India about its ‘human rights’ record.
Obama, who has a notorious record as a potential war criminal, suggested that the Indian Prime Minister must be told by the Biden administration about protecting the ‘Muslim minority in a majority Hindu India.’ He also hinted at another ‘partition’ if India, under the Modi government, did not mend its ways.
The former US President made the contentious remarks during an interview with CNN news host Christiane Amanpour, just hours before PM Modi made his historic address at the joint session of the US Congress.
Despite his active war-mongering and mass killing of civilians in the name of drone attacks against terror groups, Barack Obama was awarded the Nobel Peace Prize in 2009.
On Thursday (June 22), former US President Barack Obama courted controversy by virtue-signalling India about its ‘human rights’ record.
Obama, who has a notorious record as a potential war criminal, suggested that the Indian Prime Minister must be told by the Biden administration about protecting the ‘Muslim minority in a majority Hindu India.’ He also hinted at another ‘partition’ if India, under the Modi government, did not mend its ways.
The former US President made the contentious remarks during an interview with CNN news host Christiane Amanpour, just hours before PM Modi made his historic address at the joint session of the US Congress.
Despite his active war-mongering and mass killing of civilians in the name of drone attacks against terror groups, Barack Obama was awarded the Nobel Peace Prize in 2009.
On Thursday (June 22), former US President Barack Obama courted controversy by virtue-signalling India about its ‘human rights’ record.
Obama, who has a notorious record as a potential war criminal, suggested that the Indian Prime Minister must be told by the Biden administration about protecting the ‘Muslim minority in a majority Hindu India.’ He also hinted at another ‘partition’ if India, under the Modi government, did not mend its ways.
The former US President made the contentious remarks during an interview with CNN news host Christiane Amanpour, just hours before PM Modi made his historic address at the joint session of the US Congress.
He said, “If President (Joe Biden) meets with Prime Minister (Narendra) Modi, the protection
In Linux, you can execute multiple commands simultaneously by running them in parallel. This can help improve the overall execution time and efficiency of your tasks. In this tutorial, we will explore different methods to run commands in parallel in a Linux environment.
Method 1: Using & (ampersand) symbol
The simplest way to run commands in parallel is by appending the & symbol at the end of each command. Here's how you can do it:
bash
command_1 & command_2 & command_3 &
This syntax allows each command to run in the background, enabling parallel execution. The shell will immediately return the command prompt, and the commands will execute concurrently.
For example, to compress three different files in parallel using the gzip command:
In Linux, you can execute multiple commands simultaneously by running them in parallel. This can help improve the overall execution time and efficiency of your tasks. In this tutorial, we will explore different methods to run commands in parallel in a Linux environment.
Method 1: Using & (ampersand) symbol
The simplest way to run commands in parallel is by appending the & symbol at the end of each command. Here's how you can do it:
bash
command_1 & command_2 & command_3 &
This syntax allows each command to run in the background, enabling parallel execution. The shell will immediately return the command prompt, and the commands will execute concurrently.
For example, to compress three different files in parallel using the gzip command:
"Being a small nation like Maldives, I sincerely value the support of the Indian NCC," said Brigadier General Wais Waheed, Commandant of Maldives Marine Corps.
"Being a small nation like Maldives, I sincerely value the support of the Indian NCC," said Brigadier General Wais Waheed, Commandant of Maldives Marine Corps.
Brigadier General Wais Waheed, Commandant of Maldives the Marine Corps, seeks Indian help to enchance Maldives defence capabilities (Image:PIB, MNDF)
Maldives has sought India’s help in training its cadets and for acquiring equipment for its forces. Maldives Marine Corps Commandant Brigadier General Wais Waheed on Thursday (June 22, 2023) requested assistance for the same from India’s Director General of the NCC, Lieutenant General Gurbirpal Singh.
"As a small country like the Maldives, I would greatly appreciate any assistance that the Indian NCC can provide us in terms of training, resources, and structural reforms," stated Brigadier General Waheed.
The agreement involves the potential joint production of GE Aerospace's F414 engines in India, supporting the IAF's LCA Tejas MK2.
General Electric (GE) Aerospace has signed a memorrandum of Understanding (MOU) with Hindustan Aeronautics Limited (HAL) to produce fighter jet engines for the Indian Air Force (IAF). The agreement involves potential joint production of GE Aerospace's F414 engines in India, supporting the Light Combat Aircraft (LCA) Tejas Mk2 program.
This partnership strengthens defence collaboration between the US and India, aligning with President Biden and Prime Minister Narendra Modi's vision of closer coordination. This is a major milestone amid PM Modi's historic trip to the US. GE Aerospace has a long-standing presence in India and aims to create a family of products, including the F404 engine, and
Frank Kendall gave the opening address and said Indo-US ties are growing, & asserted there was enormous potential for startups of both nations to collaborate.
Frank Kendall gave the opening address and said Indo-US ties are growing, & asserted there was enormous potential for startups of both nations to collaborate.
The India-US Defence Acceleration Ecosystem was launched at an event in Washington DC, US, on Wednesday, June 21. The INDUS-X event was co-organised by Innovations for Defence Excellence (iDEX), the Ministry of Defence and the US Department of Defence. It was hosted by the US-India Business Council.
A reception for Indian and US government representatives, defence startups, think tanks, incubators, investors, industries, and other stakeholders was organised on June 20. US Ambassador to India Eric Garcetti gave the keynote address during the reception and said that due to their shared diplomatic ideals, similar political views, and strong inter-ethnic ties, India and the
yaḥ—who; mām—me; evam—thus; asammūḍhaḥ—without a doubt; jānāti—know; puruṣha-uttamam—the Supreme Divine Personality; saḥ—they; sarva-vit—those with complete knowledge; bhajati—worship; mām—me; sarva-bhāvena—with one’s whole being; bhārata—Arjun, the son of Bharat
Translation
O scion of the Bharata dynasty, he who, being free from delusion, knows Me the supreme Person thus, he is all-knowing and adores Me with his whole being.
Sikh devotees light candles at the Golden Temple in Amritsar, India, on June 25, 2021. (Narinder Nanu/AFP via Getty Images)
India’s massive population is diverse as well as devout. Not only do most of the world’s Hindus, Jains and Sikhs live in India, but it also is home to one of the world’s largest Muslim populations and to millions of Christians and Buddhists.
A new Pew Research Center report, based on a face-to-face survey of 29,999 Indian adults fielded between late 2019 and early 2020 – before the COVID-19 pandemic – takes a closer look at religious identity, nationalism and tolerance in Indian society. The survey was conducted by local interviewers in 17 languages
“India Global Forum’s annual UK-India Week is a highly anticipated fixture in the bilateral calendar of our two great nations,” said UK PM Rishi Sunak.
Link Actions
“India Global Forum’s annual UK-India Week is a highly anticipated fixture in the bilateral calendar of our two great nations,” said UK PM Rishi Sunak.
British Prime Minister Rishi Sunak on Wednesday said he is confident that the India-UK partnership will be a "defining one for our times", as he extended support to the upcoming UK-India Week. Sunak, then UK Chancellor of the Exchequer, was a special guest at the UK-India Awards during last year’s summit when he first spoke about his own Indian heritage and commitment to British Indian values.
In a statement from Downing Street, the 43-year-old leader described the annual event as a catalyst for forging new trade ties and long-term collaborations. “India Global Forum’s annual UK-India Week is a highly anticipated fixture in the bilateral calendar of our two great nations,” said Sunak.
“It is a catalyst for forging new trade ties, lasting collaborations, a
The Upanishads are a collection of ancient philosophical and spiritual texts that form the core teachings of Hinduism. These texts are considered the culmination of Vedic knowledge and are revered for their profound insights into the nature of existence, consciousness, and the ultimate reality. The word "Upanishad" is derived from the Sanskrit root words "upa" (near), "ni" (down), and "shad" (to sit), implying the act of sitting close to a spiritual teacher to receive esoteric knowledge.
Significance of the Upanishads
The Upanishads occupy a central position in Hindu philosophy and have influenced various schools of thought, including Vedanta, Yoga, and Buddhism. These texts delve into profound metaphysical and spiritual concepts, exploring the nature of the self (Atman), the ultimate reality (Brahman), and the interconnectedness of all things. They offer profound meditations on the nature of existence, the purpose of life, and the path to spiritual l
grep is a powerful command-line tool used for searching and filtering text in files. It allows you to find specific patterns or strings within files, making it an invaluable tool for developers, sysadmins, and anyone working with text data. In this guide, we will cover the basics of using grep and provide you with some useful examples to get started.
Installation
grep is a standard utility on most Unix-like systems, including Linux and macOS. If you're using a Windows operating system, you can install it by using the Windows Subsystem for Linux (WSL) or through tools like Git Bash, Cygwin, or MinGW.
Basic Usage
The basic syntax of grep is as follows:
undefined
grep [options] pattern [file(s)]
options: Optional flags that modify the behavior of grep.
pattern: The pattern or regular expression to search for.
grep is a powerful command-line tool used for searching and filtering text in files. It allows you to find specific patterns or strings within files, making it an invaluable tool for developers, sysadmins, and anyone working with text data. In this guide, we will cover the basics of using grep and provide you with some useful examples to get started.
Installation
grep is a standard utility on most Unix-like systems, including Linux and macOS. If you're using a Windows operating system, you can install it by using the Windows Subsystem for Linux (WSL) or through tools like Git Bash, Cygwin, or MinGW.
Basic Usage
The basic syntax of grep is as follows:
undefined
grep [options] pattern [file(s)]
options: Optional flags that modify the behavior of grep.
pattern: The pattern or regular expression to search for.