05-12-2013
Quote:
Originally Posted by
Jotne
Thanks you for looking at this, but your solution broke other stuff.
It didn't.
The other stuff was already broken given the fact I didn't change anything elsewhere and my change doesn't impact but the number of non hidden files displayed.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
Can you tell me how to change the prompt color (only the path part) when I chnange directory with "cd"?
I use the sequence below in ".bashrc" (Solaris 8) to change my prompt colors and I'd like to modify it to change the path color when I cange directory.
PSC() { echo -ne "\"; }... (0 Replies)
Discussion started by: majormark
0 Replies
2. UNIX for Dummies Questions & Answers
Hello,
first of all, I want to make myself clear about my language. I'm brazilian, so I ask you all to understand if i commit any mistake with the grammar.
Here is the problem.
Some days ago I needed to use a "sh" command in the Terminal (I use a Mac OSX 10.5.6) followed by a file... (0 Replies)
Discussion started by: anubisbr
0 Replies
3. Shell Programming and Scripting
Hi folks
This is our prompt at the moment
oracle@pinkipinki:/opt/oracle> grep 'set prompt' .cshrc
set prompt = "$user@`uname -n`:$cwd> "
We wish to have in production the same prompt, but red.
Howto do that? I tried a lot a internet manuals, but it doesn't work. (1 Reply)
Discussion started by: slashdotweenie
1 Replies
4. Shell Programming and Scripting
Just wondering if someone could assist me with shell script I'm trying to write. I need to read the final column of a text file (shown below) and workout what the average number is. The text file will have a variable number of lines, I just want the script to pull out the values in the final field... (14 Replies)
Discussion started by: rich@ardz
14 Replies
5. Shell Programming and Scripting
Hi,
When I run:
echo "\033I see hi in color, but if I run this color is not shown, why?
(echo "\033Thanks
Israel.
---------- Post updated at 05:17 AM ---------- Previous update was at 04:43 AM ----------
DONE!!
I had to run more -v.
Thanks (4 Replies)
Discussion started by: iga3725
4 Replies
6. UNIX for Advanced & Expert Users
Can someone tell me why pkill won't work on firefox anymore? (11 Replies)
Discussion started by: cokedude
11 Replies
7. Shell Programming and Scripting
Hi!
I am using latest ZSH and I have setopt prompt_subst
I have a global hash array variable which contains some color definitions with color names as keys and 256-color ANSI codes (with %{ and %}) as values, eg %{\ePS1="$FG Hello World (%M) > "
or
PS1=$'$FG Hello World (%M) > '
then it... (3 Replies)
Discussion started by: galanom
3 Replies
8. UNIX for Advanced & Expert Users
Hi,
Since a year my libvirtd does not work anymore on my Gentoodesktop. In the meantime a used virtualbox. But I would like to have back libvirt. The problem was after libvirt should not only work with root privileges. I deinstalled all things with libvirt an kvm. I removed all things from /var... (4 Replies)
Discussion started by: darktux
4 Replies
9. Red Hat
Hi,
I'm trying to customize the ksh prompt for users on a RHEL 6.6 system for having user@host pwd : $ and user@host pwd # in red color for root.
I think it's possible but i do not even succeded for a non root user :
I added in my ~/.kshrc :
PS1="Hello : " and it works
but when i... (4 Replies)
Discussion started by: Fundix
4 Replies
LEARN ABOUT DEBIAN
safe_finger
SAFE_FINGER(8) Linux Programmer's Manual SAFE_FINGER(8)
NAME
safe_finger - finger client wrapper that protects against nasty stuff from finger servers
SYNOPSIS
safe_finger [finger_options]
DESCRIPTION
The safe_finger command protects against nasty stuff from finger servers. Use this program for automatic reverse finger probes from the
tcp_wrapper (tcpd) , not the raw finger command. The safe_finger command makes sure that the finger client is not run with root privileges.
It also runs the finger client with a defined PATH environment. safe_finger will also protect you from problems caused by the output of
some finger servers. The problem: some programs may react to stuff in the first column. Other programs may get upset by thrash anywhere on
a line. File systems may fill up as the finger server keeps sending data. Text editors may bomb out on extremely long lines. The finger
server may take forever because it is somehow wedged. safe_finger takes care of all this badness.
SEE ALSO
hosts_access(5), hosts_options(5), tcpd(8)
AUTHOR
Wietse Venema, Eindhoven University of Technology, The Netherlands.
Linux 21th June 1997 SAFE_FINGER(8)