Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Dutch
  • Search

Shell

Welkom op het Nederlands/Vlaamstalig Forum van Gentoo.
Post Reply
  • Print view
Advanced search
7 posts • Page 1 of 1
Author
Message
tslapertje
n00b
n00b
Posts: 18
Joined: Sun Jan 18, 2004 8:11 am
Contact:
Contact tslapertje
Website

Shell

  • Quote

Post by tslapertje » Sun Apr 18, 2004 9:31 pm

Op dit moment is mijn shell als volgt:

Code: Select all

bash-2.05b$
Maar ik zou mijn shell graag krijgen als

Code: Select all

tslapertje@directory>
zoals ik dat op mijn SuSE had.

Hoe doe ik dat?
Top
garo
Bodhisattva
Bodhisattva
User avatar
Posts: 860
Joined: Mon Jul 15, 2002 10:20 am
Location: Edegem,BELGIUM

  • Quote

Post by garo » Mon Apr 19, 2004 5:46 am

Als je de regel "source /etc/profile" in je ".bashrc" zet, dan heb je ongeveer hetzelfde.
My favorite links this month:
- Surf Random
- Web-based SSH
- Stop Spam
Top
water
Guru
Guru
User avatar
Posts: 387
Joined: Wed Jun 19, 2002 9:56 am
Location: Zierikzee, The Netherlands

  • Quote

Post by water » Mon Apr 19, 2004 1:37 pm

garo wrote:Als je de regel "source /etc/profile" in je ".bashrc" zet, dan heb je ongeveer hetzelfde.
Ehm, dit wordt bij een normale start toch ook uitgevoerd?
Groeten uit Holland
Top
garo
Bodhisattva
Bodhisattva
User avatar
Posts: 860
Joined: Mon Jul 15, 2002 10:20 am
Location: Edegem,BELGIUM

  • Quote

Post by garo » Mon Apr 19, 2004 2:24 pm

In de console wel maar als je werkt in x-term-achtig programma dan gebeurt dit niet altijd.
Anyway, In bash is het de variable $PS1 die het uitzicht regelt van de huidige regel. Google wat op "bash" en "ps1" en je zal wel genoeg info vinden om de shell perfect te regelen zoals je wilt
My favorite links this month:
- Surf Random
- Web-based SSH
- Stop Spam
Top
RemcoNL
Apprentice
Apprentice
Posts: 178
Joined: Sun Nov 30, 2003 9:22 am
Location: Leiden, The Netherlands
Contact:
Contact RemcoNL
Website

  • Quote

Post by RemcoNL » Thu Apr 29, 2004 11:02 am

Toevoegen aan /etc/profile:

Code: Select all

export PS1='\u@\h:\w\$ '
Use Compact Flash cards as a silent IDE hard drive
Top
frenkel
Veteran
Veteran
User avatar
Posts: 1034
Joined: Tue May 13, 2003 5:08 pm
Location: .nl
Contact:
Contact frenkel
Website

  • Quote

Post by frenkel » Thu Apr 29, 2004 5:26 pm

Als je aterm gebruikt (andere terminals kunnen het waarschijnlijk ook wel, maar ik ben een aterm gebruiker), kun je hem opstarten met de -ls optie (loginshell), op deze manier zal je aterm er hetzelfde uit zien als een normale console.

Groet,
Frank
http://techfield.org
Top
AlterEgo
Veteran
Veteran
User avatar
Posts: 1619
Joined: Thu Apr 25, 2002 2:51 pm

  • Quote

Post by AlterEgo » Thu Apr 29, 2004 6:34 pm

alles wat je altijd al wilde weten over de bash-prompt maar nooit durfde te vragen :wink:
Top
Post Reply
  • Print view

7 posts • Page 1 of 1

Return to “Dutch”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic