Skip to content

Latest commit

 

History

History
135 lines (96 loc) · 3.68 KB

workshop17.md

File metadata and controls

135 lines (96 loc) · 3.68 KB

CSESoc Commandline Tools Workshop 2017

Git

ls -la | grep '^lrw' | perl -pne 's/\s+(?=[^\n])/,/g' | cut -f 9 -d, | grep '^\.'

Remote Computing

Bash

config file: .bashrc
readline (and macOS support)
!!
Meta-. Meta-[1-9]
Ctrl-r Ctrl-s [[ $- == *i* ]] && stty -ixon —> .bashrc
hstr
Ctrl-z suspend, fg resume
cd -
Ctrl-L > clear

Zsh

config file: .zshrc

  • completion of filenames, command flags, history, git/kill commands
  • shared command history
  • autocorrection
  • cd abbreviations

Text Editor

Misc

sed —> perl -pne
xargs

Tmux

Sessions, windows, panes
Prefix
.tmux.conf
last command (Prefix-b)

Terminal Emulators

Documentation

System Monitor

Rust Utils

Python

Further Reading