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



Dell SonicWall TZ400 Firewall Appliance picture

Dell SonicWall TZ400 Firewall Appliance

$39.99



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



Ubiquiti Networks USG Unifi Security Gateway Router/Firewall picture

Ubiquiti Networks USG Unifi Security Gateway Router/Firewall

$29.95



Dell SonicWALL TZ300 | Firewall Security Appliance picture

Dell SonicWALL TZ300 | Firewall Security Appliance

$24.99



NetGate SG-2440 with pfSense Plus Console GNU Router Firewall Security Appliance picture

NetGate SG-2440 with pfSense Plus Console GNU Router Firewall Security Appliance

$69.99



Check Point Software Technologies L-72 Firewall & Security Appliance, w/ adapter picture

Check Point Software Technologies L-72 Firewall & Security Appliance, w/ adapter

$69.99



OPNsense six-port Gigabit router/firewall on Lanner FW-7535 hardware picture

OPNsense six-port Gigabit router/firewall on Lanner FW-7535 hardware

$69.00



Fortinet FortiGate 60F | 10 Gbps Firewall Security Throughput (FG-60F)- Open Box picture

Fortinet FortiGate 60F | 10 Gbps Firewall Security Throughput (FG-60F)- Open Box

$381.99



Sophos SG-115 Rev 2 UTM Firewall Security Appliance 4-Port w/Power Adapter picture

Sophos SG-115 Rev 2 UTM Firewall Security Appliance 4-Port w/Power Adapter

$65.00