Displaying 11 results from an estimated 11 matches for "prompt_command".
2020 Oct 26
0
@Microknoppix
On Mon, 26 Oct 2020 12:35:33 -0500 (CDT)
Michael Hennebry wrote:
> but now my LXterms all have hennebry at Microknoppix on top.
> WTF? How did that happen?
> How do I fix it?
Wild guess: PROMPT_COMMAND was changed in /etc/bashrc or ~/.bashrc
--
Can we uninstall 2020 and install it again? This one has a virus.
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
2020 Oct 26
4
@Microknoppix
Normally I run Centos 7,
but I accidently booted a German Knoppix OS.
I'm back to Centos 7,
but now my LXterms all have hennebry at Microknoppix on top.
WTF? How did that happen?
How do I fix it?
How do I make it not happen again?
What other trouble should I be looking for?
I opened a couple LXterms,
looked at man pages and ran xrandr as root a few times.
Also I ran shutdown a couple times.
2016 Sep 02
0
CentOS Digest, Vol 140, Issue 1
...deps /builddir/build/SPECS/nodejs-are-we-there-yet.spec'],
chrootPath='/var/lib/mock/epel-7-x86_64/root'shell=FalseprintOutput=Falseenv={'LANG':
'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME':
'mock', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"',
'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1':
'<mock-chroot> \\s-\\v\\$
'}gid=135user='mockbuild'timeout=0logger=<mockbuild.trace_decorator.ge...
2017 Jun 14
3
[Bug 2730] New: A "LocalCommand" equivalent for AFTER the session ends
https://bugzilla.mindrot.org/show_bug.cgi?id=2730
Bug ID: 2730
Summary: A "LocalCommand" equivalent for AFTER the session ends
Product: Portable OpenSSH
Version: 7.5p1
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5
Component: ssh
Assignee:
2001 Oct 19
0
Bash error when login as DOMAIN\username using winbindd
...eeks without any problem. I am
using 'winbind separator = \' (default value) in a RH7.0 and RH7.1
computers. I wanted the same prompt as a local user had
([username@server path]$), but the '\' character was giving me problems.
I found the problem in /etc/bashrc file when setting the PROMPT_COMMAND,
I modified this line and now I have the prompt as I wanted:
(DOMAIN\username@server path]$), but I am getting another error when a
user logs into the server:
[: too many arguments
This error was present before I modified /etc/bashrc file to fix the
problem with the prompt.
Have any one using wi...
2008 Nov 25
2
tightvnc server fails to start
...ghtVNC remote administration daemon (Xvnc):2:root WARNING:
initlog is deprecated and will be removed in a future
vncserver: The USER environment variable is not set.
[FAILED]
But there is a USER environment variable set:
set|grep USER
PROMPT_COMMAND='echo -ne
"\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}"; echo -ne "\007"'
USER=root
(remember, I am logged in as root so I can issue the service command)
And further in /etc/profile I have:
if [ -x /usr/bin/id ]; then
USER="`id -un`"
LOGN...
2005 Dec 02
0
R CMD INSTALL fails if cd prints stuff to stdout ... (PR#8363)
...\""
if test -f "${1}/${p}/DESCRIPTION.in"; then
## Try being defensive about missing final newlines, or extra
## empty lines.
--- 127,138 ----
get_packages () {
## get the full path names to all packages contained in $1.
## NOTE: modifies pkgs!
+ PROMPT_COMMAND=
+ BASH_COMMAND=
if grep "^Contains:" "${1}/DESCRIPTION" >/dev/null; then
bundlepkg=`get_dcf_field Contains "${1}/DESCRIPTION"`
for p in ${bundlepkg}; do
! pkgs="${pkgs} \"`cd "${1}/${p}>/dev/null 2>&1" &&...
2005 Dec 02
0
(PR#8363) R CMD INSTALL fails if cd prints stuff to stdout
...-f "${1}/${p}/DESCRIPTION.in"; then
> ## Try being defensive about missing final newlines, or extra
> ## empty lines.
> --- 127,138 ----
> get_packages () {
> ## get the full path names to all packages contained in $1.
> ## NOTE: modifies pkgs!
> + PROMPT_COMMAND=
> + BASH_COMMAND=
> if grep "^Contains:" "${1}/DESCRIPTION" >/dev/null; then
> bundlepkg=`get_dcf_field Contains "${1}/DESCRIPTION"`
> for p in ${bundlepkg}; do
> ! pkgs="${pkgs} \"`cd "${1}/${p}>/dev/null 2>...
2019 May 23
4
openssh interface
Dear all,
This is my first post to this group so excuse me if this topic has been
solved previously.
If I want to shutdown a remote database, I could send a "systemctl stop
mariadb" command using ssh. But I wonder if it is possible to update the
openssh server to implement a specific handler/callback that catch this
message and then call a C/C++ code.
In short, is there any interface
2009 Aug 05
4
Autorun ability on cd?
I have a little niggling situation that I would like to resolve
programmatically. I use Git as my SCM and I have release branches
which are sometimes patched. I find myself sometimes entering the
working directory tree forgetting that I was last on a release
branch and not on the master.
What I would like to do is to have a script run every time that I
enter a directory, check for .git, and if
2010 Jun 29
8
What TERMINAL software do you use for MS Windows platform and WHY?
Hi Everyone,
I am accustomed to PUTTY and it's very nice as in it allows many many SSH
profiles to be saved and allows tunneling etc....but it's not very good when
it comes to scrolling up and down, colors, text size, and specially it
doesn't give a title to the opened instance. Maybe giving the IP address as
the title of the window would help a lot if you have many different servers