Following a command line to create a file with 10Mb. $ base64 /dev/urandom | head -c 10000000 > file.txt
Tag: command line
[DevOps] – OpenShift – How to give permission to a user to get access to the system admin projects?
The following is the command line to do it via the Open Shift client tool ( oc ) after you … More
[Dev] – How to set up “$JAVA_HOME” environment variable on Mac OS X?
For Mac OSX => 10.5 Open the bash_profile file to edit it. $ vim ~/.bash_profile Add into the ~/.bash_profile the … More
[Git] – How to remove the remote and local branch by commands line?
The following is the command to remove the remote branch $ git push origin –delete <branch_name> The following is the … More
How to run or not tests when I’m using maven ?
First you can configure or project for always run the tests or not . SKYPE ALWAYS To skip running the … More
CommandLine : How to copy a file from a server using a public key ?
The command to copy files from others server is : scp user@server:/filepath/filename If you need connect with your public key … More
CommandLine : How to generate a public key with my mac ?
For do this you need use the command : ssh-keygen Example: Observation: all keys are in ~/.ssh directory.
PostgreSQL : Useful command line tips
How to access my postgree ? $psql -h server -U userName How to list my existing databases ? $\l How … More