Sponsored Content
Top Forums Shell Programming and Scripting Search for files owned by particular owner and group Post 303014337 by Soham on Friday 9th of March 2018 01:57:35 PM
Old 03-09-2018
Rudic,

Yes, find version provides ls version. If I give just find command, I get

Code:
/export/home> find . -user root -group other
./sparcs_1
./sparcs_2

Now under two directories sparcs_1 and sparcs_2 there are few files which are owned by root/other and few which are not. But my earlier command lists all the files under sparcs_1 and sparcs_2.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

owner and group in Linux

I am bit unclear of how Linux was set in the real world, please advise me how it's supposed to be. When I log in as root and do a ls -l, I find: /boot, /, /var, /usr, /tmp, /home, /u01, /u02, /u03 and of of this partition is owned by root and the group also belong to root. Is that the way it's... (1 Reply)
Discussion started by: lapnguyen
1 Replies

2. Shell Programming and Scripting

permission, owner and group

hello I search a script (ksh for Aix 5.3) to save all permissions, groups and owner for all files. Because we work much to change it, and a mystake ......! So i want execute this script to save/ execute permissions for all files. If you have this script, thank you for your help ;) best... (2 Replies)
Discussion started by: pascalbout
2 Replies

3. Cybersecurity

File owned by oracle user and dba group need readonly access to other users

Under oracle user file abc.txt was created. Oracle user belong to dba group on UNIX Server. However other non Oracle users which belongs to some other network groups need read only access to this file. Every time when I login as other then oracle user and try to view this file it saying that I... (2 Replies)
Discussion started by: groosha
2 Replies

4. UNIX for Advanced & Expert Users

How UNIX admin set up this? how files of 744 of other owner can be removed by another owner?

Hi all, We have some files are under 744 permissions and the the owner is say owner1 and group1. Now we have another user owner2 of group2, owner2 can remove files of the owner1 and the permission of those files are 744, unix admin told us he did some config at his side so we can do that. ... (14 Replies)
Discussion started by: TheGunMan
14 Replies

5. Shell Programming and Scripting

search files with owner having execute permission

Hi All, I have to search for all files in the current directory where the owner having execute operation. I can find the files with specific permission such as 666 find . -type f -perm 666 But how to find files with only execute permission to user. tried with : find . -type f... (3 Replies)
Discussion started by: gotam
3 Replies

6. UNIX for Dummies Questions & Answers

Group files by owner and show directory

Hello, i would like to find huge files and group them by owners. To find big files i use this command: ls -lR | sort -bnr +4 | head -n 75 which give me 75 biggest files, then i need to see in which subdirectory is every file. second thing i dont know is how to group those files by owner, could... (6 Replies)
Discussion started by: dealer1985
6 Replies

7. UNIX for Dummies Questions & Answers

Finding the Group Owner Name

Hi all, How can i find the group owner name...??? Thanks (4 Replies)
Discussion started by: mansahr143
4 Replies

8. Emergency UNIX and Linux Support

To identify the group owner

If I have to identify the group owner of an AIX group, what is the command to be used. Example: there is an mqadm group, how do I find the owner of this group? Please help. (6 Replies)
Discussion started by: ggayathri
6 Replies

9. AIX

Files without owner and group

Dears it is normal that the below binaries stay without any owner and group I have checked it in many servers and the like the below /usr/lpp/bos.net/inst_root/etc/ipsec# ls -lrt total 248 -r-xr-xr-x 1 987 987 13589 Jun 29 2005 default_group -r-xr-xr-x ... (5 Replies)
Discussion started by: thecobra151
5 Replies

10. Shell Programming and Scripting

List files whose owner or group is numeric

I want to add a condition is my find command to include files/sub-directory whose owner or group is all numeric number. My current find command is find . \( -user root -o -user soham\) -type f -exec ls -l {} \; 2>&1 ---------- Post updated at 10:20 AM ---------- Previous update was at... (5 Replies)
Discussion started by: Soham
5 Replies
BURN(1) 							       Burn								   BURN(1)

NAME
burn - record from various sources to optical media (CD, DVD) SYNOPSIS
burn MAIN_MODE [OPTIONS]... [FILE/S]... burn --help DESCRIPTION
CD-writing program/script. Features Data-CD, Audio-CD, Copy on the fly, Iso-CD. CONFIGURATION
Configuration files for burn are: ~/.burnrc or /etc/burn.conf. You can edit them to change values. If you don't have these files you can: 1. use burn-configure utility 2. take the configuration template, edit and copy it as ~/.burnrc or /etc/burn.conf MAIN MODES
-D, --data-cd To create Data-CD -I, --iso-cd To create ISO-CD -C, --copy-cd To copy CDs -A, --audio-cd To create an audio CD from WAV, MP3 and ogg files EXAMPLES
# burn -D -p /etc/ Creates a CD with /etc/ contents. (you will find files and directories contained in /etc in CD's root.) # burn -D -p /home/bigpaul/video/summer_2003/spain.tar.gz Creates a CD with spain.tar.gz in CD's root # burn -D -r /etc/ Creates a CD containing the whole /etc/ directory. (-r preserves path) # burn -D -c /mail_2003 /home/bigpaul/Mail -p /boot/vmli* Creates a CD containing the whole /home/bigpaul/Mail renamed into /mail_2003. (-c changes path name). This command also adds in CD's root every vmli* file in /boot/ directory # burn -I -n image.iso Burns image.iso # burn -C Copy CDs (disk at once). # burn -A -a *.wav Creates an Audio CD. Tracks come from wav files # burn -A -a *.mp3 Creates an Audio CD. Tracks come from mp3 files # burn -A -a *.ogg Creates an Audio CD. Tracks come from Ogg Vorbis files # burn -A -a *.mp3 file.ogg track01.wav Creates an Audio CD preserving input order. In this example the first audio tracks will come from mp3 files, than we will find the one from file.ogg and finally the one from track01.wav GENERAL OPTIONS
-s, --simulate to perform a burn simulation DATA-CD OPTIONS -p, --path add file/s or path's content to CD-ROM's root. e.g.: -p /cvs/myproj/. In this example we will find CD-ROM's root filled with /cvs/myproj/ contents, but no /cvs/myproj/ will be created -r, --preserve-path add file/s or path's content to CD-ROM preserving original path. e.g.: -r /cvs/myproj/. In this example we will find /cvs/myproj/ in CD-ROM's root -x, --exclude-path every file or directory matching this string will not be included -c, --change-path old_path will be named new_path in CD-ROM. e.g.: -c /my_home/2004_Jan/ /home/bigpaul/. Thus /home/bigpaul/ will be named /my_home/2004_Jan/ in CD-ROM. -l, --follow-symlink this option allows burn to follow symbolic link directories -m, --multisession this option allows multisession CDs ISO-CD OPTIONS -n, --name image name AUDIO-CD OPTIONS -a, --audio-file mp3, ogg or wav file/s AUTHOR
Ben Finney <ben+python@benfinney.id.au>, Gaetano Paolone <bigpaul@hacknight.org> COPYRIGHT
This is free software: you may copy, modify, and/or distribute this work under the terms of the GNU General Public License, version 2 or later as published by the Free Software Foundation. No warranty expressed or implied. See the source for details. 2009-07-22 BURN(1)
All times are GMT -4. The time now is 11:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy