LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 04-09-2014, 06:01 PM   #1
trevor_hungerford
LQ Newbie
 
Registered: Apr 2014
Posts: 2

Rep: Reputation: Disabled
What does the 'p' in prwxrwxrwx mean?


Hi all,

Can someone advise what the 'p' means in prwxrwxrwx when I ls a file on my redhat box.

I want to remove it but I can't...

Quote:
$ ls -ltr sched_1609
prwxrwxrwx 1 fittms rtcsadmin 0 May 20 2011 sched_1609
$ rm sched_1609
rm: cannot remove `sched_1609': Operation not permitted
Many thanks
 
Old 04-09-2014, 06:13 PM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 2,403

Rep: Reputation: Disabled
The p indicates that it's a "FIFO", a file object used to pipe data from one process/program to another (First In, First Out).

As for why you can't remove it, my guess would be that it's in use.
 
Old 04-09-2014, 06:27 PM   #3
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
You may have fun reading up on concept everything is file in Unix world. And welcome to the forums!
 
Old 04-09-2014, 06:33 PM   #4
trevor_hungerford
LQ Newbie
 
Registered: Apr 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Many thanks!
 
Old 04-09-2014, 07:54 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,374

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
https://en.wikipedia.org/wiki/Unix_f...#Symbolic_link for some more info.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off




All times are GMT -5. The time now is 09:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration