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 »

Shell Bash Scripting: Assignment & Excercise – 18

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 »

Shell Script to Find All New Files Added

scmuser created the topic: shell script to find all new files added Hi, i am looking for a shell script to find all new files added or modified after a…

Read more »

Shell Script Program 1

scmuser created the topic: shell script program 1 Device a script that takes a filename as argument ( which must exist in the current directory) and locates from your home…

Read more »

Find Out If Running Kernel Is 32 Or 64 Bit

rajeshkumar created the topic: Find Out If Running Kernel Is 32 Or 64 Bit Type the following command at the terminal, run: $ uname -a Output: Linux ora100 2.6.5-7.252-smp #1…

Read more »

How Do I Find Out CPU is 32bit or 64bit?

rajeshkumar created the topic: How Do I Find Out CPU is 32bit or 64bit? Simply type the following command and if you see lm in output, you have a 64…

Read more »

How to gunzip and untar all at once!

rajeshkumar created the topic: How to gunzip and untar all at once! How to gunzip and untar all at once! gunzip myfile.tar.gz tar -xvf myfile.tar INTO ONE tar -zxvf myfile.tar.gz…

Read more »

RMP Quick Books Command

rajeshkumar created the topic: RMP Quick Books Command Before trying to build anything from it, you should run rpmlint on the spec file: rpmlint program.spec Once you’ve create a spec…

Read more »

Shell script program 2

scmuser created the topic: Shell script program 2 Use a script to take two numbers as arguments and output their sum using (i) bc (ii) expr. include error – checking…

Read more »

$# and $* Questions

scmuser created the topic: $# and $* questions If a script is run as foo -l -t bar [1-3], what are the values of $# and $*? does it make…

Read more »

Exit status of command

scmuser created the topic: Exit status of command What are the exit status of a command? what is its normal value and where is the value stored? Rajesh KumarI’m a…

Read more »

tty terminals related script??

scmuser created the topic: tty terminals related script?? Develop script logic that allows only romeo and henry to execute a program, and only from the terminals tty05 and tty06 Rajesh…

Read more »

Df and Du issues with script

scmuser created the topic: df and du issues with script A script named test containing the df and du commands displays nothing when executed. Why does that happen? state two…

Read more »

Grep and Sed Questions with Shell script

scmuser created the topic: grep and sed questions with shell script Search for a pattern with grep and sed and look for a file with find. Test the return value…

Read more »

Character validation in shell script?

scmuser created the topic: character validation in shell script? Write shell code to accept a string from the terminal, and echo a suitable message if it does not have at…

Read more »

Find absolute path name of a file

scmuser created the topic: Find absolute path name of a file Use expr to extract the parent directory from the absolute path name of a file Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud…

Read more »

Find Last Modification Time of File

scmuser created the topic: find last modification time of file Write a script that accepts a filename as argument and displays the last modification time if the file exist and…

Read more »

Make sure script is running using korn shell

scmuser created the topic: Make sure script is running using korn shell If you have developed a script using the Korn shell, how will you make sure the script will…

Read more »