📒
wiki
  • Introduction
  • Coding
    • Git
    • NPM
    • Yarn
    • VIM
    • tmux
    • Terminal
    • HTML
    • Node
    • JavaScript
      • Types
    • TypeScript
    • React
    • Jest
    • FLow
    • Functional programming
    • Data Structures
    • Coding Exercises
    • Design Systems
    • VSCode
  • Learn
    • Languages
  • Health
  • Bikes
  • Ideas
  • Journals/Wiki
  • Looking back
    • 2019
      • September
      • October
      • November
      • December
Powered by GitBook
On this page
  • General
  • return the last command
  • make file executable
  • add write access to a group
  • change file owner and group
  • check folder size
  • Setup
  • Using Alt/Cmd + Right/Left Arrow in iTerm

Was this helpful?

  1. Coding

Terminal

General

return the last command

!!

make file executable

chmod +x

add write access to a group

chmod g+w

change file owner and group

chown

check folder size

du -h Gigabyte <folder_name>

-h "Human-readable" output. Use unit suffixes: Byte, Kilobyte, Megabyte, Gigabyte, Terabyte and Petabyte.

Setup

Using Alt/Cmd + Right/Left Arrow in iTerm

Go to iTerm Preferences → Profiles, select your profile, then the Keys tab. Find ⌥← and ⌥→ and set them to send escape sequence b and send escape sequence f respectively.

https://apple.stackexchange.com/questions/136928/using-alt-cmd-right-left-arrow-in-iterm

PrevioustmuxNextHTML

Last updated 3 years ago

Was this helpful?