Monday, August 13, 2018

Mostly used unix commands for creating batch jobs/deployment jobs with jenkins or teamcity


  1. sleep 15
Delays for 15 seconds
  1. rm -rf rmcommand removes (deletes)files
r means recursive, which you have to use when removing an entire folder f means force removal
combined, rm -rf someDirectory means force the recursive removal of someDirectory
  1. cp
cp is the command which makes a copy of your files or directories.
  1. wget
Wget will download the specified files.
  1. ps -ef | grep
The ps command is used to provide information about the currently running processes.
     6.mkdir
mkdir is used to create directories on a file system.
     7.unzip
Unzip will extract from zip archive. –d shows an optional directory to which to extract files.
    8.pbrun
Pbrun provides advanced root privilege.

No comments:

Post a Comment

How to check whether operating system is 64 bit or 32bit?

What is 32 and 64 bit operating system? The terms 32-bit and 64-bit refer to the way a computer's processor that is CPU, handles info...