Monday, February 11, 2013

Basic terminal commands

Im very sorry - i've been lazy these days. Lets get to the point now,
If you are migrating from windows to mac then u might be in trouble as i were or in anyways you are in  trouble  learning Mac osx terminal then you dont neet to worry. Grab a pencil and paper -In this whole month, My blog is going to be flooded with Terminal commands.






1. ls
It lists the contents of a directory like we use dir command on windows.

2. cd
It  chages the directory

3. .
Note : above command is a single dot it is used to refer a single dot , type in cd . in your terminal and find out what it does and remember there is space between cd and dot.

4. ~
It stands for home directory in Macosx type cd  ~  to find out what it does.

5. pwd
sorry it does not shows passwords in Macosx it stands for print working directory or simply prints the directory you are currently in.

6. cal
It prints the calendar of the current month

7. users
It prints users who are currently registered on your machine.

8. ps or top (They are different i'll come to that point later on my blog, For now you should know that it works)
Watch the process running on your Macosx.

9. clear
It clears the screen

For now all you need to know is this , If you have any question regarding advanced terminal commands which may include and not limited to piping , grep commands , ssh commands , ssh- keygens , standard i/o or  finding stuffs feel free to leave the comments below or contact me.



No comments:

Post a Comment