Home     About Us     RSSRSS

Mac OS X – Mount SMB vi Command Line

October 2, 2015 by @HKw@! | 1 Comment | Filed in Mac OS X

Recently i tried to upgrade my Mac OS X 10.10 to OS X El Capitan. After upgrade, i noticed that there is an issue connect smb share via Finder -> Connect to Server

As i need to access Samba server to access some important files for my work, i try to access Samba Server via command line.

Below are the steps to mount network share via command line.:-

First, create a folder called “test” somewhere in your home directory (wherever). Then open a terminal and type

mount -t smbfs //user@server_IP/sharename test

From the Finder, look in your home directory for the ‘test’ folder. It should appear to be an alias. Once you click it, the mounted volume will appear on your desktop.

Screen Shot 2015-10-02 at 12.33.44 PM

Screen Shot 2015-10-02 at 12.32.48 PM

 

 

 

 

“App Name” can’t be opened because it is from an unidentified developer” Error in Mac OS X Yosemite

April 20, 2015 by @HKw@! | No Comments | Filed in Mac OS X

I believed most of the Mac User that using Mac OS X 10.7.5 and above unable to install software that is not from Mac App store, example driver. Below screenshot will pop up when you trying to install software that is not registered with Apple by an identified developer

gatekeeper 1This is a new security feature called Gatekeeper that build in with Mac OS X 10.7.5 and above. The main purpose of this feature is to help protect your Mac from malware and misbehaving apps downloaded from the Internet. Read the rest of this entry »

How to do DNS lookup using Dig Command

April 16, 2015 by @HKw@! | No Comments | Filed in centos, Debian, Fedora, Linux, Mac OS X, Networking, RedHat, Ubuntu

Dig command is a command line tool use for querying DNS nameservers for information about host addresses, mail exchanges, nameservers, and related information. This tool is available on any Linux (unix) or Mac OS X operating system.

Example of using Dig Command

munkwais-MacBook-Pro:~ munkwai$ dig www.google.com

; <<>> DiG 9.8.3-P1 <<>> www.google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32350
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.google.com. IN A

;; ANSWER SECTION:
www.google.com. 299 IN A 173.194.126.80
www.google.com. 299 IN A 173.194.126.81
www.google.com. 299 IN A 173.194.126.83
www.google.com. 299 IN A 173.194.126.82
www.google.com. 299 IN A 173.194.126.84

;; Query time: 44 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Thu Apr 16 04:29:00 2015
;; MSG SIZE rcvd: 112

Read the rest of this entry »