Search Results

Search: Posts Made By: mxms755
Forum: HP-UX 07-13-2006
8,178
Posted By mxms755
Maintenance mode boot(MMB) and recovery
hi,
i figured why i need to boot in MMB,some of which are missing or corrupt LABEL (LIF labeL ,i guess) on the boot disk.
To explicitly corrupt this entry i think a simple dd will work.
ok let me...
Forum: Programming 05-17-2006
2,110
Posted By mxms755
legal code?
hi friends,
the following code works fine,but the question is
"is this a valid c".
i really have no idea.......

void func()
{
int x = 50;
{
int y;
y = x + 400;
...
Forum: HP-UX 05-15-2006
2,177
Posted By mxms755
hp -specific
hi ,
we are running one process which takes a good amount of time to complete
,to do a different task i can make it run in background
if i logout from that machine tehn this process will die, i...
3,743
Posted By mxms755
make file
hi freinds,
can someone provide me a good link to unix make utility.
about make i only know that it plays a key role in sotware
development,as it helps in compilation and debugging.

thanks
Forum: HP-UX 05-06-2006
11,992
Posted By mxms755
crash dump
hi friends,
i know that when there is a crash then that memory image is
put into /var/adm/crash
but if the system hangs up and if i have access to console of
that machine then how can i take the...
1,912
Posted By mxms755
confused
ln -s .bash_history /dev/null
this should make a symbolic link of .bash_history with /dev/null
and i know that data written to /dev/null is discarded without comment.

i tried this command but...
Forum: HP-UX 05-04-2006
45,310
Posted By mxms755
nslookup
try this command

nslookup <machine_name>

if u simply give nslookup then it will give you the ip address of
the server only.
53,370
Posted By mxms755
gunzip first
first gunzip that file which has .z extension
i.e.
gunzip newfile.tar.gz

this will give you "newfile.tar"
then

tar -xvf newfile.tar

this should extract the files in the same directory.
Forum: Programming 04-29-2006
9,849
Posted By mxms755
try it out
hi
this might be a way but on my machine(linux) it didnt worked
anyway try it out
use

#pragma start
some_function()
{
printf("hi\n");
}

main()
{
printf("hello\n");
}

ideally it...
Forum: Programming 04-29-2006
2,354
Posted By mxms755
deamonizing
hi folks!
how to deamonize my program,
and also here is a code that my collegue asked me which i could not explain

int main()
{
char **p = &p;
printf("%s\n",*p + 40);
...
Forum: IP Networking 04-29-2006
3,876
Posted By mxms755
fc cables
hi friends,
we are using fc cables and fc switches,u might be aware of the cost factor of it so just wanted to know that
Why do we need FC switches and fiber-optic cables? Is it not possible
to...
14,975
Posted By mxms755
console address
hi !
how to find the console address of one machine.
thanks in advance.
3
1,875
Posted By mxms755
hi i had access to one hp machine and to...
hi
i had access to one hp machine and
to deactivate telnet i got the information from this forum,
according to which one needs to comment out
one line
"telnet -------------" in a file called...
3
1,875
Posted By mxms755
telnet
:confused: hi friends!
i know that host names are put into a file called
/etc/hosts
which can have three fields as
<ip address> <fully qualified DNS name> <alias>
eg.
255.255.17.1 ...
9,222
Posted By mxms755
ls -l 2>&1
hi
it's little silly but may i know the meaning of this
command
ls -l 2>&1
does this mean that standard error of the command "ls -l" is been
redirected to standard output........?
if this is...
2,662
Posted By mxms755
how to make ssh to behave as rsh
hi frnds,
how to make the ssh service to behave as rsh.as we know ssh asks for passwd whereas the rsh doesnt.so how can i perform the followin operation
without being asked for passwd.
lets say i...
1,815
Posted By mxms755
related to directory permission
$mkdir nw_dir
$-----------
$cd nw_dir
bash:permission denied
so what need to be filled in the blanks?
14,591
Posted By mxms755
ftp doesnt allow to login as root?
hi,
m using ftp for transfering file bt it doesnt allow me to login as root on that machine.
i think its due to security reasons,bt m nt getting d idea behind this.
because if i know the root...
1,895
Posted By mxms755
help on rsh
hi friends,
i've access to three machines mc1,mc2,mc3,on which i can log in as root.
and in order to run a simple command on a remote machine(say remote) on which i cant log in,i use a command as;...
2,201
Posted By mxms755
help on rcp,exportfs
i need some help on remote file copyieng.the queeries are:

1:>
m working on a machine say(abc) and i want to copy a directory(yes a directory) from a remote machine.
so what would be the...
4,998
Posted By mxms755
thanks
thnks buddy,
ya its working.can u also tel me how to remove the header from that same file
i.e.
i did
$ sed -i 's/cat/dog/g' old_file
the above is replacing cat to dog from the file called...
4,998
Posted By mxms755
how to alter the old file permanently using sed?
hi ,
m new to sed and awk. can anyone tell me how to alter the old file permanenetly using sed.
e.g.
$sed 's/cat/dog/g' old_file
the above command will replace all the occrance of cat by dog in...
Showing results 1 to 22 of 22

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