I am new to the Linux administration and i have a question on the below requirement , requirement is as below
Create a new alias-IP & alias-Host name to the existing virtual machine ( RHEL 6.6)
I have created alias-IP and here is the below
But the users have a request ( they use this values in the script to start the servers and bind them to the IP & PORT ) where in when they SSH with the alias-IP and do
it should give 10.1.2.4 but is is giving 10.1.2.3
for alias-Host name i have added the DNS entries but users have the similar requirement there as well
It should give them actual host-name or alias-Hostname based on how they login , Can you please help me with this
Last edited by Scrutinizer; 06-02-2016 at 01:15 AM..
Reason: doubt -> question
Hi Folks,
When I type clear on my unix prompt on mac terminal, it prints the help menu of a program instead of cleaning the contents of the screen.
Also, I have used the following alias command to setup some shortcuts, but soon after I logout and login, these shortcuts doesn't work.
alias... (4 Replies)
Hi All,
So we added a new HP-UX 11.31 machine. Copied OS via Ignite-UX (DVD)over from this machine called machine_a. It was supposed to be named machine_c. And it is when you log in...however when I'm in the ILO console before logging in, it says:
It should say:
What gives? And how do... (4 Replies)
I have to do this twice.
First,
A) change IP address, subnet & default gateway.
then a few days later
B) change IP address again (same subnet & gateway) & hostname.
(why twice? To get the vlan stuff out of the way in advance)
what is the best way to do A?
can all be done through... (5 Replies)
Hello,
I am new to Solaris.
I am using stand alone Solaris 10.0 for test/study purpose and connecting to internet via an ADSL modem which has DHCP server. My Solaris is working on VMWare within winXP. My WinXP and Solaris connects to internet by the same ADSL modem via its DHCP at the same... (1 Reply)
Hi all,
I am kinda new to this unix environment, and now I get confused to figure out this alias problem. I would like to make my xemacs to run in background every call, and I am trying to do it this way in .bashrc
alias e='xemacs &* & '
i also tried
e () { xemacs "&*" &}
but they are... (0 Replies)
We just recently moved from a DG-UX (Unix V) to HP 9000 servers running POSIX. I used the c-shell in the DG-UX system mainly because the bourne-shell did not support aliasing. Now in the default posix-shell of HP aliasing is supported. The main difference seams to be that in a c-shell you can pass... (1 Reply)
Having a memory lapse:
If I redefine a command using an alias or a function - How do I access the "real" command without specifying an absoulte path:
i.e.
function man
{
/usr/bin/man |more
}
alias ls='/usr/bin/ls -l'
How do I specify the ls or man command above without the... (6 Replies)