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

About these ads

Tagged: , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

What’s this?

You are currently reading Few things you may need to know on Mac – part2 at Sebastiano Armeli's Tech Blog.

meta

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: