File command in Linux used to determine the type of a file. Generally users are assume file type by looking at extension of file. For example when you see a file with an extension of gif, jpg, bmp, or png you think of an image file. File command helps you when you don’t know...
The uptime command is used to show how long the system has been running. It will also show currently logged in users, system load average and the current time. In this tutorial, we have described the use of uptime in detail. Uptime Command Syntax# The syntax for the uptime command is as follows: uptime...
Linux is designed to support a large number of users. Because of this, it should maintain access permissions to files and directories. Also need how users can access these files and directories. The chown command is used to change the user and group ownership of a given file, directory or link. In this tutorial...
Tail command displays the last lines from given file. By default, it prints last 10 lines if number of lines is not specified. This command is commonly used to monitor the files changes in real time. In this tutorial, you will learn how to use the Tail command in Linux. Prerequisites# You should have...
Nginx is a free, high performance and open-source HTTP and reverse proxy server. It can be used as a standalone web server, and as a reverse proxy for Apache and other web servers. It is a more flexible and lightweight program than Apache HTTP Server that’s why it powers some of the largest sites...
The cat command stands for “concatenate” and it is widely used in Linux OS. Using it you can read, write, concatenate files and redirect output to terminal. Commonly, cat is most used to display the contents of single or multiple text files, create new files, combine files, append content from one file to another...
In this tutorial, you will learn how remove files and directories using the rm command in Linux system. Syntax of rm Command# Below is the basic syntax of rm command: rm [OPTIONS] [FILE_NAME] Here, Remove Files# Following are the multiple examples with different options to delete files using rm command: How to Remove a...
Shutdown command is used to bring the system down in a safe and secure way. When the shutdown process is initiated, all the logged in users are notified that the system is going down right now or after some time. Using this command you can set specific time to make down your system. Shutdown...
In this tutorial, we will show you how to use wget command with example and explanations of all wget options. What is Wget?# Wget is command line utility for downloading files in Linux from web. Using wget utility you can download files with FPT, HTTP, HTTPS protocols. It is free available utility and comes...