Few things you may need to know on Mac – part2

21/09/2010 § Leave a Comment


5. How can I set an alias?

You can set an alias with the command alias cdlogs=”cd /opt/prog”

but to store the alias you need to store the previous command in ~/.bash_profile


6. Where can I find my Java version running on my Mac?

which java and

java –version to know the version you’re using

7. I often download some tar or tar.gz files, what are they?

tar files are simply archived files. gz stands for Gzip, so means that the tar.gz files are archived and also Gzipped.

You usually can unzip it executing

tar xvzf file.tar.gz

or create the zip executing

tar cvzf file1.txt file2.txt

8. What’s a DAEMON?

It’s simply the equivalent of a Windows Service in Unix

Where Am I?

You are currently browsing entries tagged with Mac Unix at Sebastiano Armeli's Tech Blog.

Follow

Get every new post delivered to your Inbox.