9 More Discussions You Might Find Interesting
1. AIX
Just looking for some guidance on how to figure out who might have deleted some files off one of my systems.
These files are not root owned files so could be deleted by a handful of folks in the group responsible for these files besides the root users.
Anyway I have been tasked with trying to... (1 Reply)
Discussion started by: juredd1
1 Replies
2. Linux
Hello. I am having a problem and I was wondering if I could get some help from here. I changed into a directory with the cd command and I wanted to delete a folder and all of its subdirectories, so I went ahead and did a rm --recursive * in my current directory to realize that I was in the wrong... (3 Replies)
Discussion started by: jonnydadesigner
3 Replies
3. UNIX for Dummies Questions & Answers
Is there a relatively simple step by step to find what has been deleted? Am aware of how to do it in Windows. Forgive my ignorance am new to Linux.. (1 Reply)
Discussion started by: Capricious11
1 Replies
4. Shell Programming and Scripting
Hi,
By mistake, executed the following command :
rm -rf *
and ALL files got deleted.
But I need to get back these files as they are very very important.
Please help me how to recover this file. Its Urgent for me please.
Thanks in advance. (6 Replies)
Discussion started by: unx100
6 Replies
5. UNIX for Advanced & Expert Users
Hi All,
I am using Fedora Core and Windows Xp. I deleted all the files from root
directory. When i am trying to restart the computer it showing some grub > prompt. What i will do ? I have lots of data in XP OS.
Please help me
i used
# rm * (8 Replies)
Discussion started by: pritish.sas
8 Replies
6. UNIX for Dummies Questions & Answers
:eek:
I accidently removed some files using 'rm'. Is there any way to retrieve these files if they were deleted through 'rm'? (1 Reply)
Discussion started by: orahi001
1 Replies
7. UNIX for Dummies Questions & Answers
I mistakenly deleted a script from the UNIX server. Is there any command i can type that i will retrieve my script? (3 Replies)
Discussion started by: manna
3 Replies
8. AIX
How to recover deleted files in AIX ? (1 Reply)
Discussion started by: vjm
1 Replies
9. UNIX for Dummies Questions & Answers
I had a user run, by accident, the following line command on our UNIX server:
rm -f /usr/*
This apparently deleted some needed files on your system. Having very limited knowledge in UNIX, I thought I would ask the group if anyone knows how I can recover these file?
The version of UNIX is... (3 Replies)
Discussion started by: mikem
3 Replies
groupdel(8) System Manager's Manual groupdel(8)
NAME
groupdel - Deletes a group definition from the system
SYNOPSIS
/usr/sbin/groupdel [-P] [-x extended_option] group_name
OPTIONS
Creates a PC group only. The following extended_option attributes are available: Indicates whether or not the group is distributed. The
value of the distributed=n attribute can be 0 or 1. If set to 0, the group is deleted from the local system. If set to 1, the group is
deleted from the NIS master database on the running system. Indicates whether or not the group is local. The value of the local=n
attribute can be 0 or 1. If set to 1, the group is deleted from the local database. If set to 0, the group is deleted from the NIS master
database. Specifies the name of the group to be deleted from the system. The groupname must exist.
DESCRIPTION
The groupdel command lets the system administrator delete existing groups from the system, by group name. In addition, the system adminis-
trator can use the -x option to specify whether the group to be deleted is local or whether the group resides in the NIS master database.
If the -x option is not specified, the group is deleted from the appropriate database as specified by the system defaults.
The default behavior on the system for the groupdel command is distributed=0 and local=1. With these values, the system deletes the group
from the local database by default. Setting the distributed= and local= attributes to the same value (for example, distributed=0 and
local=0) produces an error.
When the Advanced Server for UNIX (ASU) is running, you can also delete PC groups consisting of members who are holders of Windows NT
domain accounts.
You must have superuser privilege to execute this command.
EXIT STATUS
The groupmod command exits with one of the following values: Success. Failure. Warning.
EXAMPLES
The following example removes the group, testgrp: % groupdel testgrp The following example removes the group, testgrp, from the local group
database: % groupdel -x local=1 testgrp The following example removes the PC users group, domainbdev, from the local group database: %
groupdel -P domainbdev
FILES
The groupdel command operates on the appropriate files for the specific level of system security.
SEE ALSO
Commands: groupadd(8), groupmod(8), useradd(8), userdel(8), usermod(8)
System Administration
Security
groupdel(8)