Skip to content

Instantly share code, notes, and snippets.

@denny0223
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save denny0223/9853555 to your computer and use it in GitHub Desktop.
Save denny0223/9853555 to your computer and use it in GitHub Desktop.
Sinta Design Meetup #2 - Linux Shell Intro.tpp
--withborder
--center Sinta Design Meetup #2
--center Linux Shell Intro
--author Denny Huang
--date today
--newpage
--withborder
--heading Denny Huang
---
- http://me.sitcon.org/denny0223
---
- Chief Coordinator at SITCON 2013, 2014
---
- SITCON
- http://sitcon.org
---
- TTUCSC
- http://goo.gl/X086X
--newpage
--heading SITCON
--withborder
---
SITCON 2014
---
SITCON HackGen
---
SITCON Workshop
---
SITCON Summer Camp
--newpage
--heading Survey
--withborder
---
SITCON 2014 participants?
---
Linux / Mac user?
---
Programming?
---
C / Java / js ...
---
CLI only?
--newpage
--heading Shell?
--withborder
---
--center user
--center ------------
--center shell
--center ------------
--center kernel
--center ------------
--center hardware
--newpage
--heading Why learn shell?
--withborder
---
--boldon
--center ###### ####### # # #######
--center # # # ## ## # #
--center # # # # # # # # #
--center # # ##### # # # # #
--center # # # # # # #
--center # # # # # # #
--center ###### ####### # # #######
--boldoff
--newpage
--withborder
--heading Resource
- http://www.gnu.org/software/bash/manual/html_node/index.html
- http://www.tldp.org/LDP/abs/html/index.html
--newpage
--heading sh, bash, zsh ... ?
--withborder
---
--beginshelloutput
$ cat /etc/shells
/bin/sh
/bin/bash
/sbin/nologin
/usr/bin/sh
/usr/bin/bash
/usr/sbin/nologin
/usr/bin/tmux
--endshelloutput
--newpage
--heading command line format
--withborder
---
--beginshelloutput
$ ls
--endshelloutput
---
--beginshelloutput
$ ls -a
--endshelloutput
---
--beginshelloutput
$ ls --all
--endshelloutput
---
--beginshelloutput
$ ls -a -l
--endshelloutput
---
--beginshelloutput
$ ls -al
--endshelloutput
---
--newpage
--heading How's that work?
--withborder
--newpage
--heading System Environment
--withborder
---
- PATH
---
- PS1
--newpage
--heading arguments
--withborder
---
- argc, argv
--newpage
--heading The Man!
--withborder
---
--beginshelloutput
$ man ls
--endshelloutput
---
$ sudo yum install man-pages
--newpage
--heading rc-files
--withborder
---
https://github.com/denny0223/rc-files
---
- bashrc
---
- inputrc
--newpage
--heading inputrc
--withborder
---
emacs, vi mode
---
--beginshelloutput
$ man readline
--endshelloutput
---
$ sudo yum install readline-devel
--newpage
--heading tmux
--withborder
--newpage
--withborder
--center _____ ____ ______
--center /\ __`\ /| _ \ /\ _ \
--center \ \ \/\ \ |/\ | \ \ \L\ \
--center \ \ \ \ \ \// __`\/\ \ \ __ \
--center \ \ \\'\\ /| \L> <_ \ \ \/\ \
--center \ \___\_\ | \_____/\/ \ \_\ \_\
--center \/__//_/ \/____/\/ \/_/\/_/
---
--center THE END!
--center Thanks for your listening
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment