Skip to main content

Tips

Tips on how to do certain things in Linux command line.

A collection of 127 posts

Check Debian version
Tips

How to Check Which Debian Version are you Running

Wondering which Debian version are you running? This tutorial teaches you several ways to check Debian version in the terminal.

· Abhishek Prakash

How to Know if a User has Sudo Rights
Tips

How to Know if a User has Sudo Rights

This tutorial shows how to find out if a user is sudoer or not. You'll also learn to list all sudo users on your Linux system.

· Abhishek Prakash

Display logged in users in Linux
Tips

How to see Logged in Users in Linux

Check who is logged in your Linux system with these simple commands. You can also get additional information about logged in users such as their log in time.

· Abhishek Prakash

How to Know The Groups of a Linux User
Tips

How to Know The Groups of a Linux User

This quick tip teaches you how to find the groups a Linux user belongs to in Linux command line.

· Abhishek Prakash

Find broken symlinks in Linux
Tips

How to Find Broken Symlinks in Linux

This quick tip teaches you various ways to find all the broken symlinks in Linux command line. You'll also learn to manage those broken soft links.

· Abhishek Prakash

List group members in Linux
Tips

How to List All Users of a Group in Linux

Wondering which users are members of a specific group? This tutorial shows you three simple ways to list all the users of a group in Linux command line.

· Abhishek Prakash

restart server
Tips

3 Easy Ways to Restart Ubuntu Server

You'll learn various ways to restart Ubuntu server in this quick tutorial. The commands discussed here are generic and can be applied on any other Linux distribution.

· Abhishek Prakash

Print Execution Time of Shell Script in Linux
Tips

Print Execution Time of Shell Script in Linux

This quick tutorial teaches you how to display the execution time of a shell script in Linux.

· Abhishek Prakash

Linux command line
Tips

How to Empty a Log File in Linux

In this tutorial, you'll learn various ways to truncate a log file and delete its content without deleting the file itself.

· Abhishek Prakash

Count number of files in Linux
Tips

Count Number of Files in a Directory in Linux

Here are several ways to count the number of files in a directory in Linux command line.

· Abhishek Prakash

Linux Handbook
Tips

Running Linux Commands in Background and Foreground

Learn how to run commands in background in Linux. You'll also learn how to bring the background jobs back to foreground.

· Abhishek Prakash

How to Find Which Shell You Are Using on Linux
Tips

How to Find Which Shell You Are Using on Linux

Here are four simple commands to find out which shell are you using in Linux.

· Abhishek Prakash

How to gzip a Directory in Linux
Tips

How to gzip a Directory in Linux

Trying to gzip a directory and seeing an error in Linux? Here's the command (with explanation) to gzip compress a folder in Linux terminal.

· Abhishek Prakash

Rename multiple files in Linux command line
Tips

How to Rename Multiple Files at Once in Linux

Rename command can be used to rename multiple files in Linux at once. Here are some practical scenarios in which you can use the rename command.

· Abhishek Prakash

Create text file in Linux terminal
Tips

4 Ways to Create a Text File in Linux Terminal

In this Linux beginner series, you'll learn various methods to create a file in Linux terminal.

· Abhishek Prakash

Get website's IP address in Linux
Tips

How to Find the IP Address of a Website in Linux

Wondering how to get the IP address of a website in Linux? Here are 3 command line utilities to query the DNS and get you the IP address and other details.

· Abhishek Prakash

Networking commands in Linux
Tips

How to Find Default Gateway IP in Linux

This quick Linux tip shows various methods to find gateway IP address of your router in Linux command line.

· Abhishek Prakash

Find ip address in Linux
Tips

How to Find IP Address in Linux Command Line

How do I find out the IP address of in Linux ? It's a common question for a number of Linux users. Here are multiple ways to get the IP of host system in Linux.

· Abhishek Prakash

Check memory usage in Linux
System Info

How to Check Memory Usage in Linux? Use These 5 Commands

Knowing the memory utilization is an important part of system maintenance. You’ll learn various commands you can use to check memory usage in Linux.

· Helder

How to Update Kali Linux With One Single Command
Tips

How to Update Kali Linux With One Single Command

Learn to update a Kali Linux system in one single command. Yes, it's that easy and straight forward.

· Abhishek Prakash

Change the shell in Linux
Tips

How to Change Shell in Linux

This quick tutorial shows how to check the running shell, available shell in the system and how to change the default shell in Linux.

· Abhishek Prakash

Alias command in Linux
Tips

Using alias Command in Linux to Improve Your Efficiency

Alias command in Linux saves a lot of your time and improves your efficiency. Learn how to use this command properly and see some of the common aliases I use.

· Helder

How to Check Linux Login History
Tips

How to Check Linux Login History

You may want to know who logged on your system and from where. You should also see bad login attempts on your system. Learn how to see login history in Linux.

· Abhishek Prakash

View files in Linux
Tips

5 Commands to View the Content of a File in Linux Command Line

Here are five commands that let you view the content of a file in Linux terminal.

· Abhishek Prakash

How to Change Users in Linux Command Line
Tips

How to Change Users in Linux Command Line

Linux systems have different users and different types of users. Learn how to switch the users in Linux command line or how to change to the root user in Linux.

· Helder

List users in Linux
Tips

3 Ways to List Users in Linux

As a sysadmin, you'll often need to list all the users on your Linux system. Learn how to list all users in the Linux command line.

· Helder

frozen Linux system
Tips

Frozen Linux System? Here are 3 Ways to Deal With It

So, you've got an unresponsive Linux system? Here are various ways to deal with a frozen Linux system.

· Eric Simard

disable selinux
Tips

What is SELinux? Why You May Want to Disable it?

This tutorial shows how to disable SELinux in CentOS and other Linux Distributions. You'll also learn the basic information about what is SELinux and why you should try to avoid disabling it.

· seeni

6 Different Ways to List Hard Drives in Linux
System Info

6 Different Ways to List Hard Drives in Linux

This detailed guide will give you enough information to start using Emacs, and enough extra to make you want more.

· Helder

How to Remove Files and Directories in Linux Command Line [Beginner's Tutorial]
Tips

How to Remove Files and Directories in Linux Command Line [Beginner's Tutorial]

Learn how to delete files and remove directories with rm command in Linux.

· Abhishek Prakash