Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm running KDE and I'm using Konsole, which believe is a kshell. I usually have many terminals open at once and I'm trying to have my command line history be unique for each terminal open. I have tried adding this to my .profile:
I tried using $PID and $PPID instead of $$ with no success. However, as you can probably guess, this is not working. It is creating a .sh_history for a PID but when I open a new Konsole tab it is still using the same history.
It seems I don't understand how PIDs work. When I do a "print $PPID" in the command line, the results are identical for all tabbed terminals, but they are different if I open a brand new Konsole by right clicking on the desktop. However, none of the PPIDs show up as a history file. I'm horribly confused.
Also, I realize that this could create many separate history files as time goes on; is there a way to delete a terminal's history file when closing it?
When I ran GNOME a while ago, command line histories were unique for each terminal and tab I had open. I don't know why it's different in KDE.