Search Results

Search: Posts Made By: sandy88
7,369
Posted By sandy88
can the command be changed so that the "_" is not...
can the command be changed so that the "_" is not coming at the end

---------- Post updated at 07:41 AM ---------- Previous update was at 07:40 AM ----------

current...
7,369
Posted By sandy88
thanks
thanks a lot its working fine, can you explain that sed command, i am not getting it & more over i want the desired output like 1_120606259899_3_4.5
7,369
Posted By sandy88
sorry am getting the folllowing error,while...
sorry am getting the folllowing error,while executing the above

sed: Not a recognized flag: r
Usage: sed [-n] [-u] Script [File ...]
sed [-n] [-u] [-e Script] ... [-f Script_file] ......
1,609
Posted By sandy88
ok i checked i dont have ssh setup.. while...
ok i checked i dont have ssh setup.. while trying to scp, it will show rsa finger print.
so how to proceed
1,609
Posted By sandy88
how do i confirm whether ssh is set up or not?? ...
how do i confirm whether ssh is set up or not??

sorry i have no idea about that
1,609
Posted By sandy88
Using SCP in a script
I need to use scp command in a script, and it should not prompt me for the password.

for eg: scp $a <i.p address>:

After executing this it is asking the password for that ip address.

Is...
7,369
Posted By sandy88
thanks a lot
thanks a lot , i'm getting the desired output..

---------- Post updated at 04:04 AM ---------- Previous update was at 03:51 AM ----------

INPUT:1_120606259532_3_4.5_888

if there any many...
7,369
Posted By sandy88
thanks
thanks a lot,

but m getting 2 outputs,

$echo $NEW_FILE
1_120606259899_3_4.5_888 1_120606259899_3_4.5

---------- Post updated at 03:46 AM ---------- Previous update was at 03:35 AM...
7,369
Posted By sandy88
last segment
thanks a lot.. but the output i'm getting is
echo $NEW_FILE
1_120606259899_3_4.5_888

the last segment is 888, which is not removed.
7,369
Posted By sandy88
Rename file using sed or awk
I have a filename like 1_DATE_3_4.5_888 and I want to modify the date field (ie the last 4 digits ) alone and remove the last field.

Old filename:1_DATE_3_4.5_888
Given date (for...
Showing results 1 to 10 of 10

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