Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: amitkhiare
1,661
Posted By amitkhiare
Thanks yes that's what i need.. cheers
Thanks yes that's what i need.. cheers
1,661
Posted By amitkhiare
Help on Sort command
Hi there,

I have following log files

xsng1344pap_72_20090722.log.bz2
xsng1344pap_74_20090722.log.2.bz2
xsng1344pap_74_20090722.log.3.bz2
xsng1344pap_74_20090722.log.bz2...
3,704
Posted By amitkhiare
Rsync help - unable to delete the Source file
Hi All,

I am facing problem deleting Source while using the rsync command.

rsync --include=*`date --date="-1 day" \+\%Y\%m\%d`* --include=*`date +\%Y\%m\%d`* --exclude=* --delete-after -auvb...
290,276
Posted By amitkhiare
FYI...... I got it sort Command is :...
FYI......

I got it sort

Command is : gzip -cd <file> | more
290,276
Posted By amitkhiare
zcat is used for compressed file. These are zip...
zcat is used for compressed file. These are zip files. Also i dont wante to see the file name, but i need to read the zip file.

for example:-

the zip file is a.gz, however the orginial file...
290,276
Posted By amitkhiare
How to view the contents of .gz file without extracting the file?
Hi All,

I have several .gz files and i need to see the contents of these file, without extracting these file. If i extract these file the space will be full so. I need to see the contents and...
4,572
Posted By amitkhiare
Recording a UNIX Session
Hi All,

I have a question regarding recording the unix sessions.

I know the recording can be done using script comman, however i want to create a daily file of unix session. Also when i open...
4,950
Posted By amitkhiare
Thanks guys for youre help it worked.... awk...
Thanks guys for youre help it worked.... awk 'BEGIN{OFS=FS=",";c=1} { n=sprintf("%03s",c++); $5=$5n ;print $5}' , Only i had to use %03s instead of %03d.
Thanks
4,950
Posted By amitkhiare
Hi, I am using this on Solaris Box and i...
Hi,

I am using this on Solaris Box and i tried your solution how ever the output is different and it is adding the 001 in the front side, not sure why. So the output is 00171005 for "20071005".
...
4,950
Posted By amitkhiare
Hi, can you explain how it work i am not able to...
Hi, can you explain how it work i am not able to understand and also not able to us it... Please help
Thanks for your time.
Amit
4,950
Posted By amitkhiare
Concatenating values in a File
Hi All,

I have a ',' delimited file and i would like concatenate a new value at a specific column.

Example :-
xXXX,XYZ,20071005,ABC,DEF,123
xXXX,XYZ,20071005,ABC,DEF,123...
48,474
Posted By amitkhiare
first start your rpc deamon and then check with...
first start your rpc deamon and then check with the rpcbind command and then try to run your mount command.
48,474
Posted By amitkhiare
First you need to check if you are able to access...
First you need to check if you are able to access the NAS. It you are able to access it then you need to be clear which directory of NAS you want to mount for your access through NFS and then you...
48,474
Posted By amitkhiare
Hi, Firstly configure NFS server to access...
Hi,

Firstly configure NFS server to access the shared resources of your NAS and make those shares configure in /etc/dfs/dfstab on NFS server.

Now mount those NFS shares to client machine with...
32,376
Posted By amitkhiare
HI, You just need to send a mail to the your...
HI,

You just need to send a mail to the your cell phone. If you are using Korn Shell you can try this .

echo "hello" | mailx -s "test" <cell phone no>@serviceproviders.(net/com).

Before...
8,347
Posted By amitkhiare
Hi, There is one more correction when you awk...
Hi,
There is one more correction when you awk the output of df -k | grep -iv filesystem the $5 should extracted and not $4 as $4 will give avaliable space and not the capatcity in terms of...
1,603
Posted By amitkhiare
Hey thanks a lot, however can you let me know the...
Hey thanks a lot, however can you let me know the difference between hard and soft link and which link needs to be preferred. Thanks for your cooperation
1,603
Posted By amitkhiare
Remove a File - Help Needed
Hi,

I have created a file "-f.txt" or "-f" and now i want to remove this file, I have tried rm -f -f, but you would have understood the problem i am facing. Now please let me know what needs to be...
5,531
Posted By amitkhiare
You can use this sample command and see if it...
You can use this sample command and see if it works.

ssh hostname "ls -l"

where hostname is server name and anything inside the double quotes is the command.
9,933
Posted By amitkhiare
HI, Use this command for current date and...
HI,

Use this command for current date and time stamp

`date '+%m%d%y%H%M'`

I have ? for you what do you mean by PREVIOUS_TIME. As i understand it would be yesterday's date and time right. If...
2,599
Posted By amitkhiare
Hey Jim, Thanks man that really worked. Here...
Hey Jim,

Thanks man that really worked. Here is it how it worked.

echo abcd001 | tr -d [0-9]

Output : abcd

Thats what i wanted. I just wanted to extract abcd from the file name.

Thanks...
2,599
Posted By amitkhiare
Extracting only Alphabets from a value
Hi,

I have file name (abcd001). I want to extract on the alphabets from this file name. I don't want the numeric part of it. Once i extract the alphabets the i can search for all those file. Could...
5
4,837
Posted By amitkhiare
Hey as per my knowledge you can try the cgrep...
Hey as per my knowledge you can try the cgrep command. In this command 1,1 represent matching line before and after. At the bottom of this reply i have added the usage of this command.

Command :...
Forum: Solaris 02-02-2006
5,454
Posted By amitkhiare
Version on Solaris Server
Hi,

I am a new user to Solaris Server and also to Unix. Please let me know the difference between Solaris OS and Unix, what is the relation. I am not sure what exactly i am working on Solris or...
Showing results 1 to 24 of 24

 

Featured Tech Videos

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