Shell Script to Install Ansible AWX in RHEL 7 and CENTOS 7

Read more »

Shell/Bash Scripting Interview Questions and Answer – Part 3

How can I print shell script name? How to write a script when the first command is executed then execute the below script? Can you tell me the syntax for…

Read more »

My Shell Script Usage Collection

sgadmin created the topic: My Shell Script Usage Collection Count Total number of files in Directory and Subdirectory > find . -type f | wc –l Count Specific extention files…

Read more »

How to read a .properties file through script

rajeshkumar created the topic: How to read a .properties file through script The easy way to do it is to note that a Java properties file has the same format…

Read more »

Shell script to run x times

rajeshkumar created the topic: shell script to run x times Problem: First i need to cd to this directory $SWDIR/util Second i need to run the following either 4 times…

Read more »

Whats the difference between running a shell scrip

scmuser created the topic: Whats the difference between running a shell scrip Whats the difference between running a shell script as ./script.sh and sh script.sh have a script that looks…

Read more »

Perl commandline search and replace

rajeshkumar created the topic: Perl commandline search and replace Perl commandline search and replace The better option is using perl command line search and replace option. The syntax is the…

Read more »

Unix command to find memory usage

rajeshkumar created the topic: unix command to find memory usage Monitor processes continuously. Updates every 3 seconds by default. Displays useful information such as total memory, memory in use, %…

Read more »

Shell script merge two list and remove duplicates

rajeshkumar created the topic: shell script merge two list and remove duplicates You want all the records from list_A supplemented by all the records from list_B for which there is…

Read more »

Shell script for recursive delete required.

rajeshkumar created the topic: Shell script for recursive delete required. #!/bin/bash if [ $# -ne 1 -o ! -d “$1” ] then echo “Usage $0 dirname” exit 1 fi find…

Read more »

Find Application Instance Directory In Unix

scmuser created the topic: find application instance directory in unix How to find installed application directory in unix? rajeshkumar replied the topic: Re:find application instance directory in unix use Which…

Read more »

Shell Script to delete a folder that is more then

scmuser created the topic: Shell Script to delete a folder that is more then Shell Script to delete a folder that is more then 1 week old Hi all, i…

Read more »

Shell Script Run in Background

rajeshkumar created the topic: shell script run in background I wanted to run a particular shell program in a background and it should not be dependent on terminal session of…

Read more »

How to perl script to extract data

mnanjala created the topic: how to perl script to extract data Hi All, Below are the contents in the test.txt file id name adress 1 rajesh pune 2 pravin puttur…

Read more »

Command to start SMTP

scmuser created the topic: command to start SMTP Hi… To start SMTP service use the below command #/etc/init.d/sendmail start To stop the SMTP service use the below command #/etc/init.d/sendmail stop…

Read more »

Copy only modified or added files using tar

scmuser created the topic: copy only modified or added files using tar Hi, i want to make a tar with only files which got added to modified after some date…

Read more »

/bin/tar: Removing leading `/’ from member names

scmuser created the topic: /bin/tar: Removing leading `/’ from member names Hi, When i run following script i get a error somthing like /bin/tar: Removing leading `/’ from member names…

Read more »

How to Restore The Dump File using Shell Scripting

scmuser created the topic: how to restore the dump file using shell scripting I have created a script file to dump the application files using the following script Code =============…

Read more »

Starting sonar issues in linux

scmuser created the topic: Starting sonar issues in linux Hi, when I am starttign a sonar, I am getting following error… Any help? Starting sonar…./sonar.sh: line 490: /usr/local/sonar-2.2/bin/linux-x86-64/./wrapper: cannot execute…

Read more »

How to access windows share folder from linux

scmuser created the topic: How to access windows share folder from linux Hi, Can you tell me How to access windows share folder from linux? Reagrs, scm scmuser replied the…

Read more »