However, I like the idea of using 'ls' to return to the former color. It's quicker than restarting the terminal:).#!/usr/bin/perl use strict; use warnings; use ExtUtils::MakeMaker qw(prompt); prompt("export PS1=\e[0;31m\][\\u@\\H\\W\]\$\\e]m"); system("ls");
In reply to Re^3: Send Bash Command
by Khen1950fx
in thread Send Bash Command
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |