Pradeep Elance has Published 417 Articles

How to Find Linux Server Geographic Location in Terminal?

Pradeep Elance

Pradeep Elance

Updated on 03-Jan-2020 06:52:37

4K+ Views

For purpose of security, cyber-crime investigation, government compliance or just for curiosity we might ned to track the geographical location of a Linux server in the internet or at least the location of the server which diverts the internet traffic to the server we are interested in. It involves getting ... Read More

How to Empty or Delete a Large File Content in Linux?

Pradeep Elance

Pradeep Elance

Updated on 03-Jan-2020 06:47:23

895 Views

Usually a continuously growing files, needs to be emptied from time to time to accept the latest data from the next operation. There are various mechanisms to empty the file. We will see them one by one below. The common approach is the overwrite the target file by using > ... Read More

How to Download and Extract Tar Files with One Command in Linux

Pradeep Elance

Pradeep Elance

Updated on 03-Jan-2020 06:43:54

6K+ Views

We can download any required file form the web using the linux terminal. But many times it is found that the downloaded file is a zipped file which is in tar format. In this article we will see how to download and extract the file in a single command.Using wget ... Read More

How to do simple Arithmetic on Linux Terminal?

Pradeep Elance

Pradeep Elance

Updated on 03-Jan-2020 06:41:18

488 Views

While some GUI based Linux desktops give a calculator to be used in a similar way to what is available in Windows, the terminal has lot of features to do both simple and advanced level arithmetic calculations. In this article we will see how we can invoke various calculations from ... Read More

How to download a website page on Linux terminal?

Pradeep Elance

Pradeep Elance

Updated on 03-Jan-2020 06:40:41

8K+ Views

The Linux command line provides greta features for web crawling in addition to its inherent capabilities to handle web servers and web browsing. In this article we will check for few tools which are wither available or can be installed and used in the Linux environment for offline web browsing. ... Read More

How to disable delete permission of File and Directory in Linux?

Pradeep Elance

Pradeep Elance

Updated on 03-Jan-2020 06:37:46

2K+ Views

Many times there can be un-intentional delete of files or directories. That can lead to loss of important data or some misconfiguration of the system so we need a way to stop the accidental deletion of files and directories it may not be applicable to all the files and directories ... Read More

How to Determine the File System Type in Linux (Ext2, Ext3 or Ext4)?

Pradeep Elance

Pradeep Elance

Updated on 03-Jan-2020 06:36:36

27K+ Views

The file systems in Linux can be of different types. They support different file sizes and some mechanism like journaling etc. Also different types of file systems are supported by different Linux Kernel systems. So for the devices which are available as memory in the Linux System, we can determine ... Read More

How to Create Multiple User Accounts in Linux?

Pradeep Elance

Pradeep Elance

Updated on 03-Jan-2020 06:32:22

4K+ Views

Adding a single new user to a Linux system can be achieved through the useradd command. But system admins often get request to add many users. So Linux provides a different to do a bulk addition of many users to a system.This is the newusers command.Synatxsudo newusers user_deatils.txt user_details.txt is ... Read More

How to Count Word Occurrences in a Text File using Shell Script?

Pradeep Elance

Pradeep Elance

Updated on 03-Jan-2020 06:29:40

11K+ Views

Linux shell scripting has many powerful tools to process the data in files. One such feature is to find patterns and count the number of occurrences of matched patterns. One such example is to count the number of occurrences of a specific word in a given file. This is achieved ... Read More

How to Count Number of Files and Subdirectories inside a Given Linux Directory?

Pradeep Elance

Pradeep Elance

Updated on 03-Jan-2020 06:27:19

3K+ Views

It often becomes essential to know not just the count of files in my current directory but also the count of files from all the subdirectories inside the current directory. This can be found out using theUsing lswe can use ls to list the files, then choose only the ones ... Read More

Advertisements