Tag Archives: commands

How to upload the artifacts in Sonatype Nexus | Tutorial

  1. Upload Artifacts using NEXUS GUI https://books.sonatype.com/nexus-book/reference/using-sect-uploading.html 2. Upload Artifacts using Maven pom.xml using “mvn deploy” Update your pom.xml with following… <distributionManagement>   <repository>   <id>deployment</id>   <name>Internal Releases</name>   <url>http://uvo1ppw4qmimuo3p1tg.vm.cld.sr:8081/nexus/content/repositories/releases/</url>   </repository>   <snapshotRepository> <id>deployment</id> <name>Internal Releases</name> <url>http://uvo1ppw4qmimuo3p1tg.vm.cld.sr:8081/nexus/content/repositories/snapshots/</url> </snapshotRepository> </distributionManagement> Update your setting.xml with following <servers> <server> <id>deployment</id> <username>deployment</username> <password>deployment123</password> </server> </servers> 3.… Read More »

gsh – Run linux commands on many other linux server at once

gsh – Run linux commands on many other linux server at once Group Shell (also called gsh) is a remote shell multiplexor. It lets you control many remote shells at once in a single shell. Unlike other commands dispatchers, it is interactive, so shells spawned on the remote hosts are persistent. GSH is a pluggable… Read More »

Linux Commands for Administrator | Linux Admin Commands Reference

su: Acquiring Superuser Status # su  :- Acquire  Superuser after entering password but home directory does not change # su – l :– Acquire Superuser access after password but home  directory change to ROOT # su  – henry : – To  Login and Recreate a user environment # sudo -s root -c “/bin/bash -l” passwd… Read More »

Linux Commands for User | Linux User Commands Reference

General Commands Not Used Frequently cal – The Calender bc – The Calculator file – knowing the file types cmp – Comparing two files. comm – Common in two files dos2unix and unix2dos – Converting between dos and unix stat – Display file or file system status such as Access, Modify,Change, users and more #… Read More »

Perforce backup commands | Perforce backup method

There are several commands and arguments that allow more complex operations. (A command line flag “-z” tells Perforce to use compre ssion.) The commands are as follows: p4d -jc [-z] – Take a checkpoint, rotate the journal p4 admin checkpoint [-z] – Client-side checkpoint/journal p4d -jj [-z] – Rotate the journal p4d -jr [-z]filename –… Read More »

How to Execute external commands by using perl?

There are many ways to execute external commands from Perl. The most commons are: system function exec function backticks (“) operator open function All of these methods have different behaviour, so you should choose which one to use depending of your particular need. In brief, these are the recommendations: method use if … system() you… Read More »

Common unix commands and utilities | unix commands and utilities Guide

To find a program not on this list (and there are hundreds), try the man program with the -k option followed by a keyword, for example, man -k tape to find all on-line manual entries that refer to programs that work with tapes. Terminal control characters for C-shell (csh) ^h, backspace erase previously typed character… Read More »

A sample Ant build script that builds a WAR file – Guide

A sample Ant build script that builds a WAR file <project name=”MyWebApplication” basedir=”..” default=”install”> <!– project-specific variables –> <property name=”jsp.dir.name” value=”myapp” /> <property name=”package.name” value=”${jsp.dir.name}.war” /> <property name=”webapp.dir” value=”/Users/al/tomcat-6.0.16/webapps” /> <property environment=”env” /> <property name=”build.dir” value=”build” /> <property file=”${build.dir}/build.${env.HOSTNAME}” /> <property name=”lib.dir” value=”lib” /> <property name=”pages.dir” value=”pages” /> <property name=”src.dir” value=”src” /> <property name=”src.tests.dir” value=”src-tests”… Read More »

Windows XP/2000 Commands & Tools | Windows XP Command-line Reference

Here’s the ultimate Windows XP/2000 command list that will make any Linux user feel at home at the command prompt. A lot of these commands are intended for administrating a network, but they are great for savvy home users as well.  We even listed which OS you need for these commands. Many thanks to the… Read More »

VI/VIM editor Commands | VI/VIM editor commands reference | Cheat Sheet

what will happen ? “man ls |col -b > ” will give the text file same as man ls. what is VI-editor ? While in vi you can run AIX commands without exiting the editing session. The! creates a shell to execute the command that follows. 1. :!ls will create a shell 2. All files… Read More »