Skip to content
Technology News Information & Jobs

Technology News Information & Jobs

Ubuntu Tutorials, Ubuntu How To , Linux Tips, Tech Jobs

  • Work with US
  • Search Jobs
  • Post a Job
  • Contact Us
  • Ubuntu
    • Ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • Themes
  • Linux
  • Laptops
  • Tutorials
  • Job Dashboard
  • Toggle search form
Linux Commands With Examples

A To Z Linux Commands With Examples

Posted on July 13, 2019May 5, 2020 By admin

Insight: A To Z Linux Commands With Examples

If you don’t love Command then Linux might not be your cup of tea. Linux is all about beautiful commands and their execution through terminal.

In this post, we will look on the list of Linux commands with an overview and examples.

A To Z Linux Commands With Examples

1. Ar Linux Command

ar command in Linux is used to create, modify, or extract archives. Let’s see an example of command to create an archive using ar Linux command.

Following command will creates an archive ‘testfile.a’ that contains all the jpg files from the current directory.

ar r testfile.a *.jpg

2. Adduser/Addgroup Linux command

These commands lets you add a new user and group in Linux.

Adduser Linux command example:

sudo adduser test_user

3. Aspell Linux command

Aspell Linux command lets you check the spelling on a text file.

sudo aspell -c testfile.txt

4. Bzip2

Bzip2 Linux command is used to create compressed file archives in bzip2 format.

sudo bzip2 list.txt list0.txt list1.txt

5. bg Command

You can use bg command in Linux to send a process to the background.

sudo tar -czf file.tar.gz .
sudo bg 
sudo jobs

6. chmod Command

chmod command in Linux is used to change or update file permission.

sudo chmod +x fileinfo.sh

7. chgrp Command

chgrp command in Linux is used to change the group ownership of a file.

sudo chgrp itsubuntu users.jpg

8. cat command

cat command in Linux is used to view the contents of a file. It is also used to concatenate files

sudo cat file.txt

9. Cd

The cd command in Linux is used to change the working directory.

sudo cd /home/sachin/

10. df Command

df command in Linux is used to show file system disk space usage.

sudo df -h

11. dir Command

dir command in Linux has used to lists the contents of a directory.

sudo dir

12. diff Command

diff command is used to compare two files line by line.

sudo diff file1 file2

13. du Command

du command is used to show disk space usage of files. It only shows the disk space of files present in a directory as well as its sub-directories.

du /home/itsubuntu

14. eject Command

It is used to eject the removal disk from the Linux operating system:

sudo eject /dev/cdrom
sudo eject /mnt/cdrom/
sudo eject /dev/sda

15. find Command

This particular find command is used to search for files in a directory as well as its sub-directories.

find /home/itsubuntu/ -name omgfile.txt

16. grep Command

grep command searches for a specified pattern in a file (or files).

grep ‘itsubuntu’ customer-list.txt

17. history Command

history command is used to show previously used commands.

sudo history

18. hwclock

hwclock is a command-line tool to manage the system hardware clock. You can also set the hardware clock with this command.

sudo hwclock
sudo hwclock --set --date 7/13/2019

This much for now, we are regularly updating this article. Please visit soon for the full list.

READ More Relevant Stuff:  Install MusicBrainz Picard In Linux : Music Tagger For Linux
Linux Tags:linux, linux commands

Post navigation

Previous Post: Install Nagios Monitoring Tool On RHEL 8
Next Post: How To Upload Photos To Instagram From Ubuntu Directly

Related Posts

Happy Birthday Linus Torvalds Linux
Top Free Linux Cloud Servers In 2023 Top Free Linux Cloud Servers In 2023 Linux
List Of Open Source Cloud Storage Software For Linux In 2021 List Of Open Source Cloud Storage Software For Linux In 2023 Linux
Install GParted On Ubuntu 22.04 LTS Install GParted On Ubuntu 22.04 LTS In 2023 Linux
Best GUI Based USB Image Writer Tools On Linux [2023] Linux
System76 Galago Pro Linux Laptop: Price & Specification System76 Galago Pro Linux Laptop: Price & Specification Laptops

Recent Posts

  • New Job Search October 10, 2025
  • How To Enable Hibernate in Ubuntu 22.04 LTS May 20, 2024
  • Popular Ubuntu Games: Top 5 Games To Play March 17, 2024
  • WordPress | Your site doesn’t include support for the “generateblocks/container” block GenerateBlocks Plugin February 11, 2024
  • Ubuntu Autoremove Command Debian Autoremove Command February 10, 2024
  • How To Mount Windows 11 Shares on Debian Linux December 7, 2023
  • Anonymous Browsing 101: A Deep Dive Into Residential Proxies November 20, 2023
  • How To Correctly Install Uninstall Linux Ubuntu Nvidia Drivers Fast October 31, 2023
  • Ethical Web Design: The Dos and Don’ts October 28, 2023
  • Understanding the Role of Security Operations Center October 25, 2023
  • The Positive Effects of AI Tools and Online Services on Students Successful Essay-Writing Skills October 3, 2023

Categories

  • Android
  • Apple
  • Blogs
  • Debian
  • Fix
  • Gadgets
  • Game
  • Google
  • How To Ubuntu
  • Internet
  • Laptops
  • Linux
  • Linux Commands
  • Linux Game
  • Linux Mint
  • News
  • Operating Systems
  • Security
  • Technology
  • Themes
  • Tools
  • Tutorials
  • Ubuntu
  • ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • Windows 11
  • Wordpress
  • Search Jobs
  • Post a Job
  • Job Dashboard
  • Contact Us
  • About US
  • Cookie Policy
  • Terms and Conditions
  • Privacy Policy
  • Sitemap
  • Write For US

Tags

android apps centos ChatGPT command Commands Debian deepin Desktop docker Fedora fix game games Gaming gnome google kernel linux linux commands linux kernel Linux laptops Linux Mint Linux themes minecraft NVIDIA Python Raspberry Pi sysadmin themes ubuntu ubuntu 18.04 Ubuntu 18.04 LTS Ubuntu 20.04 ubuntu 20.04 lts Ubuntu 22.04 LTS Ubuntu games Ubuntu kernel ubuntu themes ubuntu tutorial VirtualBox Windows Windows 11 Wine WSL
itsubuntu.com is an Equal Opportunity Employer. For Advertisement, Jobs, Guest posts, and any other thoughts, email us at [email protected]
  • Senior AI/ML Engineer With Poly

    • Annapolis Junction, MD
    • Lockheed Martin
    • Full Time
  • Principal Embedded Data Systems Engineer

    • Raymond, OH
    • Honda Dev. and Mfg. of Am.,LLC
    • Full Time
  • GCP Data engineer

    • Hartford, CT (Remote)
    • E-Solutions
    • Full Time
  • Service Writer – Tilton, NH

    • Tilton, NH
    • VIP Auto LLC
    • Full Time
  • Lead Analyst, Space Data Networks Division

    • Colorado Springs, CO
    • United States Space Force Forces
    • Full Time
  • NAVWAR/Data Science Analyst

    • Albuquerque, NM
    • BlueHalo LLC
    • Full Time
  • Social Media Blogger Volunteer!!

    • Pottstown, PA
    • Animal House Project
    • Full Time
  • Graduate Quantitative Researcher

    • Chicago, IL
    • IMC Inc
    • Full Time

Copyright © 2025 Technology News Information & Jobs.

Powered by PressBook Grid Blogs theme