Search Results

Search: Posts Made By: Amaravathi
1,243
Posted By Amaravathi
you can call 2nd script as below from script_one ...
you can call 2nd script as below from script_one
./script_two $@


doest it help ??
1,036
Posted By Amaravathi
What do you mean by keypoint ?? can you please...
What do you mean by keypoint ??
can you please make it clear .
966
Posted By Amaravathi
You forgot put "fi" at the end (i.e mentioning...
You forgot put "fi" at the end (i.e mentioning of if condition closing )
2,204
Posted By Amaravathi
notfirst=${f#*_} notlast=${notfirst%_*} ...
notfirst=${f#*_} notlast=${notfirst%_*}


What the special characters (i.e #, *,%,_) exactly do in the above expressions ??
1,858
Posted By Amaravathi
Can you be please more elaborate on this ?? ...
Can you be please more elaborate on this ??

Do you want to search for a directory and want to print the number of files in that ??

(OR)
All the...
1,653
Posted By Amaravathi
do you have any plans to use arrays ??
do you have any plans to use arrays ??
1,443
Posted By Amaravathi
This is just to give you a clear understanding of...
This is just to give you a clear understanding of how ftp will do in failed cases ....

ftp copy will not give you an error status of "1" even when it is failed , because the last command that...
2,710
Posted By Amaravathi
you may can give a try with the scalpel tool ...
you may can give a try with the scalpel tool

How To Recover Deleted Files/Data In Ubuntu Linux (http://www.addictivetips.com/ubuntu-linux-tips/how-to-recover-deleted-filesdata-in-ubuntu-linux/)
2,597
Posted By Amaravathi
you can try something like below ...
you can try something like below

prevdate=`date -d '1 day ago' +%Y%m%d`;

find <search_path> -name $prevdate -type d ! -newermt `date +%Y%m%d` -exec mv -f '{}' <destination_dir> \;
2,853
Posted By Amaravathi
cat /var/hr/payments/abcd.txt | wc -l
cat /var/hr/payments/abcd.txt | wc -l
6,404
Posted By Amaravathi
This doesn' t work for me I need to add...
This doesn' t work for me

I need to add int conversion to get the array indexing properly

sort -n file.txt |awk 'NF{a[NR]=$1;c++}END {print...
16,019
Posted By Amaravathi
If you want to do it for a specific directory you...
If you want to do it for a specific directory you can also mention the path like below .

find < path_to_dir> -type f -name "*" -ctime +90 | wc -l
2,367
Posted By Amaravathi
Did you apply the command nohup in the linux as...
Did you apply the command nohup in the linux as well ??
I am not getting anything if I add nohup to the given command even in linux.

May be you can refer to the below link for the...
2,007
Posted By Amaravathi
---------- Post updated at 03:56 PM ----------...
---------- Post updated at 03:56 PM ---------- Previous update was at 03:55 PM ----------

grep -R "myword" *
would do the needful .

With this command you can search the...
Showing results 1 to 14 of 14

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