Unix Cheatsheet

Here is a list of useful commands that I find myself having to look up fairly often :

Move contents of folder one folder up and remove said folder

From the subfolder that you no longer need : mv * .[^.]* ..

Modifying hosts file (Mac/ Linux)

sudo vi /etc/hosts

Leave a Reply

Your email address will not be published. Required fields are marked *

Click to view allowed tags

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.