Pavel Straňák
stranak@ufal.mff.cuni.cz
Friday 12:30–14:00
Palachovo nám. 2, room C131
17. 3. 2023
Terminal Multiplexer
screen
tmux
is more capable and easier to usevertical window split
horizontal window split
prefix
indicates a command for Tmux:key-combination | command |
---|---|
C-b |
send-prefix |
? |
list-keys |
d |
detach-client |
" |
split-window |
% |
split-window -h |
- |
delete-buffer |
C-o |
rotate-window |
c |
new-window |
w |
choose-window |
0 |
select-window -t :0 |
1 |
select-window -t :1 |
C-Up |
resize-pane -U |
C-Down |
resize-pane -D |
C-Left |
resize-pane -L |
C-Right |
resize-pane -R |
vim
, emacs
joe
: good compromise: quite capable and quite easy to
usepico
, nano
: minimalistic editors. Easy to
use as emergency in terminal, but not suitable for serious workln -s /mnt/c/… (path to your linux home) winhome
(more
about links later)
cd winhome
~/.bashrc
notepad.exe ~/.bashrc
, but there
really are better editors 😀
alias Less=less -M
alias ll='ls -lh'
code .
opens the current directory in VS CodeModern source code editor should provide:
(source: NPFL092)
less
by command
v
$EDITOR
)<esc>:q!
<esc>
i
v
/V
vimtutor
:h help
vim +nn <file>
chmod +x
on a file makes it “executable”, so it can be
run as ./my-program.pl
;
) separates commands#!/usr/bin/env bash
#!/usr/bin/env bash
http://universaldependencies.org
\t
separates columnsword order, form, lemma, POS, morphology-features, parent, ...