The stat is a command-line utility that shows detailed information about given files or file systems. In this article we will show you how to use stat command. Using the stat Command# Following is the basic syntax for the stat command: stat [OPTION]… FILE… You can pass multiple input FILE names and pass multiple options
terminal - Page 8 of 13 - DesignLinux
Dmesg Command in Linux
The dmesg command-line utility is used to view and control the kernel ring buffer in Linux and other Unix-like operating systems. It is useful for examining kernel boot messages and debugging hardware related issues. In this guide, we will show you the basics of the dmesg command. In the Linux operating system the Linux kernel
How to Setup Automatic Kernel Updates on Linux
Applying security updates to the Linux kernel is a straightforward process that can be done using tools such as apt , yum, or kexec. However, when managing hundreds or thousands of servers running different Linux distribution to patch, this method can be challenging and time-consuming. Manually updating the kernel requires rebooting the system. This results
How to Copy, Cut and Paste in Vim / Vi
It is common action to do copy, cut and paste text when working with the text files. Vim is a text editor which is comes preinstalled on macOS and almost all Linux distributions. It’s good to have basics of Vim if your favorite editor is not available. In this article we will show you how
Using the SSH Config File
If you are doing administrator work or need to connect regularly the multiple remote systems via SSH, it is difficult to remember all the remote IP addresses, usernames and ports. For this problem there is a simple solution is to using OpenSSH set up a per-user configuration file and store different SSH options for each
Usermod Command in Linux
usermod is a command-line utility that allows you to modify a user’s login information. This article covers how to use the usermod command to add a user to a group, change a user shell, login name, home directory, and more. usermod Command # The syntax of the usermod command takes the following form: usermod [options]
How to Start, Stop, or Restart Apache Service
Apache is cross-platform and open-source Web server. It is part of the popular LAMP (Linux, Apache, MySQL, PHP) stack of software. This guide will show you how to start, stop, and restart Apache service on Linux systems. It comes loaded with powerful features and can be further extended with a wide variety of modules. The
Whoami Command in Linux
The whoami command will prints the user name of the currently logged-in user. In this article we will show you how to use the whoami command in linux. Use of whoami Command# Following is the basic syntax for the whoami command: whoami [OPTION] To know the user who is currently logged on the system, run
How to Add and Remove Users on Ubuntu 20.04
One of the first tasks when provisioning a new Ubuntu system is adding and removing users. Each user can have different permission levels and specific settings for various command-line and GUI applications. This article explains how to add and remove user accounts on Ubuntu 18.04. Before You Begin # Only root or users with sudo
How to Check Python Version
Python is one of the popular programming language. It is used for machine learning, analyzing data, websites and more. Sometimes, for developing it’s required to determine version of Python whether it is supported or not. In this article we will show you how to check the version of Python is installed on your system. Python