Break and Continue statements in JavaScript

Posted: 2021-09-07 19:20:22
Source: https://linuxhint.com/break-and-continue-statements-in-javascript/

Break and Continue statements are known as Loop Control Statements. The break statements are used to terminate loops based on certain conditions and the continue statements are used to skip over specific iterations of loops. The break statements are also used in combination with switch statements to make them more efficient.

How do I list Upgradable packages in Ubuntu

Posted: 2021-09-07 18:53:50
Source: https://linuxhint.com/list-upgradable-packages-ubuntu/

In computing, updates of the packages or OS have a key role in bringing the new functionalities to the users. You may encounter several updates after a few days or weeks; these updates carry bug fixes and minor changes to any software or your operating system. This article explains about listing upgradable packages in Ubuntu terminal.

BSD Release: GhostBSD 21.09.06

Posted: 2021-09-07 17:48:28
Source: http://distrowatch.com/11344

GhostBSD is a user-friendly desktop operating system based on FreeBSD. The project has published a new version, GhostBSD 21.09.06 which migrates service management from OpenRC to FreeBSD's rc.d approach. "What is new in 21.09.06? GhostBSD moved back to FreeBSD rc.d to start services. Github ticket completed: Disable access....

Pardus 21.0 Gnome Quick overview #Shorts

Posted: 2021-09-07 17:27:34
Source: https://www.youtube.com/watch?v=oNUoNQ2ViIE

JavaScript Event Handlers

Posted: 2021-09-07 16:30:53
Source: https://linuxhint.com/javascript-event-handlers/

Events are triggered by either the user or the browser. Developers can respond to these events by writing functions that are known as event handlers. Event handlers are functions that listen for an event and when that event is triggered they execute a block of code. Events are very important in making any web page interactive and responsive.

Data Types in JavaScript? – Explained for Beginners

Posted: 2021-09-07 16:19:56
Source: https://linuxhint.com/data-types-in-javascript/

Like any other programming language, JavaScript also consists of various data types. Data Type is dynamic in JavaScript, which means a single value can be stored in various ways. Various data types in JavaScript are categorized into three main categories: Primitive Type (String, Number, and Boolean), Composite or Reference Type (Object, Array, and Functions), and Special Data Type (Null or Undefined).

Q&A trip to Linux’s Black Hole - /dev/null

Posted: 2021-09-07 16:00:00
Source: https://www.linuxjournal.com/content/qa-trip-linuxs-black-hole-devnull

Q&A trip to Linux’s Black Hole - /dev/null

As per NASA, “A black hole is a place in space where gravity pulls so much that even light can not get out”. Something similar exists in the Linux universe as well - it discards anything written to it and when read, just returns an EOF (end-of-file). It’s a special file which is also referred to as null device - /dev/null

So, it’s just a file?

Yes and most of the things in Linux is a file but /dev/null is not a regular file – lets dig deeper.

/dev/null 1

c in crw-rw-rw- tells us that it's a character special file, which means it processes data character by character. This can be checked using test -c as well:

/dev/null 2

What are the contents of the file?

Let’s check that using the cat command:

/dev/null 3

As stated earlier, it just returns an EOF (end-of-file) when read. So, it's empty!

What more can we know about the file?

Let’s find out using the stat command:

/dev/null 4

This tells us that its size is 0. Also, it’s good to note that the file’s read and write permission is enabled for everyone but it doesn't require execute permission. 

What happens to the file’s size when we write data to it?

Let’s try that:

/dev/null 5

The cat command returned nothing and as per the stat command, its size did not change.

As stated earlier, it discards anything written to it. You may write any amount of data to it, which will be immediately discarded, so its size will always remain 0 – Singularity?

In other words, you cannot change /dev/null

How to write Comments in JavaScript code

Posted: 2021-09-07 15:58:21
Source: https://linuxhint.com/how-to-write-comments-javascript/

Comments can be anything from a single line explanation to multi-line description of code that is written inside the source code of a program. They are usually used to leave notes in the complex parts of the source code so anyone who looks at the code in future can easily understand the purpose of that piece of code. This article explains how to comment in JavaScript code.

XCP-ng: A Different Kind of Virtualization Platform?

Posted: 2021-09-07 15:53:11
Source: https://www.youtube.com/watch?v=XLQp_jI5vNs

Bash if-else Statement

Posted: 2021-09-07 15:07:51
Source: https://linuxhint.com/bash-if-then-else-example/

While working in Bash, you may need to add conditions in your script. Depending on whether a programmer-specified boolean condition turns out to be true or false, Bash conditional statements perform specified operations based on the conditions. These conditional statements are utilized to execute specific sections of your shell program. This article explains what are conditional statements in bash, and how to use if-else in bash programming.

Proxmox VE Full Course: Class 6 - Creating Virtual Machine Templates

Posted: 2021-09-07 15:00:21
Source: https://www.youtube.com/watch?v=t3Yv4OOYcLs

How do I List All Groups in Linux

Posted: 2021-09-07 14:28:01
Source: https://linuxhint.com/list-all-groups-linux/

Linux systems may have several users that are divided into many groups. These groups are the collection of users with the same set of privileges or resources shared among the users of that group. Linux allows you to add a new user or the existing user to the existing group for utilizing the privileges of that particular group that it will grant. How to list all groups in Linux is explained in this article.

How to Connect to Wi-Fi on Kali Linux

Posted: 2021-09-07 14:15:07
Source: https://linuxhint.com/connect-to-wifi-kali-linux/

This article provides a simple step-by-step guide on how to connect to Wi-Fi on Kali Linux. This tutorial highlights the process of connecting the Wi-Fi on Kali (Graphical Mode), connecting the Wi-Fi with Kali (Text Mode), connecting Wi-Fi with Kali using nmcli, and connecting to Wi-Fi with Kali using nmtui.

Distribution Release: Tails 4.22

Posted: 2021-09-07 14:14:49
Source: http://distrowatch.com/11343

The Amnesic Incognito Live System (Tails) is a Debian-based live DVD/USB with the goal of providing complete Internet anonymity for the user. The project's latest release introduces a number of polishing touches to the user interface. In particular, the system does a better job of checking to see....

Ping Command Tutorial on Ubuntu

Posted: 2021-09-07 12:21:25
Source: https://linuxhint.com/ubuntu-ping-tutorial/

If you are a frequent Linux terminal user then you must be aware of the Ping command. Ping is one of the most used network diagnostic tools for determining whether or not a network is accessible or reachable and ping can be used to check the status of a server. This article thoroughly explains the usage of the ping command on Ubuntu.

How to Install and Configure Apache Hadoop on Ubuntu

Posted: 2021-09-07 11:23:34
Source: https://linuxhint.com/install-apache-hadoop-ubuntu/

Apache Hadoop is a Java-based, open-source, freely available software platform for storing and analyzing big datasets on your system clusters. It keeps its data in the Hadoop Distributed File system (HDFS) and processes it utilizing MapReduce. Hadoop has been used in machine learning and data mining techniques. It is also used for managing multiple dedicated servers. This article explains how to install and configure Apache Hadoop on Ubuntu.

How to read and write text into a file using JavaScript?

Posted: 2021-09-07 07:12:32
Source: https://linuxhint.com/how-to-read-write-a-file-javascript/

Writing or reading to a file in any programming language is a necessity as we can develop small projects where we don't need large databases. We then use file systems to read or write data to a file. Vanilla JavaScript cannot access the user’s local file system so we need to use Node.JS which helps us in reading and writing data to a file.

How to use the IP command in Ubuntu

Posted: 2021-09-07 07:05:35
Source: https://linuxhint.com/how-to-use-ip-command-ubuntu/

IP (Internet Protocol) acts as a unique identifier address over the network. This unique identifier helps to send information among different devices on the network. Internet services also work based on IP and differentiate between several devices such as routers and computers. IP commands in Ubuntu can be used for several purposes within a network, such as to assign, delete, set up an address, or configure parameters for network interfaces. This article explains how to use IP commands in Ubuntu.

How do I check the size of a Folder in Linux

Posted: 2021-09-07 06:01:20
Source: https://linuxhint.com/check-folder-size-linux/

Linux offers various amazing command-line commands that will help in performing various tasks. It might be necessary to make space for the incoming file or transfer it to another location. Also, when we run some deployments, it tends to create a log file automatically, and the space will fill up with those log files. How to check the size of a folder in Linux is explained in this article.

next-20210907: linux-next

Posted: 2021-09-07 05:04:59
Source: http://www.kernel.org/

Version:next-20210907 (linux-next)
Released:2021-09-07

1 ... 620 621 622 623 624 ... 726