Search Results

Search: Posts Made By: maitree
1,869
Posted By maitree
Mounting filesystem
Could anyone help me please as I am stuck up.

I want to mount /home/dun/maitree location of server A in server B to location /home/dun/tibco .Both server A and server B are Linux machine .The...
17,773
Posted By maitree
Replacing the last field
Suppose I have a file abc.txt which contain lines:-
11.3.5.7
11.3.6.7
11.6.8.9.10

I want to replace the last field of the line to some value .I want the first line should become 11.3.5.86...
2,754
Posted By maitree
copying files using regular expression
I have 3 files names as HU123.IHS ,SU345.IHS DU567.IHS

I have written a script to copy the files to the destination server but I am getting the error.

/bin/cp...
17,449
Posted By maitree
executing commands in remote server using ssh
many commands means i have written a script .I want instead of executing that script I want that commands present inside the script should be executed.
17,449
Posted By maitree
executing commands in remote server using ssh
But I have written many commands ,doing that will be very hectic .pls suggest some easy way
17,449
Posted By maitree
executing commands in remote server using ssh
I have some commands which need to be executed in remote machine.

I have Linux Server from where I need to connect to Solaris server using ssh and then declare some variable over there and run...
3,520
Posted By maitree
At command prompt I am trying to run .Yes I got...
At command prompt I am trying to run .Yes I got output but that line was not inserted in the file. Please tell me how to insert the line using sed.
3,520
Posted By maitree
GNU sed version 4.1.5 Copyright (C) 2003 Free...
GNU sed version 4.1.5
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS...
2,047
Posted By maitree
inserting line at particular linenumber using sed
Could anyone tell me how to insert a line at a particular line number using sed.
sed '2i\newtext' filename

I have tried the above command .But it is not working. I am using tcsh shell .Please...
3,520
Posted By maitree
it is not working
it is not working
3,520
Posted By maitree
inserting a variable to a new line
In my script I am using sed to insert a line.

Suppose I have a variable called ck_size=5 and a temporary file called tmp

I want to add a certain line in the tmp file .Please see the below...
3,578
Posted By maitree
thank you anchal
thank you anchal
3,578
Posted By maitree
I want to execute the makefile by passing the...
I want to execute the makefile by passing the argument as package .After executing the make command, output along with standard error will be stored in bld_out file
3,578
Posted By maitree
syntax error
While executing the below command in Bourne shell .I am getting syntax error .
/usr/bin/make package |& /usr/bin/tee /dun/homes/lrsprod/ReleaseManagement/InHomeSoftware/Logs/bld_ot2
sh: syntax...
4,121
Posted By maitree
difference between .login, .tcshrc ,.profile
Could you please explain me what is the difference between .login, .tcshrc ,.profile file . Can I keep .tcshrc file in two different location .Actually my problem is I have one server in which...
18,536
Posted By maitree
switch as another user without password
I want to switch as another user without using password .Is it posiible ? I have one server B and I have logged in as username u1 but I want to login to that same server using username as u2 but I...
14,105
Posted By maitree
scp to same server
Suppose I am in server A . I have a file at one location in server A and I want to do scp of the file to same server A but to different location without asking password ( passwordless login to same...
6,405
Posted By maitree
running the script in background
I have a script called startWebLogic.sh which I was running in the background but the problem is which I used the command :- ps -elf | grep "startWebLogic.sh" | grep -v grep to find the process id...
15,197
Posted By maitree
how to get the FQDN
Suppose I am in one server A .I want to know the FQDN of another host B then how can I get the FQDN of that host B from host A.
781
Posted By maitree
use of "thecommand"
Can anyone tell me what is the use of "--Script:$thecommand .
Can anyone please explain me in deatils about --Script:$thecommand usage.
3,203
Posted By maitree
? used in getopts
Suppose I have a code below .

while getopts a: opt
do
case $opt in
a) app_name="$OPTARG";;
*) echo "$opt is an invalid option";
exit 1;;
?) echo "The value of $OPTARG is...
2,138
Posted By maitree
This is my .login file .Kindly tell me what can I...
This is my .login file .Kindly tell me what can I do
#MAIL=/usr/mail/${LOGNAME:?}
#/dun/lake0/devel/weblogic/weblogic/testenv.sh
#setenv CVSROOT :pserver:kallvi01@d2ddm:/dun/d2ddm0/GemSrcRep...
2,138
Posted By maitree
error in .login file
I have one server (consider A) .While logining into server A using username as u1 .I am not getting any command not found error but while I am loging into that server A using username as u2 , I am...
1,037
Posted By maitree
searching different multiple directories
Suppose I have 5 different directories in some path .Is it possible to search 5 different directories using find command in one single command line.

I mean something like this:-
find path -type...
1,112
Posted By maitree
Searching a file using awk or sed
I want to search a file in a specific location and I don't want to use find command.

I want to give the path also where the file is for searching it. Pls help
Showing results 1 to 25 of 29

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