in reply to Send Bash Command
When you run it, it'll change the color to red, then it'll appear to hang. Actually, as with any command, bash is waiting for <enter>. To get back to your former color, just exit the terminal and start another one.#!/usr/bin/perl use strict; use warnings; use ExtUtils::MakeMaker qw(prompt); prompt("export PS1=\e[0;31m\][\\u@\\H\\W\]\$\\e]m");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Send Bash Command
by bichonfrise74 (Vicar) on Mar 03, 2010 at 19:03 UTC | |
by Khen1950fx (Canon) on Mar 03, 2010 at 21:48 UTC |