so i have two files
file 1:
A
B
C
file 2:
A
B C
C
how can i compare both files to spit out a message sayin that in file 2.. there is a "C" duplicate .. in this case "B C"
thanks
Is there something like ldap_cachemgr for linux/redhat ? I'm interested in something similar to the ldap_cachemgr -g output which is available for solaris.. TIA
in nawk can u do
a
if pattern1 and pattern2 found and not pattern4 and pattern5 are present;
print something..
so far i have
if ( /pattern1/ || /pattern2/ ) && ( ! /pattern3/ ) ...
this doesnt seem to work..
basically im trying to find pattern1 and 2.. but if pattern3 and 4 are also...
someone please shine some light pls... i connect to a 220r enterprise from a console machine via tip hardwire.. once connected i go to ok prompt by ~# .. i do a boot cdrom -s
and then it goes thru some device configuration then all of the sudden my /etc/issue from the console machine pops up...
how do u cleanly break a telnet session from one server to another ? i noticed that after closing telnet session and when doin netstat i see it still there in time_wait state.. how do i get rid of that.. thanks
when u are being asked to add static routes to
an ip for instance 192.168.1.0/24 to gateway 167.180.15.1
how do u add this and what does the "/24" represent ? thanks in advance
anyone seen this error before..
! bad user (root) or setgid failed (root)
root user seems fine.. passwd hasnt expired or anything and format seems ok as well.. group is also good.. any ideas? tia
im trying to write a script to check connectivity to a port.. what is the best way to achieve this ? if port is listening on target server then return code 0..thanks
hello.. i have a machine that has everything pointing to files in nsswitch.conf.. however users that are defined in an ldap environment that this machine used to belong to are still able to log in??? i restarted nscd and no luck.. any ideas?? thanks in advance
so on friday i deleted a file that was 200mb from slice s0.. and did not see space free up.. anyways long story short.. thought i'd look at it today monday and its freed up now.. any ideas why it didnt free up friday ?? is there anything that can be done in these cases when u remove a file and...
so i have an ultra 5 with solaris 10.. added another 4.2 disk and it shows up fine when i do probe-ide at obp... when i boot the machine and do format.. it doesnt show up.. what gives
how do u kill a process who's parent pid is 1 ... pid 1 being /etc/init - ???.. problem is that this process is dead.. does not respond to ptree or truss or anything.. kill -9 or force does not work..
is there a way to find out what process created a file ?
something like when u see a core file.. u do a file core and u can see what dumped it.. thanks..
what is the fastest way to create a big file to fill up a filesystem.. need to do this for a test in the lab.. was thinkin of loopin somethin and >> to file.. anyway to do this faster? thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.