1753726 Members
4786 Online
108799 Solutions
New Discussion юеВ

Basic commands

 
Abubakkar
Frequent Contributor

Basic commands

1.how to change hostname.
2.how can give ftp permisson to users.
3.how to check the hdd space in human readable
4.
2 REPLIES 2
Bill Hassell
Honored Contributor

Re: Basic commands

It would help if you gave the model of the computer and the version of HP-UX you are running.

> 1.how to change hostname.

Run the command: set_parms hostname
Is that all you need to change? Do you use a DNS server? Do you need to change the IP address too?

> 2.how can give ftp permisson to users.

If ftpd is not commented out in /etc/inetd.conf, then it will work immediately for users with logins on your system. But are you asking how to setup anonymous ftp? Or perhaps how to create users on the system that cannot login but just use ftp?

> 3.how to check the hdd space in human readable

Use the command: bdf
Now there is a bigger question: bdf shows the currently mounted filesystems. It does not show disk space that has not yet been allocated. For LVM disks, the command: vgdisplay will show unused space. The space is shown in Free PE where PE=physical extents and the PE size is given in Mbytes. (this assumes that you are not using VxVM as your volume manager.



Bill Hassell, sysadmin
Rita C Workman
Honored Contributor

Re: Basic commands

Take a class
Open a book

The best answer is the one you learn for yourself..

Rgrds,
Rita