LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 05: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, 05:13 PM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,345

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, 05:27 PM   #3
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

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, 05:33 PM   #4
trevor_hungerford
LQ Newbie
 
Registered: Apr 2014
Posts: 2

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

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


Reply



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



LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:18 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
Open Source Consulting | Domain Registration