Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

chcat(8) [centos man page]

CHCAT(8)							   User Commands							  CHCAT(8)

NAME
chcat - change file SELinux security category SYNOPSIS
chcat category file... chcat -l category user... chcat [[+|-]category...] file... chcat -l [[+|-]category...] user... chcat [-d] file... chcat -l [-d] user... chcat -L [ -l ] [ user ... ] DESCRIPTION
Change/Remove the security category for each file or user. Use +/- to add/remove categories from a file or user. Note: When removing a category you must specify '--' on the command line before using the -Category syntax. This tells the command that you have finished entering options and are now specifying a category name instead. -d delete the category from each FILE/USER. -L list available categories. -l Tells chcat to operate on users instead of files. SEE ALSO
chcon(1), selinux(8), semanage(8) When operating on files this script wraps the chcon command. FILES
/etc/selinux/{SELINUXTYPE}/setrans.conf /etc/selinux/{SELINUXTYPE}/seusers chcat September 2005 CHCAT(8)

Check Out this Related Man Page

QUIZ(6) 							   Games Manual 							   QUIZ(6)

NAME
quiz - test your knowledge SYNOPSIS
/usr/games/quiz [ -i file ] [ -t ] [ category1 category2 ] DESCRIPTION
Quiz gives associative knowledge tests on various subjects. It asks items chosen from category1 and expects answers from category2. If no categories are specified, quiz gives instructions and lists the available categories. Quiz tells a correct answer whenever you type a bare newline. At the end of input, upon interrupt, or when questions run out, quiz reports a score and terminates. The -t flag specifies `tutorial' mode, where missed questions are repeated later, and material is gradually introduced as you learn. The -i flag causes the named file to be substituted for the default index file. The lines of these files have the syntax: line = category newline | category `:' line category = alternate | category `|' alternate alternate = empty | alternate primary primary = character | `[' category `]' | option option = `{' category `}' The first category on each line of an index file names an information file. The remaining categories specify the order and contents of the data in each line of the information file. Information files have the same syntax. Backslash `' is used as with sh(1) to quote syntacti- cally significant characters or to insert transparent newlines into a line. When either a question or its answer is empty, quiz will refrain from asking it. FILES
/usr/games/quiz.k/* BUGS
The construct `a|ab' doesn't work in an information file. Use `a{b}'. 7th Edition May 20, 1985 QUIZ(6)
Man Page

14 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Force Password Change...RedHat 7.1

Hello, I just finished adding a bunch of new users to the linux servers I administer. I add users either via command line or via linuxconf, but I can't seem to find out how to force users to change their passwords on their first login to the system. Anyone know how to do that? My HP-UX... (1 Reply)
Discussion started by: vancouver_joe
1 Replies

2. UNIX for Dummies Questions & Answers

wc command help.... and other unix command....... urgent

hi all. thanks for looking i am doing some homework. one question is that when type wc and then how to tell the program that we have finished entering data? also why do some operating systems report 22 as the number of bytes in the file above, while others only 20? thanks so much,... (1 Reply)
Discussion started by: dashi2k
1 Replies

3. UNIX for Advanced & Expert Users

Python, HTML, and Unix

Hi Experts, This may be the wrong category for posting my question, or it could be the perfect category to post. I have no idea how difficult my problem is. I have python 2.3 installed in my server machine. I am trying to create a web page with python script in it. Now this can be a .html... (1 Reply)
Discussion started by: davidfrank
1 Replies

4. Shell Programming and Scripting

Shell script to remove duplicates lines in a file

Hi, I am writing a shell script that needs to remove duplicate lines within a file by category. example: section a a c b a section b a b a c I need to remove the duplicates within th category with out removing the duplicates from the 2 different sections (one of the a's in section... (1 Reply)
Discussion started by: RichElks
1 Replies

5. UNIX for Advanced & Expert Users

Expert Opinion

This perhaps does not belong in ths category; apologies, however, we have a heated debate going and your input will decide the result. Should UNIX (HP, AIX, etc) be rebooted following a monthly cycle (Every month, or a qtr, etc.). We have some UX admins (grumps) who say they have seen a UX... (6 Replies)
Discussion started by: rsheikh
6 Replies

6. IP Networking

what exactly is web1.0, web2.0, web3.0 ?

Hi guys, Is it correct to say that a website's category is for example web1.0? or Is it correct to say that we live in for example web2.0 Internet technology period? (5 Replies)
Discussion started by: Felicia23
5 Replies

7. Red Hat

Live-cd Saving changes

Hi all, firstly apologies if this is in the wrong category. I have been making livecds (fedora based) and to change eg the background i use below in the ks file. this works fine, however when i install the livecd it loses the changes. How can i make the changes so that they stay when... (5 Replies)
Discussion started by: davewilks
5 Replies

8. AIX

Problem in SIGTTOU in AIX 5.2

Hi All, I searched different websites through search engine to get my problem rectified but it went in vain. I thought let me post my issue under expert category Whenever I run any script in background like <script name> & I get the following result if I use jobs command +... (3 Replies)
Discussion started by: shahnazurs
3 Replies

9. Shell Programming and Scripting

Finding the line after (if it exists)

Hi there, i have a text file like this category=production memory=32gb CPU=2.6ghz category=uat memory=16gb CPU=2.6ghz memory=32gb CPU=2.6ghz memory=8gb CPU=2.8ghz Is there... (6 Replies)
Discussion started by: rethink
6 Replies

10. Post Here to Contact Site Administrators and Moderators

How to change the category?

Hi, I submitted my blog on UNIX in the links section. On submitting, i chose the category as Unix/Linux standards, which i now feel is incorrect. I would like to change the category of my link, but i don't find any option to change the category. Please help me in doing the needful. Thanks... (7 Replies)
Discussion started by: guruprasadpr
7 Replies

11. Shell Programming and Scripting

Parsing out the first (top) data lines of each category

Hi All, I need some help in parsing out the first (top) data lines of each category (categories are based on the first column a, b, c, d, e.( see example file below) from a big file a dfg 3 6 8 9 a fgh 5 7 0 9 a gkl 5 2 4 7 a glo 7 0 1 5 b ghj 9 0 4 2 b mkl 7 8 0 5 b jkl 9 0 4 5 c jkl 2... (1 Reply)
Discussion started by: Lucky Ali
1 Replies

12. Shell Programming and Scripting

line 15: syntax error: unexpected end of file

Hi all, I am very new to programming and even newer to this forum as well, so I apologize if this should have been in the Newbie category, but... I am currently trying to figure out Shell Scripting and am running into problems early. Not having taken any kind of programming class, I am not even... (2 Replies)
Discussion started by: ccorder22
2 Replies

13. Shell Programming and Scripting

extract the max value category

Hi, I have a file and I want the category for each row to be its highest value. gene highest medium lower lowest ABC 20 30 50 70 DEF 90 20 60 0 o/p gene highest medium lower lowest category ABC... (6 Replies)
Discussion started by: Diya123
6 Replies

14. What is on Your Mind?

Cargo cult programming...

Hi all... As a mere amateur programmer it came to my attention recently of a phrase:- Cargo Cult Programming... After reading the wiki on it I think that I may have fallen into this category. But then, I can only code in my own time and do not do it for a living so there is always that... (1 Reply)
Discussion started by: wisecracker
1 Replies