terminal Blogs
Written by Kiprosh, team of passionate and disciplined craftsmen turning your ideas into reality.
Kiprosh is now part of LawLytics
Written by Kiprosh, team of passionate and disciplined craftsmen turning your ideas into reality.
I personally love this combination of iTerm2 + ZSH + Oh-my-zsh. iTerm2 is an amazing terminal, I always prefer it over macOS default terminal. If you want to install it then just go to iTerm2 site , download it and install. It has many advantages over macOS default terminal. Some of those are, easy finder you can easily search for the text in terminal, nice autocomplete feature, split panes, paste history and many more. I would highly recommend it and you can explore all of its highlighting feature Oh-my-zsh (OMZ) really makes terminal (iterm2) more interesting and useful. You do not need to
Following is an handy list of frequently used Linux (Ubuntu flavour) console commands Find Files find . -name '*.cnf' find . -name 'hello.workd' The dot here represents all files and folders in current path Mysql DUMP - Import and Export Export mysqldump -u username -p database_name > file_name_to_save.sql Import mysql -u username -p database_name Install LAMP on Ubuntu sudo apt-get install tasksel sudo tasksel sudo tasksel install lamp-server Install Apache2 on Ubuntu sudo apt-get update sudo apt-get install apache2 The /var/www path is the document root for the apache web apps. SCP - File
hub is a command line tool that wraps git in order to extend it with extra features and commands that make working with GitHub easier. Install $ gem install hub $ hub hub standalone > ~/bin/hub && chmod +x ~/bin/hub check successful installation with $hub version Create a new github repo demo-project$ git create [NAME] [-p] [-d DESCRIPTION] [-h HOMEPAGE] annotations -p create a private repository -d set the repository's description -h set the homepage URL This will create a new public GitHub repository from the current git repository and add remote origin at "git@github.com:USER/REPOSITORY.git"