Showing headlines posted by linuxize

« Previous ( 1 ... 13 14 15 16 17 18 19 20 21 22 23 ... 39 ) Next »

How to Set DNS Nameservers on Ubuntu 18.04

  • Linuxize.com (Posted by linuxize on Aug 22, 2019 6:39 PM EDT)
  • Groups: Ubuntu
The DNS nameservers (resolvers) are servers which are used by other devices to perform DNS lookup for a requested domain.

Rename Command in Linux

Renaming multiple files and directories with the mv command can be a tedious process as it involves writing complex commands with pipes, loops, and so on. This is where the rename command comes handy. It renames the given files by replacing the search expression in their name with the specified replacement. In this tutorial, we will explain how to use the rename command to batch rename files.

How to Remove Untracked Files in Git

The files in the Git working directory can be either tracked or untracked. Tracked files are the ones that have been added and committed and git knows about. Tracked files can be unmodified, modified, or staged. All other files in the working directory are untracked and git is not aware of those files. This article explains how to remove untracked files in Git.

How to Install Pip on Debian 10

Pip is a package management system that allows you to install Python packages. With pip, you can install packages from the Python Package Index (PyPI) and other repositories.

How to use apt Command in Linux

apt is a command-line utility for installing, updating, removing and otherwise managing deb packages on Ubuntu, Debian, and related Linux distributions. It combines the most frequently used commands from the apt-get and apt-cache tools with different default values of some options.

How to Install Node.js and npm on Debian 10 Linux

  • Linuxize.com (Posted by linuxize on Aug 16, 2019 2:37 PM EDT)
  • Groups: Debian
Node.js is a cross-platform JavaScript run-time environment built on Chrome’s JavaScript designed to execute JavaScript code on the server-side. With Node.js, you can build scalable network applications.

How to Check for Listening Ports in Linux

  • Linuxize.com (Posted by linuxize on Aug 15, 2019 11:45 PM EDT)
  • Groups: GNU, Linux
When troubleshooting network connectivity or application-specific issues one of the first things to check should be what ports are actually in use on your system and which application is listening on a specific port.

How to Add User to Sudoers in CentOS

  • Linuxize.com; By Linuxize (Posted by linuxize on Aug 14, 2019 8:36 AM EDT)
  • Groups: Linux
sudo is a command-line utility designed to allow trusted users to run commands as another user, by default the root user.

To grant sudo access to a user you have two option. The first one is to add the user to the sudoers file. This file contains information that defines which users and groups are granted with sudo privileges as well as the level of the privileges.

How to Use sed to Find and Replace String in Files

  • Linuxize.com; By Linuxize (Posted by linuxize on Aug 13, 2019 3:20 AM EDT)
  • Groups: GNU, Linux
sed is a stream editor. It can perform basic text manipulation on files and input streams such as pipelines. With sed, you can search, find and replace, insert, and delete words and lines. It supports basic and extended regular expressions that allow you to match complex patterns.

How to Increment and Decrement Variable in Bash

One of the most common arithmetic operations when writing Bash scripts is incrementing and decrementing variables. This is most often used in loops as a counter, but it can occur elsewhere in the script as well. Incrementing and Decrementing means adding or subtracting a value (usually 1), respectively, from the value of a numeric variable. In Bash, there are multiple ways to increment/decrement a variable. This article explains some of them.

How to Set or Change Hostname in Linux

  • Linuxize.com; By Linuxize (Posted by linuxize on Aug 11, 2019 11:27 AM EDT)
  • Groups: Linux
By default, the system hostname is set during the installation process, or if you are creating a virtual machine it is dynamically assigned to the instance at startup, but there are situations when you need to change it.

How to Find your IP Address in Linux

  • Linuxize.com; By Linuxize (Posted by linuxize on Aug 11, 2019 12:52 AM EDT)
  • Groups: Linux
Knowing the IP address of your device is important when troubleshooting network issues, setting up a new connection or configuring a firewall.

This article explains several different methods of determining the public and private IP Addresses of a Linux system.

How to Set up SSH Tunneling (Port Forwarding)

SSH tunneling or SSH port forwarding is a method of creating an encrypted SSH connection between a client and a server machine through which services ports can be relayed. SSH forwarding is useful for transporting network data of services that uses an unencrypted protocol, such as VNC or FTP, accessing geo-restricted content or bypassing intermediate firewalls. Basically, you can forward any TCP port and tunnel the traffic over a secure SSH connection.

Du Command in Linux

  • Linuxize.com; By Linuxize (Posted by linuxize on Aug 8, 2019 6:33 PM EDT)
  • Groups: GNU, Linux
The du command, short for "disk usage" reports the estimated amount of disk space used by given files or directories.

How to Remove (Delete) Directory in Linux

  • Linuxize.com; By Linuxize (Posted by linuxize on Aug 7, 2019 5:24 AM EDT)
  • Groups: GNU, Linux
There are several different ways to remove directories in Linux systems. If you use a Desktop file manager such as Gnome’s Files or KDE’s Dolphin then you can delete files and directories using the manager’s graphical user interface. But, if you are working on a headless server or want to remove multiple directories at once your best option is to delete the directories (folders) from the command line.

Cp Command in Linux

  • Linuxize.com; By Linuxize (Posted by linuxize on Aug 6, 2019 7:19 AM EDT)
  • Groups: GNU, Linux
When working on Linux and Unix systems, copying files and directories is one of the most common tasks you'll perform on a daily basis.

Ps Command in Linux

  • Linuxize.com; By Linuxize (Posted by linuxize on Aug 5, 2019 12:17 PM EDT)
  • Groups: Linux
In Linux, a running instance of a program is called process. Occasionally, when working on a Linux machine you may need to find out what processes are currently running.

There are number of commands that you can use to find information about the running processes, with ps and top being the most commonly used ones.

How To Install Git on Debian 10 Linux

Git is the world’s most popular distributed version control system used by many open source and commercial projects. With Git you can collaborate on projects with your fellow developers, keep track of your code changes, revert to previous stages, create branches and more. It is originally developed by Linus Torvalds, the creator of the Linux kernel. This tutorial explains how to install and configure Git on Debian 10, Buster.

How to Install and Configure Squid Proxy on Debian 10 Linux

Squid is a full-featured caching proxy supporting popular network protocols like HTTP, HTTPS, FTP, and more. It can be used for improving the web server's performance by caching repeated requests, filtering web traffic and accessing geo-restricted content. In this tutorial, we will explain how to set up a Squid Proxy on Debian Buster. We will also show you how to configure Firefox and Google Chrome web browsers to use it.

How to Create Bootable Linux USB Drive

Usually, when installing a fresh copy of some Linux distribution on your laptop or PC, you’ll need a bootable USB containing the distribution you want to install. This tutorial will take you through the steps necessary to create a bootable Linux USB stick on Windows, macOS and Linux machines. You can use this USB stick to boot and test out or install the Linux distribution on any computer that supports booting from USB.

« Previous ( 1 ... 13 14 15 16 17 18 19 20 21 22 23 ... 39 ) Next »