Nlt 1-terminal-basics
-
Upload
university-of-winchester -
Category
Technology
-
view
51 -
download
1
description
Transcript of Nlt 1-terminal-basics
WOODIWISS.MEFreelance Web Developer & Lecturer in the Winchester, Hampshire area.
Command Line InterfacesThe Basics
WOODIWISS.ME
–Wikipedia
“Command-line interfaces are often preferred by more advanced computer users, as they often provide a more concise and powerful means to control a program or operating
system.”
WOODIWISS.MEFreelance Web Developer & Lecturer in the Winchester, Hampshire area.
CLI vs GUI
WOODIWISS.MEFreelance Web Developer & Lecturer in the Winchester, Hampshire area.
WOODIWISS.MEFreelance Web Developer & Lecturer in the Winchester, Hampshire area.
Both have their uses!
WOODIWISS.ME
Directories or folders?Same thing, but…
Lets call them directories for now.
WOODIWISS.ME
Directories From the CLI
• Current directory .
• Parent directory ..
WOODIWISS.ME
Directories From the CLI
• Current directory .
• Parent directory ..
WOODIWISS.ME
Directories From the CLI
• Current directory .
• Parent directory ..
WOODIWISS.ME
List / Show files
• Unix - ls
• CMD - dir
!
• Options
• ls -a
• dir /a:h
WOODIWISS.ME
Copy
• cp ./.file2.txt ./.file4.txt
• copy .\.file2.txt .\.file4.txt
WOODIWISS.MEFreelance Web Developer & Lecturer in the Winchester, Hampshire area.
Is a clever idea. Especially when using sudo, rm -rf …
WOODIWISS.MEFreelance Web Developer & Lecturer in the Winchester, Hampshire area.
Beyond
WOODIWISS.ME
Cygwin
• a collection of tools which provide a Linux look and feel environment for Windows.
• a DLL (cygwin1.dll) which acts as a Linux API layer providing substantial Linux API functionality.
WOODIWISS.ME
oh-my-zsh
• Replacement shell
• oh-my-zsh is an open source, community-driven framework for managing your ZSH configuration. It comes bundled with a ton of helpful functions, helpers, plugins, themes, and few things that make you shout… “OH MY ZSHELL!”
WOODIWISS.ME
Vagrant
• “Create and configure lightweight, reproducible, and portable development environments.”
• http://www.vagrantbox.es/
WOODIWISS.ME
Docker
• Docker is an open-source project to easily create lightweight, portable, self-sufficient containers from any application. The same container that a developer builds and tests on a laptop can run at scale, in production, on VMs, bare metal, OpenStack clusters, public clouds and more.
WOODIWISS.ME
Modern.ie
• Testing for Internet Explorer just got a little easier.
• modern.IE is a dev center – free tools & resources – built so you can spend less time testing for the various versions of Internet Explorer and more time building what matters to you on the modern web.
• VMs
WOODIWISS.ME
Links / Research• http://lifehacker.com/5633909/who-needs-a-mouse-learn-to-use-
the-command-line-for-almost-anything
• http://lifehacker.com/5633909/who-needs-a-mouse-learn-to-use-the-command-line-for-almost-anything
• https://github.com/robbyrussell/oh-my-zsh
• http://www.vagrantup.com/
• https://www.docker.io/
• http://www.modern.ie/en-us
• http://www.cygwin.com/
WOODIWISS.MEFreelance Web Developer & Lecturer in the Winchester, Hampshire area.
Questions?