Tutorials on Linux, Programming & Technology

grep Command in Linux

grep Command in Linux | Explained

In Linux, the grep command is utilized to highlight (shows the match) the specific word, character, or string after searching the entire content in a file.

Sysctl Command in Linux Explained

sysctl Command in Linux | Explained

The sysctl command allows the user to modify the kernel parameters on the Linux system at runtime. You should only do that if you are fully aware.

How to Install Webex on Ubuntu 22.04

How to Install Webex on Ubuntu 22.04?

Webex can be installed by downloading its Debian package from its official website and using the command “sudo dpkg -i [package name]” on Ubuntu 22.04.

How to Install NPM in Ubuntu 22.04

How to Install NPM in Ubuntu 22.04?

To install NPM in Ubuntu 22.04, first open the terminal and run the command “sudo apt install npm -y”, and the latest version of npm will be installed.

Fix ssh no route to host

Fix: ssh no route to host

In Linux, the “ssh no route to host” error is fixed through the “ping” command, updating firewall rules for Port 22, and installation of the “OpenSSH” utility.

How to fix SSH host key verification failed error in Linux

Fix: ssh host key verification failed

In Linux, the “ssh host key verification failed” error can be fixed by deleting the host key through Nano Editor or using the “ssh-keygen” command.

How to mount SMB shares in ubuntu 22.04

How to Mount SMB Shares in Ubuntu 22.04?

To mount the SMB Shares in Ubuntu, either install the CIFS-utils by running “sudo apt install cifs-utils -y” or use the other approach to mount automatically.

Fix sudo unable to resolve host

[Fixed] sudo: unable to resolve host

In the Linux system, the “sudo: unable to resolve host” error can be resolved by configuring the hostname properly (either to change it or use it correctly).

Fix export ld_library_path

Fix: export ld_library_path

The error “export ld_library_path” can be encountered by setting the environment variable to the “/usr/local/lib” directory.

How to Increment a Variable in Bash

How to Increment a Variable in Bash?

In Linux, the “+”, “+=”, “Prefix”, and “Postfix” operators are used to increment a variable in bash. The bash can be executed as “bash ”.

How to Install Make on Ubuntu 22.04

How to Install Make on Ubuntu 22.04

Make utility can be installed by executing the command “sudo apt install make -y”. Moreover, it can be installed via the build-essential package.

pkill Linux Command Explained

pkill Linux Command | Explained

The “pkill” command kills the execution of currently active processes in linux such as “-f” (full process name), “-o” (oldest process), “-n”(newest process).

What Command Used to Create an Empty File

How to Create an Empty File Linux?

In the terminal, the “touch”, “echo”, “nano”, and “printf” commands are used to create an empty file specifying the file name.

How to Check WSL Version

How to Check WSL Version?

To check the current version of WSL, the “wsl –list –verbose” or “wsl -l -v” command is utilized in the Windows Command Prompt.

Fix ssh connection refused port

Fix: ssh connection refused port 22

The “ssh connection refused port 22” error can be resolved by installing “OpenSSH” packages or checking the active status of SSH services or port numbers.

How to Install G++ on Ubuntu

How to Install G++ on Ubuntu?

On Ubuntu, the G++ compiler can be installed using the command “sudo apt install g++” or ”sudo apt install build-essential” package.

How to print integer values in Python

How to Print Integer Values in Python?

To print integer values, the “print()” function, “f-string” method, and “sys.stdout.write()” function of the “sys” module are used in Python.