Pricey All,
On this publish i’m going to share few of the oracle Linux instructions.
Full Linux excessive stage instructions, I’ve posted in 4 components, that is Half 4/4.
examine the earlier components particulars under.
half 1 : https://anjaniappsdba.blogspot.com/2023/09/oracle-linux-commands-part-14.html
half 2 : https://anjaniappsdba.blogspot.com/2024/02/oracle-linux-commands-part-24.html
Half 3 : https://anjaniappsdba.blogspot.com/2024/11/oracle-linux-commands-awksed.html
Consumer and teams Creation instructions
===========================
#useradd username ( create new customers )
Id username >> ( it would show the person id with teams )
#passwd username>>to create /relaxation the password
#userdel username>>delete the person
#useradd –g major group username>> add major group (
new person )
#useradd –G secondary group to username>> so as to add second group
#usermod –a –G groupname username>> so as to add current
person into this group ( current person )
#useradd -g racsinfo new_user
#usermod -g racsinfo current person
#groupadd racsinfo
cat /and so forth/group
group_name : password : group-id : list-of-members
groupadd -g 1001 racsinfo
groupadd -f racsinfo
groupadd -p newpassword racsinfo ( put the password )
Disk Fragmentation instructions
=============================
Df >> to show disk fragmentation
Df -h >>to show disk fragmentation in gb
Df –m >> to show disk fragmentation in mb
Df –h . >> to show the disk fragmentation in
present listing
Listing instructions
========================
mkdir listing title >> to create the listing.
Mkdir -p listing title >> to create the listing’s
with in
directories.
Mkdir – p listing/listing {1..10} >> to create the
listing in
directories
Rm –rf listing title>> it removes the listing
with out
affirmation
Rmdir directoryname >> it take away the listing
Permission instructions
==========================
Chmod 755 file >> to be give the change file
permissions.
Chmod u+x file >> to be give the customers execution
permissions
chmod g+x file >> to offer the teams execution
permissions
Chmod o+x file >> to offer the others execution
permissions
chown username:username filename >> to vary the ower
permissions
chgrp username:username filename >> to vary the
group
permissions
PS Command
=================
Ps >> to show the method for operating
Ps –ef :to show the all course of for operating
Ps –ef|grep httpd >> to examine the httpd course of is
operating or not
ps –ef|grep httpd >>to see the apache operating or not
ps –ef|grep httpd|grep –v grep >>to see the apache
operating or not advert
not show grep output
kill -9
kill the operating course of
forcebully
kill -3
*Min|*H|*Day|*M|*W
:
#*****
Min>>
0-59
H >>
0-23
Day >>
1-31
Month>>
1-12
Week>>>
0-6
RWX . learn :
4 , Write : 2 , Execute : 1 , No Entry :0
4+2+1=7
Consumer >>
xxx
Group
>> xxx
Others
>> xxx
Thanks,
Srini