Sponsored Content
Top Forums UNIX for Advanced & Expert Users Find the list of files with a set of Users Post 302824715 by radoulov on Friday 21st of June 2013 11:30:40 AM
Old 06-21-2013
Just to add that I don't see how ls -tr could be useful in this context Smilie

Last edited by radoulov; 06-21-2013 at 12:39 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

su - user... how to find out the list of users and their passwords..

hi, to do a su - user, we need to know what are the users... so in unix 1) which file to see the list of users, passwords? (2 Replies)
Discussion started by: yls177
2 Replies

2. UNIX for Dummies Questions & Answers

Find users using system(List them only once)

Hey, got a few questions here for anyone who can help...... Command line to - display users using the system, but count them only once. Command line to - use the lastcomm command to display how many times ive used grep in october. Command line to - list all logged on users with at least 6... (3 Replies)
Discussion started by: xBuRnTx
3 Replies

3. UNIX for Dummies Questions & Answers

How do i find out the list of users whose terminal is writable?

Hello, i just wanted to know how do i find out the list of users whose terminal is writable?i mean i used who -T but this gives a list of all users whose terminal is writable or blocked and not writable. So how do i do this?I am new to Unix. (2 Replies)
Discussion started by: salman4u
2 Replies

4. Shell Programming and Scripting

spilit the list of files in set ls -1 *.dbf

Dear All, Please help in this subject.. my requirement is list the files in directory and out of that list make the different set and each should set contains 10 files and assign to variable and start zipping in background. pick the second set files and same to be repeat the commands parallel. i... (3 Replies)
Discussion started by: nmadhuhb
3 Replies

5. Shell Programming and Scripting

find list of files from a list and copy to a directory

I will be very grateful if someone can help me with bash shell script that does the following: I have a list of filenames: A01_155716 A05_155780 A07_155812 A09_155844 A11_155876 that are kept in different sub directories within my current directory. I want to find these files and copy... (3 Replies)
Discussion started by: manishabh
3 Replies

6. Shell Programming and Scripting

Find Set of files

All, I am trying to find a set of files, it could be one file OR set of file , all with extension .DAT I need to do some acticity, only if the files exist in a partificular folder like if ; then CntV=`ls $Landing/*.DAT |wc -l` echo "Lst Value " $Cnt... (3 Replies)
Discussion started by: Shanks
3 Replies

7. UNIX for Dummies Questions & Answers

[Solved] Using w; how to list find all the users

Hi, On my system, I have about 75 users. Some uers have two or three sessions on the same systems. when I do w, it shows all the sessions. Is there any way to find only the users and not worry about how many sessions. For example: you can see sshe has four connection. I only want to know... (5 Replies)
Discussion started by: samnyc
5 Replies

8. UNIX for Dummies Questions & Answers

Find a set of files in a location

Hi, I am new to Unix. I need a script to check some 74 files are present in a particular location or not . (4 Replies)
Discussion started by: nid21
4 Replies

9. UNIX for Advanced & Expert Users

Advance file_name serech from set of list files in particular directory

Hi All, im hav one requirement, let me explain my requirement. my script will run every one hour and it wil pull files from remote server to my local server.but the d files hwich are pulled my not be in required format wht im expecting in my server. but in my sever in particular dierectory i... (7 Replies)
Discussion started by: Seshendranath
7 Replies

10. Shell Programming and Scripting

Find command to find a word from list of files

I need to find a word '% Retail by State' in the folder /usr/sas/reports/RetailSalesTaxallocation. When I tried like below, -bash-4.1$ cd /usr/sas/reports/RetailSalesTaxallocation -bash-4.1$ find ./ -name % Retail by State find: paths must precede expression: Retail Usage: find ... (10 Replies)
Discussion started by: Ram Kumar_BE
10 Replies
semanage_fcontext(3)					   Libsemanage API documentation				      semanage_fcontext(3)

NAME
semanage_fcontext - SELinux File Context Management API SYNOPSIS
#include <semanage/fcontext_record.h> #include <semanage/fcontexts_policy.h> #include <semanage/fcontexts_local.h> This object contains properties associated with a SELinux file context specification For details on a specific function, see its manual page. Record API Overview semanage_fcontext_create(3)- create a file context spec semanage_fcontext_free(3)- release resources for this file context spec semanage_fcontext_key_create(3)- create a key, which can be used to identify a file context spec semanage_fcontext_key_free(3)- release resources for this file context spec key semanage_fcontext_key_extract(3)- create a key matching this file context spec semanage_fcontext_clone(3)- create an identical file context spec (deep-copy clone) semanage_fcontext_compare(3)- compare this file context spec to the provided key semanage_fcontext_compare2(3)- compare this file context spec to another Properties API Overview semanage_fcontext_get_expr(3)- return the regular expression for this file context spec semanage_fcontext_set_expr(3)- set the regular expression for this file context spec semanage_fcontext_get_type(3)- return the file type for this file context spec semanage_fcontext_get_type_str(3)- return a string representation for this file context spec type semanage_fcontext_set_type(3)- set the file type for this file context spec semanage_fcontext_get_con(3)- return the SELinux context for this file context spec semanage_fcontext_set_expr(3)- set the SELinux context for this file context spec Record Store API Overview semanage_fcontext_modify_local(3)- add or update a file context spec in the local store semanage_fcontext_del_local(3)- delete a file context spec from the local store semanage_fcontext_exists(3)- check if a file context spec is defined in the persistent policy semanage_fcontext_exists_local(3)- check if a file context spec is defined in the local store semanage_fcontext_query(3)- query a file context spec in the persistent policy semanage_fcontext_query_local(3)- query a file context spec in the local store semanage_fcontext_count(3)- count the number of file context specs defined in the persistent policy semanage_fcontext_count_local(3)- count the number of file context specs defined in the local store semanage_fcontext_iterate(3)- execute a callback for each file context spec in the persistent policy semanage_fcontext_iterate_local(3)- execute a callback for each file context spec in the local store semanage_fcontext_list(3)- return an array containing all file context specs in the persistent policy semanage_fcontext_list_local(3)- return an array containing all file context specs in the local store ivg2@cornell.edu 16 March 2006 semanage_fcontext(3)
All times are GMT -4. The time now is 06:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy