• Что бы вступить в ряды "Принятый кодер" Вам нужно:
    Написать 10 полезных сообщений или тем и Получить 10 симпатий.
    Для того кто не хочет терять время,может пожертвовать средства для поддержки сервеса, и вступить в ряды VIP на месяц, дополнительная информация в лс.

  • Пользаватели которые будут спамить, уходят в бан без предупреждения. Спам сообщения определяется администрацией и модератором.

  • Гость, Что бы Вы хотели увидеть на нашем Форуме? Изложить свои идеи и пожелания по улучшению форума Вы можете поделиться с нами здесь. ----> Перейдите сюда
  • Все пользователи не прошедшие проверку электронной почты будут заблокированы. Все вопросы с разблокировкой обращайтесь по адресу электронной почте : info@guardianelinks.com . Не пришло сообщение о проверке или о сбросе также сообщите нам.

Day 5 – “I Need Backup!”

Lomanu4 Оффлайн

Lomanu4

Команда форума
Администратор
Регистрация
1 Мар 2015
Сообщения
1,481
Баллы
155
Understanding cp, mv, and man in RHEL 9 Like a Pro-in-Progress
Picture this: you’ve just crafted the perfect file. It’s got everything — formatting, genius-level spelling, maybe even a pun or two. You stare proudly at your creation and think:

“This needs to be shared. Or saved. Or moved somewhere less... sketchy.”

Enter today’s heroic trio: cp, mv, and man.

? Table of Contents

  • First up, cp: The File Cloner
  • Next, mv: The Digital Relocator
  • Finally, man: The Command Whisperer
  • Mini Mission Time!
  • Why This Stuff Matters


First up, cp: The File Cloner


Think of cp as the clone machine from sci-fi movies, but less dramatic and way more useful. This command copies files or directories without changing the original.


Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.



Boom. Instant duplicate. Just like Ctrl+C and Ctrl+V had a baby… but with a beard and Linux boots

Why it’s useful:

  • Backing up files
  • Making test copies to break stuff safely
  • Avoiding "oops-I-overwrote-my-only-copy" heartbreak


Next, mv: The Digital Relocator


mv moves files from one place to another. But here’s the twist: it’s also the renaming ninja!


Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.



Now that half-written love letter is called final.txt — totally legit, right?

Or move a file to a different directory:


Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.



(Yes, there is still no pineapple on that pizza!)

Watch out: mv doesn’t ask questions. It’ll overwrite files if you’re not careful. Always double-check!


Finally, man: The Command Whisperer


Feeling confused by options? Flags? Syntax that looks like alien math?

Just ask the man.


Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.



Boom — full manual, right in your terminal. It’s like Linux whispering sweet nothings about every command.

Pro tip: Press q to exit before you drown in scrolls of wisdom.


Mini Mission Time!


Let’s put those muscles to work:

  1. Create a test file
  2. Copy it
  3. Rename it dramatically
  4. Get curious and read the manual


Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.




Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.



If you did that, congratulations! You’re officially more dangerous (and capable) than you were 5 minutes ago.


Why This Stuff Matters


cp, mv, and man might seem basic, but they’re the everyday tools of Linux legends. Backups, renaming, reorganizing — these aren’t just admin tasks. They’re how you start thinking like a sysadmin.

And reading the man pages? That’s the equivalent of reading the instructions before assembling IKEA furniture. You save hours (and tears).

Real-world practice is where confidence grows. Don’t just memorize these commands — break them, try them, play with them. Every file you copy, rename, or move is another step toward mastering the terminal like a pro.

See you in Day 6, where we’ll explore logs, errors, and possibly mild existential dread.


Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.

 
Вверх Снизу