Search Results

Search: Posts Made By: Kesavan
1,143
Posted By Kesavan
Hello Arun, the below command works for your...
Hello Arun,

the below command works for your purpose. However keep in mind about the issues pointed out by Peasant.

ls -ltr | grep "Feb 14" | awk '{print $NF}' | xargs -I '{}' cp {}...
1,409
Posted By Kesavan
Hello, Please let us know, what you have...
Hello,

Please let us know, what you have tried already to transmit the files.
we cannot create the complete script for you, if you are facing any issues with your script that you have created, we...
3,365
Posted By Kesavan
for finding directories of size bigger than 10k...
for finding directories of size bigger than 10k in current directory and below that.

find . -type d -size +10k | xargs du -sh | sort -rn
1,392
Posted By Kesavan
Hello James, you can re-write this into a...
Hello James,
you can re-write this into a function by passing the open office version number as an argument to it and re-use it for any version.
we would like to encourage you to re-write the...
5,726
Posted By Kesavan
What Linux distribution are you using? Let's...
What Linux distribution are you using?

Let's break up your script.

#!/bin/bash -x sftp -oIdentityFile=~/.ssh/id_rsa/sftp -v username@192.168.17.181<<EOF The above statement worked fine.

cd...
1,392
Posted By Kesavan
are you having problems with this script? are...
are you having problems with this script?
are you having performance issues?
what do you mean by making the script short?

explain your problem clearly..
5,806
Posted By Kesavan
hello Usagi, provide contents of the file you...
hello Usagi,
provide contents of the file you want to process and also tell us a little bit about what you have tried already.
Thanks.
965
Posted By Kesavan
Hello Bodisha, can you explain a little bit...
Hello Bodisha,

can you explain a little bit more about your search methods, what are you trying to search and where?
if possible post some commands or screen shots of script that you are using....
1,823
Posted By Kesavan
Hello PrabhaPatra4567...
Hello PrabhaPatra4567 (https://www.unix.com/members/302179217.html),

I do not know, if there is a direct way to get that list.
But assuming that you want to find the executable's that are on the...
5,726
Posted By Kesavan
Hey, have you checked the permissions of the...
Hey,
have you checked the permissions of the identity file?
can you post the complete contents of the file, instead of bits and pieces?
1,292
Posted By Kesavan
Doubt on setserial command
My understanding is that "setserial" command is used to change the attributes of
serial device files (ttyS) managed by the linux serial driver(serial module).

My doubt is, using setserial command...
2,475
Posted By Kesavan
The while loop you have written is infinite loop,...
The while loop you have written is infinite loop, you need to add conditions to validate whether the ssh check was successful or not and if successful, break from the loop and proceed otherwise...
1,442
Posted By Kesavan
Forum: Programming 07-12-2013
6,742
Posted By Kesavan
The fwrite function is not returning error, if the file was removed.
Thanks Don and Alister, for your help !!!
Thanks again:)
Forum: Programming 07-11-2013
6,742
Posted By Kesavan
The fwrite function is not returning error, if the file was removed.
The fwrite function call is not returning error, when the file it writes to is removed, please advise on how to find if the file already opened and being written by a program is removed manually or...
2,505
Posted By Kesavan
Thanks a lot, scrutinizer and Made in germany. ...
Thanks a lot, scrutinizer and Made in germany.
Both of your commands worked, I analysed and understood, how the comands work.
Thanks a lot again:b:
2,505
Posted By Kesavan
Hello Scrutinizer, Thanks for the reply. ...
Hello Scrutinizer,

Thanks for the reply.
This awk statement will not work, if the date is different for example
if date is "11.12.2012".

I want to print the block, which does not has pattern...
2,505
Posted By Kesavan
Printing a block of lines from a file, if that block does not contain two patterns using sed
I want to process a file block by block using sed, and if that block does not contain two patterns, then that complete block has to be printed.

See below for the example data....
2,969
Posted By Kesavan
There is no rsyncd.conf file, as per my...
There is no rsyncd.conf file, as per my understanding it is needed only when you are running rsync as a daemon (let me know if Iam wrong)

This is what the syslog shows

Nov 20 09:34:33 H00HOST...
2,969
Posted By Kesavan
Synching files using rsync utility
Iam using rsync tool to sync files from one linux server to other linux server, however it takes huge time to finish it. so I tried running multiple instances of rsync for different directories in...
2,313
Posted By Kesavan
Hope this is what you are expecting. for...
Hope this is what you are expecting.

for file in ericsson_msc_live_bln_western1_20120809.jar ericsson_msc_live_bln_western_20120711.jar
do
echo "$file" | sed -n...
2,313
Posted By Kesavan
Provide the details about the output and it's...
Provide the details about the output and it's format, when you are giving the file names as input.
Forum: Red Hat 05-02-2012
2,789
Posted By Kesavan
Not able to see the terminal icon in the applications menu to launch the command prompt in Centos
After installing centos iam not able to see the terminal icon in the applications menu to launch the command prompt in Centos.

However iam able to see the Open Terminal menu, when i right click...
4,770
Posted By Kesavan
How many files? Can you demonstrate this...
How many files?
Can you demonstrate this problem?

The files will be small in size say 2kb and the files will cleared after the size of the directory reaches some point. The number of files in the...
4,770
Posted By Kesavan
How to list the files based on the modification time using the find command?
Hi All,

I need to list the files based modification time of the files from a directory, I cannot use "ls -t" as there are lot of files, which "ls" command cannot handle. New files will land there...
Showing results 1 to 25 of 66

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