Search Results

Search: Posts Made By: ssuresh1999
7,420
Posted By ssuresh1999
Thanks
Thanks
7,420
Posted By ssuresh1999
changing mode of files in subdirectories
Hi
I actually need to change the mode to 777 in the current directory as well as subdirectories how to achieve that.
I have /usr/sol/home/workfold as the main directory there are many directies...
12,319
Posted By ssuresh1999
Thanks for your answers stat in my unix is not...
Thanks for your answers stat in my unix is not giving the desired result , it is working just like cat

On the other hand
ls --full-time is working well in linux giving the desired result
12,319
Posted By ssuresh1999
Timestamp of old files
Hi
I have a question if i give ls -ltr i get in the following order
I dont get time stamp of old files where as the latest ones have time stamp
How can i get the timestamp in the old files of 2008...
4,041
Posted By ssuresh1999
Thanks for your replies
Thanks for your replies
4,041
Posted By ssuresh1999
execution of aliases from shell script
Hi
I have to execute the commands in .aliases file from a shell script
I tried
1.giving the alias directly in shell script
2.Giving the actually "value of alias" in the shell script
3....
1,740
Posted By ssuresh1999
Awesome thank you very much
Awesome thank you very much
1,740
Posted By ssuresh1999
taking a part of string from a given path
Hi
I have two path as follows

system/console/bin/code/sample/testfile.txt
system/console/bin/database/files/new/dbfile.txt

I need the output as
code/sample in first case
...
5,277
Posted By ssuresh1999
how will i read line by line and how will i know...
how will i read line by line and how will i know that the number of lines have exhausted

---------- Post updated at 09:48 AM ---------- Previous update was at 09:38 AM ----------

ok i myself...
5,277
Posted By ssuresh1999
Reading from a file(passing the file as input parameter)
hi
I have a shell script say primary.sh . There is a file called params
my scenario is
primary.sh should read all the values and echo it
for example
i should pass like...
3,234
Posted By ssuresh1999
Hi Thanks for your replies Chompy.....thank you...
Hi Thanks for your replies
Chompy.....thank you but this is the way i do but i thought that there might be another smarter way to do it that is why i posted it

scripter.online .........thank you...
3,234
Posted By ssuresh1999
to read variable from child script
Hi
I have two shell scripts A and B
A calls B
I would like to use a variable in A the value of which is assigned by
B after calling B
Thanks in advance
Suresh
2,031
Posted By ssuresh1999
Thank you for the help
Thank you for the help
2,031
Posted By ssuresh1999
To append \ in the input password
Hi
I have the following issue
i am going to ask from the user the password
The password can have $ anywhere that is first last or in between but i have to append \ before the $...
4,988
Posted By ssuresh1999
Hi For me the $ export VAR=`cat pass` ...
Hi
For me the $ export VAR=`cat pass`
worked fine
Thanks
4,988
Posted By ssuresh1999
Thanks for your replies will test and let you know
Thanks for your replies will test and let you know
4,988
Posted By ssuresh1999
printing password having special characters
Hi
I have a password stored in a file (which is a user input)
The password is having the special character $
say the password is pw$ord and is stored in the file pw_note
I am using the following...
2,104
Posted By ssuresh1999
Reading inside a loop
Hi I am trying read in side a do statement
but it is not working it is just printing abc before read but not stopping in abc for user input
Can anybody please help
#!/usr/bin/ksh
cat...
1,943
Posted By ssuresh1999
Thanks for your reply but I am sorry but i did...
Thanks for your reply but I am sorry but i did get a syntax error i am not knowing where i am going wrong
if i try the statement in one line it says
awk: illegal statement near line 1
awk: syntax...
1,943
Posted By ssuresh1999
grepping between files
Hi
I have two files
File 1
alias HOME =..
alias DATA = ${DATA}/runtime1/test
alias SQL = ${DATA}/find1dir/test
...
4,321
Posted By ssuresh1999
Thank you so much for the reply it is working...
Thank you so much for the reply it is working fine
Cheers
Suresh
4,321
Posted By ssuresh1999
Hi Thank you very much for your fast...
Hi
Thank you very much for your fast reply . It is working in most of the cases but not working only in the case as i have mentioned below
Can you please help

alias NAME = ..
alias...
4,321
Posted By ssuresh1999
Printing a part of a string
hi
I have the input as follows
ABC =893
JKL = "jee"
alias PQR = 9833
alias STUVE = "kuiue"

I should be able to print as follows
ABC
JKL
alias PQR
alias STUVE

...
17,788
Posted By ssuresh1999
One more thing username/${pwd}@constring is not...
One more thing
username/${pwd}@constring is not working for me
Thanks
Suresh
17,788
Posted By ssuresh1999
Thanks for your reply but sorry for bothering you...
Thanks for your reply but sorry for bothering you again if the password contains other than $ then what to do because in future i may get this issue to me again i mean if it contains % or # or @...
Showing results 1 to 25 of 53

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