2019-09-08 00:00:00

Technologycommand|linux|MS-DOS|prompt|shell|top 10

Top 10 most frequently used Linux commands for beginners

Whatever the first command I typed into the Linux command prompt was, it was like going back to the era of mainframe computers or MS-DOS. Well, my guess is that it was either ls (list directory) or cd (change directory), but since then I have learned the raw power of commands available in a Linux system. Everyone has to start from somewhere, and to shorten your learning curve, here are top 10 most frequently used Linux commands that are worth mastering thoroughly.

Here is my top 10:

  • ls
    List files in a directory, for instance, details of files: ls -al
  • cd
    Change working directory, for instance: cd /var/www
  • cp
    Copy files, for instance, copy file to another directory: cp myfile.txt /var/www/
  • rm
    Remove files, for instance: rm myfile.txt
  • mkdir
    Create directory, for instance: mkdir /var/www/newdir
  • mv
    Move and rename files, for instance: mv myfile.txt yourfile.txt
  • more
    Display contents of a file in screen-size segments, for instance: more myfile.txt (continue to the next screen by pushing space bar or enter)
  • tail
    Display contents of a file from the end, for instance: tail -n100 myfile.txt (last 100 lines)
  • nano
    Editor that is easier to use than other default editors in Linux, for instance: nano myfile.txt
  • systemctl or service
    Manage programs, scripts and applications, for instance: systemctl restart apache2 - or - service apache2 restart

The inspiration for my list of the 10 most frequently used Linux commands came from Ken Hess at Red Hat who posted his top ten list on the company blog. Here are his most used Linux commands.

  • ls
  • man
    Display the manual for a command, for instance: man mkdir.
  • cat
    Display contents of a file.
  • touch
    Updates the datestamp of a file.
  • pwd
    Display the directory path where you are in the file system.
  • cd
  • rm
  • cp
  • mkdir
  • ps
    List processes running in the system, for instance: ps aux.

Naturally, it depends on the tasks each Linux user wants to achieve on the system which commands are important for him or her. A programmer, database administrator, security researcher, networking expert, and Wordpress admin all have different sets of top 10 commands.

linux command prompt process list

News

2025-01-15 08:59:00

Not to mention travel – when real life experiences in a destination don’t match the expectations and everything that can go wrong, goes wrong. Well, that’s the beauty of #travel. #Europehttps://klaava.com/nitpickers-travel-journal-travel-lessons-learned-in-2024/


News

2025-01-11 13:25:00

A conclusion from the Traffic Scorecard 2024 results is it takes about double the time to drive along the streets of London (the most congested city in #Europe) than the streets of Munich, which is ranked the 21st most congested European city. #traffic #travelhttps://klaava.com/the-cities-in-europe-where-people-are-stuck-in-traffic-most-often/


A shop dedicated to tasty juice

2025-01-09 14:04:10

arihak

A shop dedicated to tasty juice


in the busy old town center.

2025-01-08 16:16:08

in the busy old town center.


News

2025-01-07 14:56:00

A reminder for keeping your data safe when traveling. Why? It is likely that you have to access your most critical data in risky situations on the road.https://cybernews.com/privacy/how-to-protect-your-sensitive-information-while-traveling/


News

2025-01-02 16:33:00

What about the scenery, you who are hurrying to the other side?#streetphotography#streetphoto


News

2025-01-01 16:06:00

According to a survey, third of travelers are victims of online booking scams. Since it is so convenient to make travel reservations online, that’s what we do. The problem is that we haven’t adopted new methods to avoid online scams. #travel #scamhttps://klaava.com/a-traveler-is-more-likely-to-get-scammed-when-booking-a-trip-than-being-robbed-in-a-destination/


Perhaps road builders had too much time?

2024-12-29 15:19:44

Perhaps road builders had too much time?


News

2024-12-27 18:25:00

#Photography is full of so-called “rules” that can feel overwhelming. However, some of these “rules” are downright myths.https://www.diyphotography.net/debunking-seven-common-myths-photographers-still-believe-in/


What should I read next?

2024-12-25 15:18:22

arihak

What should I read next?


News

2024-12-23 11:34:00

Since #EU #DMA has specified #Apple as a #gatekeeper in #mobile devices, EU considers Apple should implement several iOS connectivity features, predominantly used for and by connected devices. For instance, notifications, automatic Wi-Fi connection, AirPlay, AirDrop, or Bluetooth audio switching.https://digital-markets-act.ec.europa.eu/commission-seeks-feedback-measures-apple-should-take-ensure-interoperability-under-digital-markets-2024-12-19_en


News

2024-12-21 14:51:00

Smartphone users in the US are not impressed with the latest artificial intelligence features on their devices with 73 percent of Apple users and 87 percent of Samsung users unsatisfied, according to a new study. #phone #AIhttps://petapixel.com/2024/12/19/majority-of-smartphone-users-are-unimpressed-with-ai-features-study-finds/


There should be enough ice already to open the hotel

2024-12-20 16:40:17

There should be enough ice already to open the hotel


Hiking on a mountain experience: the end of an ancient tunnel

2024-12-09 14:12:31

arihak

Hiking on a mountain experience: the end of an ancient tunnel


on a hot summer day

2024-12-02 18:47:01

on a hot summer day


Cloudy day in a valley

2024-11-25 16:31:59

arihak

Cloudy day in a valley


In the shade of a lone palm tree

2024-11-25 15:46:29

In the shade of a lone palm tree


an abandoned town?

2024-11-07 18:35:22

an abandoned town?


A quiet moment between heavy rain

2024-10-24 17:34:45

A quiet moment between heavy rain


Everyone loves a pretty mountain scenery

2024-10-24 16:54:02

arihak

Everyone loves a pretty mountain scenery