Tag Archives: Command line

Perforce Command Line Global Options

<!– .style1 { font-size: 24px; font-weight: bold; } –> Perforce Command Line Global Options Global options for Perforce commands; these options can be supplied on the command line before any Perforce command. Syntax p4 [-cclient -ddir -Hhost -pport -Ppass -uuser -xfile -Ccharset -Qcharset -Llanguage] [-G] [-s] [-z tag] cmd [args …] p4 -V p4 -h  … Read More »

Perforce Command Line

Command Description p4 add Open file(s) in a client workspace for addition to the depot. p4 admin Perform administrative operations on the server. p4 branch Create or edit a branch specification and its view. p4 change Create or edit a changelist specification. p4 changelists List submitted and pending changelists. p4 changelist Create or edit a… Read More »

Java Command Line Options

-client       to select the “client” VM -server       to select the “server” VM -hotspot      is a synonym for the “client” VM  [deprecated] The default VM is client. -cp <class search path of directories and zip/jar files> -classpath <class search path of directories and zip/jar files> A ; separated list of directories, JAR archives, and ZIP archives… Read More »

Complete guide to use Jenkins CLI / Command line | Jenkins Tutorials

Complete guide to use Jenkins CLI / Command line? Run Jenkins build from command is very simple in Linux system. If you are using using windows, gitbash is a recommended which has bash shell in built. You can use windows command line as well. Jenkins has support to command line client that allows you to… Read More »

Docker Command line Reference | Docker Tutorial | Docker Guide

One liner to stop all of Docker containers: > docker stop $(docker ps -a -q) One liner to remove all of Docker containers: > docker rm $(docker ps -a -q) OR > docker rm $(docker images -q) OR > docker rmi $(docker images -q) In case of error message Get http:///var/run/docker.sock/v1.14/containers/json?all=1: dial unix /var/run/docker.sock: permission… Read More »

Chef Commands Line Reference | Chef Commands Line Guide | Cheatsheet

To run single recipe using chef-solo > chef-solo -c /opt/chef/repo/config/solo.rb -o my_cookbook::recipe To run the single reciepe in same machine > chef-apply hello.rb To generate the cookbook standard structure > chef generate cookbook learn_chef_httpd > knife cookbook create smartmontools -r md To generate the template file in cookbook > chef generate template learn_chef_httpd index.html To… Read More »

Know About Jenkins CLI | Jenkins CLI Guide

Running CLI java -jar jenkins-cli.jar [-s JENKINS_URL] command [options…] [arguments…] Getting help java -jar jenkins-cli.jar -s yourserver.com help [command] How to download jenkins-cli.jar? The best place to download the Jenkins CLI jar is from your own Jenkins server. This means you’ll have the matching CLI version. Visit the /cli endpoint, such as http://yourserver.com/cli, and it… Read More »

Understand Jenkins CLI | Jenkins CLI Reference

Running CLI java -jar jenkins-cli.jar [-s JENKINS_URL] command [options…] [arguments…] Getting help java -jar jenkins-cli.jar -s yourserver.com help [command] How to download jenkins-cli.jar? The best place to download the Jenkins CLI jar is from your own Jenkins server. This means you’ll have the matching CLI version. Visit the /cli endpoint, such as http://yourserver.com/cli, and it… Read More »