If you are searching for a file that contains a particular K

If you are searching for a file that contains a particular KEYWORD use grep.

Solution

Please let me know if you need more information:-

------------------------------------------------------------

1.) chmod 660 budget.doc
2.)chmod u-x,go-rwx budget.doc

3.)

tar -zcvf /nas/backup/evanhalen.$uid.$now.tar.gz /home/evanhalen/
userdel -r -f evanhalen

4.) chmod -R 400 ./mydirectory ; find . -user $id OR ls -ltr |grep \"$id\"

5.) last | grep \"evanhalen\"

6.) grep \"evanhalen\" /etc/passwd
7.) lsmod | grep \"<driverName\" OR modprobe |grep \"<driverName>\"

8.) The first SCSI drive on the first SCSI bus
1st --> /dev/sda
2nd --> /dev/sdb
3rd --> /dev/sdc3 ...etc
SCSI disks have a maximum of 16 minor numbers mapped to a single disk.
For each whole disk, there is a maximum of 15 partitions per disk because one minor number is used to describe the entire disk.

9.) mount /dev/sda17 ~/my_linux
10.) unmount /dev/sda17

11.) netstat -ab

12.)find ~ -type f | xargs grep \"Harumph$\"

13.)find . -type f -name \"*.txt\" -size +5c -exec grep -i -H -E -o -c \"Linux\" {} \\;

14.) because you are currently in that directoty and if any other file is in use.
15.) du -hc
16.) currently lodded in user--> [username ; terminal 11; logged in to machine at particular time]
17.) chown avanhalen:avanhalen backup.tgz

18.) adduser -d /home/sammy -u 666 shagar

19.) usermod -s /bin/csh shagar

20.) CMD: - visudo to edit the /etc/sudoers

Thanks

If you are searching for a file that contains a particular KEYWORD use grep.SolutionPlease let me know if you need more information:- --------------------------

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site