Top 10 Most Useful Linux Commands

Published: 12 January 2020
on channel: Coding Commanders
863
42

What are the top 10 most useful Linux commands? I spoke with my online community, and we came up with a list of ten commands we can't live without. What's your favorite Linux command? Comment below and let me know. I might make a video about it!

#linux #commandline

The Top 10 Most Useful Linux Commanders by Coding Commanders
10) find - Search for files throughout your directories

find Linux command configuration:
find [where to start searching from] [-options] [what to find]

Examples:
find /home/candy -name nurse.py
find /home/candy -name *.py
find /home/candy/websites -name gdscript*
find /home/candy -perm 666
find Pictures/ Downloads/ -name harley*

9) ping - Ping is used to send ICMP ECHO_REQUEST to network hosts.
ICMP stands for Internet Control Message Protocol and is used by network devices to send information about their communication with other IP addresses. An ECHO_REQUEST is sent to determine connectivity. You may want to test if a network is up and running or you may want to check network speed.

Example:
ping codingcommaders.com

By default, a request is sent every second. you can change the timing
using the interval option:

ping -i 0.25 codingcommanders.com

8) rsync -Rsync is a fast and versatile tool used to copy files locally
and transfer them to other servers. Rsync offers many options,
so the user controls the terms of each file transfer, and it comes standard with many Linux distributions.

You may use it to do a local backup:
rsync [OPTION...] [FILE/DIRECTORY] [DESTINATION]

There is a file called battle-back-story.odt in my
Documents directory and I want to put a copy in
my code_practice directory:

rsync /home/candy/Documents/battle-back-story.odt /home/candy/code_practice

Or to transfer a file to a virtual server
rsync [option] [FILE or DIRECTORY] [REMOTE_USER@REMOTE_HOST:DESTINATION]

*a is archive mode
recursively copy the entire directory with files, permissions, ownership, group, modification time and symbolic links":

rsync -a /home/candy/code_practice [email protected]:/home/commander

Other comman rsync options include
-z (compress)
-q (quiet) Only shows error messages
--delete (deletes
-r (recursive)
--delete (delete extraneous files from destination)
--force (If dirs are not empty, force deletion)
If you would like me to do an entire video on rsync, please comment below.

7) ssh -
ssh allows you to log in and execute commands
on a remote server.
ssh [remote_user]@[remotehost]

You can log in by entering your passwords, or you can use ssh keys.

More on SSH at https://www.codingcommanders.com/LAMP...

For the last 6 commands, you will find more information at https://www.codingcommanders.com/LAMP...

6) ifconfig
5) rm
4) mkdir
3) man
2) cd
1) ls

Follow Coding Commanders on
Twitter @codingcommander
Facebook @codingcommanders
IG @codingcommanders
Mastodon https://social.tchncs.de/@codingcomma...
You can also see me live on Twitch: DaisyChainCosplay

Music:
Lost World by Darren-Curtis:   / desperate-meas.  . Attribution 3.0 Unported (CC BY 3.0) https://creativecommons.org/licenses/... Music provided by Free Vibes: https://goo.gl/NkGhTg

Music provided by No Copyright Music:    / royaltyfree.  . Licensed under Creative Commons Attribution 4.0 https://creativecommons.org/licenses/...

Starry Star Trek-Inspired Music:
https://freesound.org/people/itsmocha...

Sound Effects
Powerful Sound: https://freesound.org/people/Robinhoo...
Typing Kaybren Reckland https://freesound.org/people/imagery2...
woman thinking https://freesound.org/people/Yudena/s...
Long Whoosh: https://freesound.org/people/DJT4NN3R...
Gulping and drinking: https://freesound.org/people/schatzl0...
"Clap, Single, 10.wav" by InspectorJ (www.jshaw.co.uk) of Freesound.org
Drum Roll: https://freesound.org/people/HolyGhos...
"Party Pack, Horn Coil 01, Long, 01.wav" by InspectorJ (www.jshaw.co.uk) of Freesound.org
"Pop, High, A (H1).wav" by InspectorJ (www.jshaw.co.uk) of Freesound.org
Whoosh sound https://freesound.org/people/qubodup/...
"Running, Snow, A.wav" by InspectorJ (www.jshaw.co.uk) of Freesound.org
Clock sound https://freesound.org/people/straget/...
blink https://freesound.org/people/firecame...


Watch video Top 10 Most Useful Linux Commands online without registration, duration hours minute second in high quality. This video was added by user Coding Commanders 12 January 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 863 once and liked it 42 people.