How do I Exit a Bash Script?

Posted: 2021-10-28 08:56:19
Source: https://linuxhint.com/exit-bash-script/

Sometimes, we have to quit your bash script upon some inconvenience. There are many methods to quit the bash script. The read statement is widely known to get input from the user. One of the many known methods to exit a bash script while writing is the simple shortcut key. How to exit a Bash Script is explained in this article.

C++ pragma directive

Posted: 2021-10-28 07:41:39
Source: https://linuxhint.com/pragma-directive-c/

Pragma is a compiler directive that allows us to add additional information to the compiler to compile the code effectively. These details are unable to pass by arguments in the program or through the logic of a code. These derivatives are responsible for carrying a special purpose and turning on or off the feature inside the program. The working of the pragma directive in C++ is discussed in this article.

How to Install and Configure Cacti on Ubuntu 20.04

Posted: 2021-10-28 05:48:26
Source: https://linoxide.com/install-and-configure-cacti-on-ubuntu/

What is a PCIe Switch?

Posted: 2021-10-28 05:21:36
Source: https://linuxhint.com/pcie-switch/

PCIe switches are devices that expand the number of PCIe lanes than what is available from a host device so that more devices can be supported, overcoming the host’s limited number of lanes. PCIe switch basically functions as I/O controller and magnifies the host devices’ capabilities to support more devices.

Ruby String Replace

Posted: 2021-10-28 04:26:36
Source: https://linuxhint.com/ruby-string-replace/

A fundamental method to search and replace a string is using regular expressions. RegEx is powerful in finding patterns, filtering, and more. The simplest way to replace a string in Ruby is to use the substring replacement. In this article, we will discuss various ways to manipulate strings in Ruby.

What is the Difference Between Printf and Echo in Bash?

Posted: 2021-10-28 03:35:59
Source: https://linuxhint.com/printf-vs-echo-bash/

Printf provides for creating a formatting string and offers a non-zero quit status when it fails. Whereas echo normally leaves with a 0 status and typically outputs inputs headed by the end of line character upon this standard result. The “printf” gives you more options for the output format than the “echo”. The Difference Between Printf and Echo in Bash is discussed in this article.

Ruby String Concatenation

Posted: 2021-10-28 03:13:10
Source: https://linuxhint.com/ruby-string-concatenation/

String concatenation refers to the process of combining multiple strings into a single string entity. Strings allow you to accept input from the users and display information to the users. In this article, we will discuss and help you to understand how to create strings, print strings, and string concatenation.

Python List Pop

Posted: 2021-10-28 03:09:53
Source: https://linuxhint.com/list-pop-python/

Sometimes, a programmer needs to remove the very last item from a list. The pop() method eliminates and returns the final item of the list if there is no index. Pop is a built-in method in the Python language that may be used to eliminate an item from a list. The pop() method returns the removed item after removing an element from a given place in a list. How to use list pop in Python is explained in this article.

How to Use Modulus in Bash?

Posted: 2021-10-28 02:57:39
Source: https://linuxhint.com/modulus-bash/

The modulo operator is widely known to determine the remainder of two values upon division. This mathematical operator can also be used in the bash script. How a modulo operator can be used in bash in different ways is explained in this article.

Distribution Release: Trisquel GNU/Linux 9.0.1

Posted: 2021-10-27 22:02:09
Source: http://distrowatch.com/11383

Trisquel GNU/Linux is a 100% libre Ubuntu-based Linux distribution. The project has published a new update to its 9.0 series. The new media mostly offers security fixes, particularly dealing with out of date certificates. The new 9.0.1 media also removes some binary blobs found in the Linux kernel.....

Distribution Release: Trisquel GNU/Linux 9.0.1

Posted: 2021-10-27 22:02:09
Source: https://distrowatch.com/11383

Trisquel GNU/Linux is a 100% libre Ubuntu-based Linux distribution. The project has published a new update to its 9.0 series. The new media mostly offers security fixes, particularly dealing with out of date certificates. The new 9.0.1 media also removes some binary blobs found in the Linux kernel.....

Bash Split String into Array

Posted: 2021-10-27 17:46:31
Source: https://linuxhint.com/split-string-array-bash/

While working on a bash script in a Linux system, sometimes we have to split string values into arrays or other data structures. Bash doesn’t provide us with the built-in split function to split any string. How to Split String into Array in Bash is explained in this article.

Understanding the difference between Laptop, Ultrabook, Notebook, and Chromebook

Posted: 2021-10-27 16:38:39
Source: https://linuxhint.com/differentiate-laptop-ultrabook-notebook-chromebook/

A laptop is a portable computer. Most people get lost in the terminologies when looking to purchase a new laptop. It's the integrated technology and specifications that set them apart from one another. There are laptops, and there are similar-looking notebooks and ultrabooks. The difference between Laptop, Ultrabook, Notebook, and Chromebook is discussed in this article.

Intel Core i9 11900K: Five Linux Distros Show Sizable Lead Over Windows 11

Posted: 2021-10-27 16:24:00
Source: https://linux.slashdot.org/story/21/10/27/1625217/intel-core-i9-11900k-five-linux-distros-show-sizable-lead-over-windows-11?utm_source=atom1.0mainlinkanon&utm_medium=feed

Phoronix: Now that Windows 11 has been out as stable and the initial round of updates coming out, I've been running fresh Windows 11 vs. Linux benchmarks for seeing how Microsoft's latest operating system release compares to the fresh batch of Linux distributions. First up is the fresh look at the Windows 11 vs. Linux performance on an Intel Core i9 11900K Rocket Lake system. Microsoft Windows 11 Pro with all stable updates as of 18 October was used for this round of benchmarking on Intel Rocket Lake. The Windows 11 performance was being compared to all of the latest prominent Linux distributions, including: Ubuntu 20.04.3 LTS, Ubuntu 21.10, Arch Linux (latest rolling), Fedora Workstation 35, Clear Linux 35150. All the testing was done on the same Intel Core i9 11900K test system at stock speeds (any frequency differences reported in the system table come down to how the information is exposed by the OS, i.e. base or turbo reporting) with 2 x 16GB DDR4-3200 memory, 2TB Corsair Force MP600 NVMe solid-state drive, and an AMD Radeon VII graphics card. Each operating system was cleanly installed and then run at its OS default settings for seeing how the out-of-the-box OS performance compares for these five Linux distributions to Microsoft Windows 11 Pro. But for the TLDR version... Out of 44 tests run across all six operating systems, Windows 11 had just three wins on this Core i9 11900K system. Meanwhile Intel's own Clear Linux platform easily dominated with coming in first place 75% of the time followed by Fedora Workstation 35 in second place with first place finishes 9% of the time. The geometric mean for all 44 tests showed Linux clearly in front of Windows 11 for this current-generation Intel platform. Ubuntu / Arch / Fedora were about 11% faster overall than Windows 11 Pro on this system. Meanwhile, Clear Linux was about 18% faster than Windows 11 and enjoyed about 5% better performance overall than the other Linux distributions.

Read more of this story at Slashdot.

How to install MX Linux 21

Posted: 2021-10-27 16:01:34
Source: https://www.youtube.com/watch?v=dFE0d52EJ1Y

How Can You Install Google Chrome Browser on Debian?

Posted: 2021-10-27 16:00:00
Source: https://www.linuxjournal.com/content/how-can-you-install-google-browser-debian

How Can You Install Google Chrome Browser on Debian?

Google Chrome is a widely used web browser in the world. Google Chrome is fast and secure as well. However, it is not an open-source web browser. Hence, Debian comes with a pre-loaded Chromium browser, and not a Chrome. Chromium is an open-source browser.

If you still want to install the Google Chrome browser on Linux, this article is for you. Installing Chrome on Linux has a little twist as it’s not an open-source browser. So let’s check out how you can easily install Chrome browser from a Linux terminal.

Google Chrome Privacy Concerns

The source code of Google Chrome is free software. But, the binaries which Chrome is distributed with come under a restrictive BSD license. In Linux, a Google Chrome web browser is included as a pre-compiled RPM or DEB package. You need the root access to install Google Chrome from a RPM or DEB package.

The Linux Package Signing Key within an apt key ring gives Google a path to install anything virtually into the user's OS. This is done through the google-chrome-stable package because no additional involvement of the system administrator is required while updating this package in future. 

What You Need to Install Chrome

  • Login as sudo user.

  • Pre-installed wget package.

Installing Google Chrome Browser on Linux

Now I’ll guide you through the steps to install the Google Chrome browser on your Linux system.

Step 1: Download Google Chrome

First, open the Linux terminal using the terminal icon or by pressing Ctrl+Alt+T. To download the latest updated version of Google Chrome, run the below-given wget command.

wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

Side Note: Wget utility helps download files from the internet. Using Wget, HTTP, FTP, and HTTPS files can be downloaded. It uses the following syntax.

wget [options] [url]

Most of the Linux distros come with a pre-loaded wget utility. If not, please use the below command to get wget on your system.

sudo apt install wget

Step 2: Install Google Chrome

Once the browser is downloaded, install Chrome. To install, write:

sudo apt install ./google-chrome-stable_current_amd64.deb

The above command is useful in installing the Chrome web browser. After completing the installation, you will be required to enter the user password.

Starting Google Chrome

Once you have installed Chrome on your Linux system, start it by typing “google-chrome” on the terminal. You can also open Google Chrome using the Google Chrome icon given within the Activities list.

next-20211027: linux-next

Posted: 2021-10-27 10:40:16
Source: http://www.kernel.org/

Version:next-20211027 (linux-next)
Released:2021-10-27

5.14.15: stable

Posted: 2021-10-27 08:00:00
Source: http://www.kernel.org/

Version:5.14.15 (stable)
Released:2021-10-27
Source:linux-5.14.15.tar.xz
PGP Signature:linux-5.14.15.tar.sign
Patch:full (incremental)
ChangeLog:ChangeLog-5.14.15

5.10.76: longterm

Posted: 2021-10-27 07:57:07
Source: http://www.kernel.org/

Version:5.10.76 (longterm)
Released:2021-10-27
Source:linux-5.10.76.tar.xz
PGP Signature:linux-5.10.76.tar.sign
Patch:full (incremental)
ChangeLog:ChangeLog-5.10.76

5.4.156: longterm

Posted: 2021-10-27 07:54:33
Source: http://www.kernel.org/

Version:5.4.156 (longterm)
Released:2021-10-27
Source:linux-5.4.156.tar.xz
PGP Signature:linux-5.4.156.tar.sign
Patch:full (incremental)
ChangeLog:ChangeLog-5.4.156

1 ... 587 588 589 590 591 ... 726