I am trying to access perforce and perform Sync operation from command line on Mac machine OS x 10.8.5
Can any one tell me how to access perforce for command line.
I have placed p4 client in /usr/bin directory,
From Terminal when i execute command : P4 or p4 help, im getting below error message.
Perforce client error: Connect to server failed; check $P4PORT. TCP connect to perforce:1666 failed. nodename not servname provided, or not known
Step by step approach to set up Perforce, will be greatly appreciated
Note: P4V gui version is working fine, I need to execute Sync command from Command line for bash script.
Thanks in advance.