FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Useful Linux Commands
How-ToSystems

Useful Linux Commands

via Dev.toVincent Caunegre12h ago

In this article I will show you the commands that I use the most on my Ubuntu vps. Navigation Command Action ls -alth show content of folder wc -l <path to file> display the number of lines in a file pushd <path> go to a directory and save the path in history popd rollback to previous directory from pushd dirs -v show pushd history cd - get back to previous directory (reset history) mkdir -p /folder/folder2 create a new directory with non existing folders find . -name "*.yaml" find all files that end by ".yaml" in current directory File editing Command Action pwd > test.txt send the content of a command to a file (erase the previous content) pwd >> test.txt add the content of a command to the next line of a file pwd | tee test.txt same as pwd > test.txt but print it in cli pwd | tee -a test.txt same as pwd >> test.txt but print it in cli grep "ubuntu" test.txt | wc -l connect commands (for instance to get number of line with a word) System Command Action ps aux list all processes for a

Continue reading on Dev.to

Opens in a new tab

Read Full Article
2 views

Related Articles

Stop Using Channels for Everything
How-To

Stop Using Channels for Everything

Medium Programming • 13h ago

The Better Way to Configure Entity Framework Core
How-To

The Better Way to Configure Entity Framework Core

Medium Programming • 16h ago

Microsoft’s big developer conference returns to San Francisco in June
How-To

Microsoft’s big developer conference returns to San Francisco in June

The Verge • 16h ago

EA continues to ‘evolve’ The Sims 4 with new virtual currency and a ‘maker’ program
How-To

EA continues to ‘evolve’ The Sims 4 with new virtual currency and a ‘maker’ program

The Verge • 17h ago

OSS Pull Request Therapy: Learning to Enjoy Code Reviews with npmx
How-To

OSS Pull Request Therapy: Learning to Enjoy Code Reviews with npmx

FreeCodeCamp • 18h ago

Discover More Articles