Results 1 to 2 of 2

Thread: Hostname on command line

Hybrid View

  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
  •  


SanDisk 1TB SSD Plus, Internal Solid State Drive - SDSSDA-1T00-G26 picture

SanDisk 1TB SSD Plus, Internal Solid State Drive - SDSSDA-1T00-G26

$74.99



WD_BLACK 1TB D30 Game Drive SSD, External Solid State Drive - WDBATL0010BBK-WESN picture

WD_BLACK 1TB D30 Game Drive SSD, External Solid State Drive - WDBATL0010BBK-WESN

$99.99



Dell - 800GB SSD SAS 12G MLC WI 2.5in PX05SM CN3JH picture

Dell - 800GB SSD SAS 12G MLC WI 2.5in PX05SM CN3JH

$109.99



Western Digital 500GB WD Green SN350 NVMe Internal SSD, M.2 2280 - WDS500G2G0C picture

Western Digital 500GB WD Green SN350 NVMe Internal SSD, M.2 2280 - WDS500G2G0C

$46.99



Samsung 512 GB SATA III 2.5

Samsung 512 GB SATA III 2.5" Solid State Drive PM871a / SM841N / OGYG3M *TESTED*

$22.00



Crucial BX500 240GB Internal SSD,Micron 3D NAND SATA CT240BX500SSD1 - OEM item picture

Crucial BX500 240GB Internal SSD,Micron 3D NAND SATA CT240BX500SSD1 - OEM item

$16.99



Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot picture

Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot

$13.99



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$14.99



Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot picture

Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot

$198.99



Fanxiang 256GB 512GB 1TB 2TB 4TB Internal SSD 2.5

Fanxiang 256GB 512GB 1TB 2TB 4TB Internal SSD 2.5" SATA III 6GB/s for PC/MAC Lot

$197.99