Search Results

Search: Posts Made By: karthikn7974
23,419
Posted By karthikn7974
rename multiple files with wildcards
Hi All

I am having hundred over file in the below pattern.


AA050101.INI
BB090101.INI
.
.
ZX980101.INI


Need to rename these files with an extension .bak

AA050101.INI.bak ...
10,799
Posted By karthikn7974
putty groups
Hi all,

need info on using putty as group.
I am having huge numbers of servers. (say 100)

I am using putty to login remotely. i want to group each 25 hostnames or a set of servers into one...
35,102
Posted By karthikn7974
thanks to all and belated new year wishes to...
thanks to all

and belated new year wishes to all unix.com members.

Regards
KARTHIK
18,532
Posted By karthikn7974
any other alternative way of sending email...
any other alternative way of sending email attachments for large files.
its ok if i cannot used mailx.
18,532
Posted By karthikn7974
mailx attachment sending large file
Hi

I want to sent attachment file which is 400mb size.(single file, not tar file)
is there any way that these kind of large files can be divided into small sizes and sent as attachments
...
13,424
Posted By karthikn7974
Hi There, It works & Thanks !!!
Hi There,

It works & Thanks !!!
13,424
Posted By karthikn7974
find files modified more than a day
Hi All,
I am using the below command to check the files modified within last 24hours

find /home/karthik -mtime -1 -type f -exec ls -l {} \;

What parameter do i need to add in the above...
9,949
Posted By karthikn7974
Execute scripts from remote using telnet
Hi

having the below code

(sleep 1 echo "username"
sleep 2 echo "password"
sleep 2 echo "cd /home/test1/path"
sleep 10 echo "ls -l | grep filename"

if exists
echo "script1.sh...
1,346
Posted By karthikn7974
Thanks era
Thanks era
1,346
Posted By karthikn7974
hi era, how to view all extensioned files...
hi era,

how to view all extensioned files except a particular extension.
(e.g) want to view all other files except (*.txt and *.doc)
1,346
Posted By karthikn7974
using find command
using the below command to find files in my home -> test directory
find /home/karthik/test/?? -type f -exec ls -l {} \;|awk '{ printf "%20s %s %2s %s %s \n", $5,$6,$7,$8,$9}' | sort -k5,5 -k2,4
...
41,333
Posted By karthikn7974
perl script to add a line into a file
hi all

need a perl script to add a line into a file

thanks with anticipation
35,102
Posted By karthikn7974
BASH vs PERL Advantages & Disadvantages
Hi

Anyone can compare and contrast differences, Advantages & Disadvantages between BASH vs PERL

just a need few points on both

Thanks
27,692
Posted By karthikn7974
:b: thanks all :)
:b: thanks all :)
27,692
Posted By karthikn7974
Hi radoulov, your command outputs 2 lines...
Hi radoulov,

your command outputs 2 lines after the grepped string. How to get the grep string line and next line
27,692
Posted By karthikn7974
Grep string and next line
Hi
i am having a file of more than 60,000 lines.

need to grep a string and write the line of string and next line of the grepped string

any suggestions
24,048
Posted By karthikn7974
find /home/karthik/ -mtime -1 -type f -exec ls -l...
find /home/karthik/ -mtime -1 -type f -exec ls -l {} \;
5,975
Posted By karthikn7974
Remove lines, Sorted with Time based columns using AWK & SORT
Hi

having a file as follows

MediaErr.log

84 Server1 Policy1 Schedule1 master1 05/08/2008 02:12:16
84 Server1 Policy1 Schedule1 master1 05/08/2008 02:22:47
84 ...
9,832
Posted By karthikn7974
delete blank space in begining of line
Hi All,

below is my data file
file.txt

$$0 ServerA LAN1 AAA IT01 04/30/2008 09:16:26
$$0 ServerB LAN1 AAA IT02 04/30/2008 09:16:26


here $ is a blank space...
2,122
Posted By karthikn7974
hey thanks to all
hey
thanks to all
2,122
Posted By karthikn7974
hi anni, characters inside (xxxx) are...
hi anni,
characters inside (xxxx) are variables. so no point to grep

hi penchal,
Thanks it works fine,

is there any way to remove the whole line instead of replacing null
2,122
Posted By karthikn7974
sed error - using reserved letters
Hi All,

below is my data file
file.txt

0 ServerA LAN1 AAA IT01 04/30/2008 09:16:26
(no records)
0 ServerB LAN1 AAA IT02 04/30/2008 09:16:26...
3,830
Posted By karthikn7974
awk -F" " '! /^[0-1] / && ! /^8[4-6]/ {print...
awk -F" " '! /^[0-1] / && ! /^8[4-6]/ {print $0}' rep1.txt > OtherErrors.log


the code above also did not give my result. May be i am not clear with wat i explained before, so i have given the...
8,754
Posted By karthikn7974
Check this post...
Check this post (https://www.unix.com/shell-programming-scripting/61115-sed-awk-convert-text-files-recurring-headings-rows-colum.html) may help you
3,830
Posted By karthikn7974
hi dan, rep1.txt Err Date ...
hi dan,

rep1.txt


Err Date Time Server Network Dept Usr Pid
1 10/10/2008 00:00:01 Server A Class A 1001 jack 101
6 ...
Showing results 1 to 25 of 53

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