Read about Perforce version control Interview Questions and their answers which is consolidated and answered by well known DevOps Trainer - Rajesh Kumar
Some of the perforce commands which is not commonly used but useful.
p4 annotate - Print file lines along with their revisions.
e.g p4 annotate file.c
How to ignore files/folder in perforce workspace/client?
Assuming you have a client named "CLIENT", a directory named "foo" (located at your project root), and you wish to ignore all .dll files in that directory tree, you can add the following lines to your workspace view to accomplish this:
-//depot/foo/*.dll //CLIENT/foo/*.dll
-//depot/foo/.../*.dll //CLIENT/foo/.../*.dll Read more click here
Reference:- This article was originally posted on scmGalaxy.com

This article about Perforce interview questions and answers was easy to read and understand. I liked how it shared common questions and clear answers in simple words so anyone can follow, even if they are new to Perforce or version control. It helped me see what kinds of things I might be asked in an interview and how to think about answering them. The examples made the topic feel less confusing and more useful for real preparation. This post is good for beginners who want to learn and feel more confident before going to an interview. Thank you for writing this in a clear and simple way — it made the ideas easier to learn and think about.
ReplyDelete