Results 1 to 2 of 2

Thread: Hostname on command line

  1. #1
    Member registered user
    Join Date
    Feb 2003
    Location
    Vancouver BC
    Posts
    92

    Hostname on command line

    Hi

    I would like to make Knoppix show the hostname in the command line.

    How do I do this?

    - Ambrose

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    man bash

    then search for PROMPTING

    basically, just change ~/.bashrc for a line like PS1="\h" or similar.

Similar Threads

  1. boot only in command line - help
    By teccim in forum Hdd Install / Debian / Apt
    Replies: 8
    Last Post: 06-14-2005, 04:09 PM
  2. booting into the command line
    By greygooseplz in forum General Support
    Replies: 1
    Last Post: 11-25-2004, 05:58 AM
  3. Bring up KDE from command line
    By Jesse in forum Hdd Install / Debian / Apt
    Replies: 8
    Last Post: 04-30-2004, 05:57 PM
  4. command line WOES
    By bob58 in forum General Support
    Replies: 1
    Last Post: 03-27-2004, 11:10 PM
  5. login with GUI/Command Line
    By wilsondk in forum General Support
    Replies: 2
    Last Post: 02-18-2004, 10:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Cisco ASA5525-FTD-K9 Security Appliance with FirePower Services picture

Cisco ASA5525-FTD-K9 Security Appliance with FirePower Services

$1000.00



Fortinet Fortiwifi 60D FG-60D Security Appliance Firewall / VPN w/ AC Adapter picture

Fortinet Fortiwifi 60D FG-60D Security Appliance Firewall / VPN w/ AC Adapter

$34.97



Fortinet Fortigate FG-61E Firewall Network Security Appliance ATP Bundle 1 years picture

Fortinet Fortigate FG-61E Firewall Network Security Appliance ATP Bundle 1 years

$199.00



Fortinet Fortigate FG-61E | Firewall Network Security Appliance picture

Fortinet Fortigate FG-61E | Firewall Network Security Appliance

$49.99



Fortinet FortiGate 50E Firewall picture

Fortinet FortiGate 50E Firewall

$45.00



Palo Alto PA-220 Next-Gen Firewall 520-000309-00J w/ Power adapter picture

Palo Alto PA-220 Next-Gen Firewall 520-000309-00J w/ Power adapter

$69.98



PROTECTLI THE VAULT FIREWALL MODEL - FW20216 picture

PROTECTLI THE VAULT FIREWALL MODEL - FW20216

$100.00



Cisco Meraki Z3 Cloud Managed Teleworker Gateway Firewall Unclaimed picture

Cisco Meraki Z3 Cloud Managed Teleworker Gateway Firewall Unclaimed

$34.99



PFSense Firewall - 12th Gen N100 - 2.5 Gbe - US Seller - Multiple Options picture

PFSense Firewall - 12th Gen N100 - 2.5 Gbe - US Seller - Multiple Options

$274.99



Fortinet FortiGate 600 Firewall FG-600D w/ Rack Ears Tested & Reset Unregistered picture

Fortinet FortiGate 600 Firewall FG-600D w/ Rack Ears Tested & Reset Unregistered

$160.00