Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
FMI-Rust: Shell Basics
Search
Andrew Radev
October 19, 2021
Programming
0
200
FMI-Rust: Shell Basics
A quick intro to the linux shell
Andrew Radev
October 19, 2021
Tweet
Share
More Decks by Andrew Radev
See All by Andrew Radev
Употреба и скриптиране на Vim във ФМИ 2023
andrewradev
0
390
Programming Rust at FMI, 2022
andrewradev
0
560
Rust: Настояще и бъдеще (БургасКонф 2022)
andrewradev
0
68
Programming Rust at FMI, 2021
andrewradev
0
500
[OpenFest 2020] The Freedom of Static Typing
andrewradev
0
53
Programming Rust at FMI, 2020
andrewradev
0
590
Programming Rust at FMI, 2019
andrewradev
0
430
[DevFest Toulouse 2019] The Freedom of Static Typing
andrewradev
1
190
Stranger Tests
andrewradev
0
330
Other Decks in Programming
See All in Programming
短期間での新規プロダクト開発における「コスパの良い」Goのテスト戦略」 / kamakura.go
n3xem
2
210
Scalaから始めるOpenFeature入門 / Scalaわいわい勉強会 #4
arthur1
1
380
선언형 UI에서의 상태관리
l2hyunwoo
0
250
Flatt Security XSS Challenge 解答・解説
flatt_security
0
590
Androidアプリのモジュール分割における:x:commonを考える
okuzawats
1
260
コンテナをたくさん詰め込んだシステムとランタイムの変化
makihiro
1
180
KubeCon + CloudNativeCon NA 2024 Overviewat Kubernetes Meetup Tokyo #68 / amsy810_k8sjp68
masayaaoyama
0
290
Асинхронность неизбежна: как мы проектировали сервис уведомлений
lamodatech
0
1.3k
テストケースの名前はどうつけるべきか?
orgachem
PRO
1
180
Kaigi on Railsに初参加したら、その日にLT登壇が決定した件について
tama50505
0
140
HTML/CSS超絶浅い説明
yuki0329
0
160
Оптимизируем производительность блока Казначейство
lamodatech
0
870
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
How GitHub (no longer) Works
holman
312
140k
Code Reviewing Like a Champion
maltzj
521
39k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.3k
Unsuck your backbone
ammeep
669
57k
Building a Scalable Design System with Sketch
lauravandoore
460
33k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
940
Bash Introduction
62gerente
609
210k
Site-Speed That Sticks
csswizardry
2
220
Designing Dashboards & Data Visualisations in Web Apps
destraynor
230
52k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
Building Flexible Design Systems
yeseniaperezcruz
328
38k
Transcript
Основни “конзолни” неща под линукс
Терминални емулатори • gnome-terminal • konsole • alacritty • rxvt-unicode
/ urxvt
Shell-ове • sh • bash • zsh • fish
Важни клавишни комбинации • Излизане: Ctrl+d (или командата exit) •
Изчистване на екрана: Ctrl+l (или clear) • Паузиране и рестартиране на output: Ctrl+s, Ctrl+q • Спиране на програма: Ctrl+c • Вадене в background: Ctrl+z, връщане с fg
Навигация по директории • Къде съм?: pwd (print working directory)
• Какво има тук?: ls (listing) • Влизане в директория: cd (change directory) • Коя команда се изпълнява?: which
Пътища • Root директорията е / • Абсолютен път: /home/andrew/shell_screencast
• Релативен път: • example_1/src • ./example_1/src • ../shell_screencast/example_1/src
Флагове • Кратки и дълги: ls -r, ls --reverse •
--help, man • Неконсистентни, примерно cd няма, защото е builtin • cargo
Вход и изход • stdin, stdout, stderr • ls >
file_listing.txt • ls | grep notes • grep Ctrl notes
Misc • Създаване и триене на директории: mkdir, rm -r
• echo “Your home is $HOME” • xdg-open . • AndrewRadev/dot-shell