Jump to content
Report any bug Read more... ×
We're hiring! We are accepting applications for Developers, Teachers, Redactors and Junior Moderators. Read more... ×

Create an account on our board

or login and enjoy all the possibilities

Existing user? Sign In

Sign In



Sign Up

Learn Or Teach

You can learn computer security by practicing in the Dashboard, you can also be taught by a teacher. Or You can teach community members regardless of your specialty, and earn points for each person!

Learn or Teach

The Challenges

The new Challenges page is here. Take advantage of several vulnerable web applications to help train you such as, DVWA, XVWA, Mutillidae. You can also launch an existing or custom virtual machine.

Play Now !

Collaboration Room

The first categories of the forum are rooms that you can create or join in order to participate in events with the other members of the community. You can also create your room to make a teaching request, or attend your teacher's presentation. In this room you can create a private forum, store your information, invite other people etc.

Create Room

Create your club

You can create a club with your friends, earn points in teams. Creating a club gives you access to a team space. There you will have a private forum where you can store files, share information etc. Invite your friends and play together!

Create yours now!

VIP

Several VIP packs are available, understand that the survival of this site depends on it. Of course you can buy this pack with your points won during events. Formulas: Vip Member Vip Teacher Vip student

Buy
News
  • For new users read this
  • Challenges
  • for new users thank you to post in introduction and answer "Accept" on the topic of the rules to have access to the integrity of the forum and receive your Exploit-Code
  • The challenges board is being developed you are likely to encounter some bugs if this is the case report to an administrator.
Sign in to follow this  
Naylor

customization Customize your terminal (PS1)

Recommended Posts

Posted (edited)

Hi,

I will show you how to personalize your Linux terminal like that:

From:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

to:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

PS1

So this method don't use any package to install, because what we are gonna use is ".bashrc" on the path "~/".

If when you are in the path "~/" but you don't see him when you do a "ls" than't normal, do  "ls -la" to order and see hided files.

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

So now it depends on if you have GUI or not:

-if you have a GUI type "sudo gedit .bashrc"

-else type : "sudo nano .bashrc" (you can use vim or mg)

go to this line :

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

So the line which interest us is the "PS1="....""

Now all u have to do is modifying yourself the value of the variable PS1

(if u don't know bash coding :

Hidden Content

    Give reaction or reply to this topic to see the hidden content.
)

Leave a like:classic_biggrin:

 

 

 

Edited by Naylor
  • Like 1

Share this post


Link to post
Share on other sites

Nice !

Share this post


Link to post
Share on other sites
Sign in to follow this  

×