COMMANDS in LINUX TERMINAL, DEVICE data, TIMEZONE, HARD DISK and CAT intermediate level

  Рет қаралды 190

CodigoLibre

CodigoLibre

Күн бұрын

In this video we explain some medium level commands for TERMINAL in LINUX, such as:
1. Know Kernel version:
* uname -sr - Know the Linux kernel
2. Equipment information
* sudo lshw - Show all information
* sudo lshw -short - Show the shortest information
3. Show information about hard drive status
* lsblk - See the disks we have
* lsblk -b - View information in bytes
* lsblk -m - information about the owner, group and mode
* lsblk -o NAME,SIZE - Show specific columns
* sudo apt install smartmontools - Install smart tool
* smartctl -a /dev/sdb - View status report in console
* smartctl -a /dev/sdb - /home/ghost/Desktop/reporte_disk.txt
4. Change TIME ZONE IN LINUX
* timedatectl - show our timezone
* timedatectl list-timezones - list the timezone
* timedatectl set-timezone America/Chihuahua - Add out timezone
5. VIEW, EDIT, CREATE AND MIX files with CAT
* cat [greater_than] filecat.txt === Create files and open them for editing - enter for new line - ctrl + d to exit
* cat file1.txt [larger] file2.txt === make a copy of file1 and replace everything in file2
* cat file1.txt [larger] file2.txt === we pass file1 to file2 while keeping the content of file2
* cat file1.txt file2.pdf [larger] newFile.pdf === concatenate multiple files and save them into one
* cat -E file.txt === mark the end of each line
* cat -n file.txt === print showing the number of rows
* tac file.txt === Show content in reverse order

Пікірлер
18 Commands That Will Change The Way You Use Linux Forever
29:50
Akamai Developer
Рет қаралды 1,2 МЛН
Electric Flying Bird with Hanging Wire Automatic for Ceiling Parrot
00:15
Fake watermelon by Secret Vlog
00:16
Secret Vlog
Рет қаралды 16 МЛН
Пришёл к другу на ночёвку 😂
01:00
Cadrol&Fatich
Рет қаралды 10 МЛН
No, Einstein Didn’t Solve the Biggest Problem in Physics
8:04
Sabine Hossenfelder
Рет қаралды 267 М.
How I installed the HARDEST operating system
34:40
Bog
Рет қаралды 376 М.
Harder Drive: Hard drives we didn't want or need
36:47
suckerpinch
Рет қаралды 1,7 МЛН
Apple October Event LEAKS - 7 NEW Devices are COMING!
10:20
Max Tech
Рет қаралды 166 М.
Linux File System/Structure Explained!
15:59
DorianDotSlash
Рет қаралды 4,1 МЛН
How Do Linux Kernel Drivers Work? - Learning Resource
17:02
LiveOverflow
Рет қаралды 549 М.
The Making of Linux: The World's First Open-Source Operating System
11:33
ForrestKnight
Рет қаралды 1,2 МЛН
Electric Flying Bird with Hanging Wire Automatic for Ceiling Parrot
00:15