Mailing List Archive

Support open source code!


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

Re: bash: no job control in this shell



SN Diamond <Norman.Diamond@example.com> writes in tlug@example.com:

> SL Baur replied to me:
>> What do you see when you execute `ls -l /proc/self/fd'?

> I don't know the meaning, but here it is:

> [root@example.com ndiamond]# ls -l /proc/self/fd
> 合計 0
> lrwx------    1 root     root           64  8月  8 15:03 0 -> /dev/pts/0
> lrwx------    1 root     root           64  8月  8 15:03 1 -> /dev/pts/0
> lrwx------    1 root     root           64  8月  8 15:03 2 -> /dev/pts/0
> lr-x------    1 root     root           64  8月  8 15:03 3 -> /proc/1261/fd

That's correct.  Two more questions:

What are the permissions on /dev/pts/0?  `ls -l /dev/pts/0'.
What other processes have that device open?  '/sbin/fuser /dev/pts/0'

Then, for all the numbers listed in the fuser command, do `oldps <number>'
to see what they are.

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links