[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

greb and ksh



Hello, I am taking a unix course that uses redhat 5.1 linux. Our 
instructor wants us to use the Korn shell. I am having trouble with it 
and with grep. Can anyone help me?
	Korn shell: The instructor wants us to use the Korn shell, so I set 
up one user on  my system using that. I changed the etc/passwd file 
so that that user goes to ksh. It functions normally in ksh, but there's 
nothing about the user on the command line. In bash, it says which 
directory and which user is at work. But ksh only shows obscure 
symbols. Is that the way it's supposed to be?
	Also, chsh doesn't get me back to bash. Neither does chsh 
/bin/bash.
	Grep: It is supposed to find lines of print bearing the pattern in 
the command line, right? But it doesn't. A command such as:
grep "dog" /home/student
should return lines bearing dog from files in /home/student. But I get 
no results at all. What am I doing wrong? 
Thanks, STeve W.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]