Search Results

Search: Posts Made By: brij123
853
Posted By brij123
Append an exclamation sign at EOF. and try this :...
Append an exclamation sign at EOF. and try this :

awk 'BEGIN{a=0}{if($0 == "!"){print a;a=0} else{a+=1; }}' abc.txt

Here abc.txt is the input file.
1,947
Posted By brij123
Refer to this thread : ...
Refer to this thread :


https://www.unix.com/shell-programming-and-scripting/241409-convert-date-format.html
1,214
Posted By brij123
A query on soft-link
Hi All,

I tried creating a soft link with the file itself. It got created successfully.


bash-3.2$ ls -l a
lrwxrwxrwx 1 ebrigup other 1 Oct 5 19:14 a -> a
bash-3.2$


...
1,703
Posted By brij123
Great .. Thanks :)
Great .. Thanks :)
1,703
Posted By brij123
What will be the syntax if I want to print...
What will be the syntax if I want to print everything other than those 5 lines ?
2,585
Posted By brij123
Which OS ?
Which OS ?
1,703
Posted By brij123
awk command help
Hi all,

could you please help me understanding following awk command.


awk 'c&&c--;/^61,67/ {c=5}' filename.txt


What will it do and how ?

Thanks
4,092
Posted By brij123
You can also use cksum <File>command. In the...
You can also use cksum <File>command. In the output you will see checksum CRC. It must be same on both the machines.
2,291
Posted By brij123
Any comments why this process has a Zombie thread...
Any comments why this process has a Zombie thread ?
2,291
Posted By brij123
Weird output from ps command
Hi Guys,

I am regular Solaris user. I came across a weird problem that puzzled me. Hope you guys can help. I found that process's state(command & arguments) in two different variants of ps...
2,003
Posted By brij123
Just try doing ... Hope this will solve your...
Just try doing ... Hope this will solve your purpose
for i in `ls NewFiles/20150721/extracts`; do echo $i; done;
Forum: Red Hat 04-22-2014
6,794
Posted By brij123
Can you share the output of "df -kh" ?
Can you share the output of "df -kh" ?
1,433
Posted By brij123
The below is the script I am trying to run. The...
The below is the script I am trying to run. The DB is SybaseIQ



#!/usr/bin/sh


> data_output.csv
output=`dbisql -c "UID=username;PWD=password" -host localhost -port 2640 -nogui<<!
...
1,433
Posted By brij123
Error in running DB query by script
Hi I was trying to fetch data from database. But the number of rows exported were huge so i got the error. Experts please advice. Thanks a lot for your supprt. #: ./script.sh...
4,766
Posted By brij123
cat filename | grep -iv s > outfile
cat filename | grep -iv s > outfile
1,254
Posted By brij123
Solaris Server getting hanged
Hi,

I have recently changed the port speed to 1000 Mbps, auto negotiation ON from 100 Mbps auto negotiation OFF. At a particular time in the night, various other nodes FTP few big file to this...
4,235
Posted By brij123
Thanks to all for your kind response and extreme...
Thanks to all for your kind response and extreme sorry for delay in reply from my side.

Rebooting the server solved the problem. It reverted all the old configuration. :b::)
4,235
Posted By brij123
[SOLVED] ifconfig mishap
Hi all,

I have accidentally run wrong ifconfig command in the Solaris 10 server. Now the connectivity is lost. Please help ...
I am sharing the commands

Before it was

ifconfig -a
lo0:...
4,851
Posted By brij123
That was no offence sir..!! This would have been...
That was no offence sir..!! This would have been helpful if this node is making multiple connections with few IPs on different ports :o
4,851
Posted By brij123
Try to define almost all IPs, to which your...
Try to define almost all IPs, to which your server is connecting in /etc/hosts file.
Hope this will help
2,866
Posted By brij123
You can ftp libcairo.so.2 library file to an...
You can ftp libcairo.so.2 library file to an appropriate directory from the server where this command is working.
2,560
Posted By brij123
I am sorry if I am Silly.. But How can I check It?
I am sorry if I am Silly.. But How can I check It?
2,560
Posted By brij123
Thanks methyl... Operating system is:
Thanks methyl...

Operating system is:
2,560
Posted By brij123
Not getting correct uptime in messages file
The following notice I am getting in /var/adm/messages file


Dec 9 06:17:24 hostname lw8: [ID 925147 kern.notice] Main, up 476 days 04:42:23, Memory 9,742,808
Dec 9 10:17:25 hostname lw8: [ID...
14,509
Posted By brij123
how can i change default MTU size?
how can i change default MTU size?
Showing results 1 to 25 of 28

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