Search Results

Search: Posts Made By: anuragpgtgerman
3,777
Posted By anuragpgtgerman
I tried the below code for i in TEST/*; do...
I tried the below code

for i in TEST/*;
do
for a in TEST/*;
do
if [[ $i == $a ]];then
echo "============"
else
comp=`comm -3 $i $a`;
if [[ $comp != "" ]];then
echo "=============="
else...
3,777
Posted By anuragpgtgerman
Directory containing files,Print names of the files in the directory that are exactly same content.
Given a directory containing say a few thousand files,
please output a list of all the names of the files in the directory that are exactly the same, i.e. have the same contents....
1,140
Posted By anuragpgtgerman
Now showing the correct output
Hello

I am working on one script where I am trying to display all the directories which is inside the workspace but somehow it is giving me weird output and this is occurring only with one...
3,319
Posted By anuragpgtgerman
Grep the exact process in perl script
I am working on one script where I need to grep the exact process in perl script.

for e.g. when I run simple grep command on the linux machine it gives me two process mGateway_mvc_q01 and...
3,534
Posted By anuragpgtgerman
NOPE
NOPE
3,534
Posted By anuragpgtgerman
Find word in a line and output in which line the word occurs / no. of times it occurred
I have a file: file.txt, which contains the following data in it.

This is a file, my name is Karl, what is this process, karl is karl junior, file is a test file, file's name is file.txt
...
1,300
Posted By anuragpgtgerman
Thanks For your support
Thanks For your support
1,300
Posted By anuragpgtgerman
Nth field should have space and rest commas
Hello

I was working on a script where the output of my file is
1234
4567
8973
43214
78965

I need the value in below format of this file.The nth field should have space instead of ,(comma)...
1,444
Posted By anuragpgtgerman
Both the variables has been mentioned in my above...
Both the variables has been mentioned in my above post old_runtime_version and new_runtime_version.

I tried your command and it is not working.Please suggest
1,444
Posted By anuragpgtgerman
I was using the below command to do it ...
I was using the below command to do it



old_runtime_version=<outputFileNameMapping>${artifact.artifactId}-${project.version}.${artifact.extension}</outputFileNameMapping>
...
1,444
Posted By anuragpgtgerman
Replace specific line in file
Hello

I am working on a script where I need to replace the particular line with new line

Old line is
...
29,068
Posted By anuragpgtgerman
Thanks for your support
Thanks for your support
29,068
Posted By anuragpgtgerman
Can you please let me know one thing how could I...
Can you please let me know one thing how could I add or subtract hours,minutes or seconds for the time that is store in a variable.I know how to do from the current time but not able to do that from...
29,068
Posted By anuragpgtgerman
This problem is when the person who is working...
This problem is when the person who is working from India choose the time in MST to create the Instance it doesn't create the Instance with the correct time
If I choose time 10 AM MST then it...
29,068
Posted By anuragpgtgerman
Add or Subtract the hours,minutes or seconds in the the time variable
Hello All,

I am working on script where I need to add hours,minutes or seconds in the time.Time is not the current but it could be future time.I thought I can store that time in variable and add...
3,999
Posted By anuragpgtgerman
List the file names available on FTP server before selecting the required file
Below is my script code.which shows the environment name and then fetch the file from the ftp server but I am facing one issue.The script should be run in both way.We can pass the arguments with...
1,663
Posted By anuragpgtgerman
My description was not clear.I apologies for this...
My description was not clear.I apologies for this

my intention was to rename the file here a b c are files which will renamed with d e and f files.I was using the above logic in my sciript to...
1,663
Posted By anuragpgtgerman
Rename the file with specific pattern
Hello

I am making a script where I need to rename the files but with different names.The file name could be change according to the product
I made a logic but that is not working properly

...
680
Posted By anuragpgtgerman
Create an execution logic of script
Hi All,

I have a file which is in below shape. Script should run and pick 1 and 2nd line and first line value store in A variable only numeric and 2nd line value should store in B variable only...
944
Posted By anuragpgtgerman
Copy in python
I need an help in python script.I need to incorporate a small code in python

copy the direcotry content to other direcotry.
In my script source and destination direcotry is defined and but I...
1,885
Posted By anuragpgtgerman
Hi Sir, What am I trying to do is for e.g...
Hi Sir,

What am I trying to do is
for e.g I have shell scripting deposit2mks.sh.I will run that shell script from linux box and there is batch script which reside on window server (esp.bat).My...
1,885
Posted By anuragpgtgerman
Need to run the batch script from shell scripting
Hi All,

I am working on shell scripting.My script is completed but I have one task that is to trigger the batch script(with or without parameter) from my shell scripting(reside on linux system)...
1,508
Posted By anuragpgtgerman
Put the numeric validation in user input when value is 5.1.2.3
Hi

I need to put the validation in batch script when user will enter the build number it should be numeric.I can put the validation for numeric values but there is .(dot) in number so it would...
3,090
Posted By anuragpgtgerman
Thanks for your kind Support
Thanks for your kind Support
3,090
Posted By anuragpgtgerman
Validation in user input in batch script
I need to insert the validation in my batch script.When user enter the value it should be numeric+minimum length should be 2 for e.g. 02,03 if he puts 1a,1A,2a3 t hen should print the message that...
Showing results 1 to 25 of 96

 
All times are GMT -4. The time now is 02:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy