Загрузка страницы

Top 10 Most Useful Linux Commands

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 commander@192.168.1.68:/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/transfer-files-commandline.html

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

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/@codingcommanders
You can also see me live on Twitch: DaisyChainCosplay

Music:
Lost World by Darren-Curtis: https://soundcloud.com/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: https://www.youtube.com/c/royaltyfree... Licensed under Creative Commons Attribution 4.0 https://creativecommons.org/licenses/...

Starry Star Trek-Inspired Music:
https://freesound.org/people/itsmochajones/sounds/490930/

Sound Effects
Powerful Sound: https://freesound.org/people/Robinhood76/sounds/259739/
Typing Kaybren Reckland https://freesound.org/people/imagery2/sounds/456906/
woman thinking https://freesound.org/people/Yudena/sounds/377596/
Long Whoosh: https://freesound.org/people/DJT4NN3R/sounds/449991/
Gulping and drinking: https://freesound.org/people/schatzl03/sounds/85746/
"Clap, Single, 10.wav" by InspectorJ (www.jshaw.co.uk) of Freesound.org
Drum Roll: https://freesound.org/people/HolyGhostParty/sounds/71133/
"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/sounds/60013/
"Running, Snow, A.wav" by InspectorJ (www.jshaw.co.uk) of Freesound.org
Clock sound https://freesound.org/people/straget/sounds/408741/
blink https://freesound.org/people/firecamel/sounds/169349/

Видео Top 10 Most Useful Linux Commands канала Coding Commanders
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
13 января 2020 г. 5:32:46
00:09:30
Яндекс.Метрика