Search Results

Search: Posts Made By: mahatma
5,633
Posted By mahatma
How to list hardlinks?
Q1: Let's say I create a hard-link bar.c in /tmp to a file foo.c which resides in /var/tmp. Is there a easy way to find out which file /tmp/bar.c hardlinks to (and vice-versa - i.e which files have...
3,535
Posted By mahatma
Wow! That was a good site. Thanks. Would u know...
Wow! That was a good site. Thanks.
Would u know some sites for CSh (colors) also. Hope u r not already irritated! ;)
3,535
Posted By mahatma
Hmm, I cannot see anything mentioned in that link...
Hmm, I cannot see anything mentioned in that link wrt color!
3,535
Posted By mahatma
Thanks for the reply. Would u know what to...
Thanks for the reply.

Would u know what to do for CSH also.

I tried set prompt='${LOGNAME}:${CWD}'

But when I change the directory, the working directory displayed in the prompt does not...
3,535
Posted By mahatma
Need help in modifying the prompt
Hi,

I want to change the login prompt from $ to something more explanatory like

(Username)(basename of pwd):

I also need to get this in a different font color.

Can someone pls tell me...
10,273
Posted By mahatma
Thanks for the replies, both-of-you. I will...
Thanks for the replies, both-of-you.

I will try them and get back.

So Matrixmadhan; Your suggestion is that I create wrapper files (say shell scripts) called 'rm' and 'unlink' which inturn...
10,273
Posted By mahatma
Command Tracking
Hi,

OS: Solaris9, SPARC

Is there any way I can track the commands run by users from the shell prompt?

Example:
Somebody is deleting files from the system. Who it is is a mystery. That...
6,285
Posted By mahatma
The problem should be the size. What other...
The problem should be the size. What other inbuilt tools are there for tape backup, Perderabo?

And from RTM's suggestion: 'E' option seems to solve it...

Command now gets modified to tar -cvfE...
6,285
Posted By mahatma
Problem With Tape Backup in Solaris
Hi,

OS: Solaris9, SPARC.

Commands (and their outputs) that I use to backup two files of size 4GB and 10GB (respectively) are shown below:

# cd /backup/daily/
# mt -f /dev/rmt/0m rew
#...
19,729
Posted By mahatma
Thanks for the reply. Using double quotes solved...
Thanks for the reply. Using double quotes solved the problem.

Regd,
M
19,729
Posted By mahatma
How to replace using SED?
Hi,

I want to change a particular string in a file with another string. This is part of a larger script file. I m using SED for this purpose:

sed -e...
Forum: AIX 03-13-2006
7,061
Posted By mahatma
Sabercats, You can use commercial softwares...
Sabercats,
You can use commercial softwares like EditPlus (Licensed software), etc where you can work on remote UNIX files from a Windows GUI. Even though VI is good for a lot of things, beginners...
8,863
Posted By mahatma
Got solved... Had to start the NFS server...
Got solved...

Had to start the NFS server with the command:
# /etc/init.d/nfs.server start

Before which an entry had to be made in /etc/dfs/dfstab file which was empty till then (the server...
3,013
Posted By mahatma
Re-opening this....(in relation to a different...
Re-opening this....(in relation to a different thread)

I will need to remove a new thread that I created. There is a similar thread that discusses the problem (and provides solution).

How to...
8,863
Posted By mahatma
Exporting/Sharing Directories in Solaris.
Hi,

How do I export/share folders available in one Solaris machine to another Solaris machine?

I executed the following commands to share the folder available in one machine: (mercury)

...
5,407
Posted By mahatma
Thanks for the reply. What is a headless...
Thanks for the reply.

What is a headless system (you mean without a video card/monitor?). Yes my server is headless! Anyhow, I was already able to access Xappls by opening dummy Xserver session in...
2,577
Posted By mahatma
This problem has been solved. It was due to an...
This problem has been solved. It was due to an erroneous DNS (nameserver) entry in the /etc/resolv.conf file.

I guess the server was trying to resolve the name of the windows machine that was...
3,013
Posted By mahatma
Thanks. That is a better option. My problem...
Thanks. That is a better option.

My problem definition was erroneous though! So thought I will delete it instead of misleading people.
3,013
Posted By mahatma
How to Delete a Post
Hi,

I have created a new thread. I dont need that thread now. How should I delete it? Nobody has replied yet.

Regd,
M
2,577
Posted By mahatma
Telnet/FTP: Delayed Connection
Hi,

I use a Solaris9 SPARC, NetraT4 machine which I connect to using telnet/FTP from Windows. But of late both the connections take quite a while to open a session. The problem occurs even when...
2,291
Posted By mahatma
Oh...So I can bump the question after a month (If...
Oh...So I can bump the question after a month (If it is still unanswered, that is).


Thanks for the input.


Just fot the records...The problem occurs when connecting to that specific Solaris...
2,291
Posted By mahatma
I m aware of the fact that this is not a support...
I m aware of the fact that this is not a support desk and am indeed thankful for the help that this site is offering. I was just concerned that this message would soon be buried by newer ones...
2,291
Posted By mahatma
Message Never got replied.
Hi,

I had put up a post a couple of days back. I haven't got any replies yet. Now it's become old so the chances of it been seen by anybody is very less let alone answering it. Please tell me...
28,560
Posted By mahatma
You can open the file in VI and from the command...
You can open the file in VI and from the command mode type %s/\///g and enter. The special character will be replaced by null char.

The trick is to escape the special character (here done by...
13,999
Posted By mahatma
It is a Netra-T4. Heres the output for...
It is a Netra-T4.

Heres the output for "uname -i": SUNW,Netra-T4.

It has a LOM port and I m able to login as CONSOLE using hyperterminal from one of the WinXP machines that is connected to the...
Showing results 1 to 25 of 31

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