Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
10 views6 pages

Linuxcommand

Linux command
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
10 views6 pages

Linuxcommand

Linux command
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 6
Et pwd bunt @abint hofnelsbvats cet: Et rm he ea od eee vbuntu@ubonty ppl vbuntu@ubuntu hp ot th ies desripton aout nae) an: (an command edit: To open ext ett jays information about a sel eee geoealsase soto he caret processes: PAY “4 De ere fs pt Repos si We ep i ate aie pres. abclint exp_05 Dislys scale nevline, word, an out ex cal: Displays Print newline, word, and byte cou counts foreach ile, Decktoy han one FILE is specified. pear Documents. exp! c swe: pint eins, wor; and byte foreach FILE, and ota ie ifmore ‘mod change lle mos is won fl tino changes the fie mode bis ofeach sto make, oran octal number Bed bonto@ubuatu-bp! te according to mode, which can be itr symbolic representation of change representing the bit pate forthe new mode Bis touch buntu@ubunts-hp ‘ubuntu@ubuaty-hp hhellotxt ‘chown - change ile owner and group chown changes the wer andor group ownership of each given file. IFonly an owner (g ver ame o numeric user ID is given, that users made the owner ofeach given ile, and the files group isnot changed. Ifthe owner is followed by a colon and a group name(a | rune group ID, with o spaces Between them, the group ownership ofthe files is hanged as wll os ‘ubuntu @ubuntu-hp bvntu@ubuatu-hp howe lon: Comment onthe basic difference of intemal and extemal commands, Imernal commands | commands th 1p Sustem they es a Derp ‘buatu@ubuat by Bem ‘ubuntu @ubuntu-p owt ‘wbunte@ubonto-bp Aantni@asnH e A path J1fCSLOS OpetngSyea Lay Oxtsrng | os felds $5 Oath then 7 SOromanetsies ae TS Net present “2P7a1 Comma cecal Ghee we J ROP: Cat. File are x © random sh fellotxt ‘Mar 10 10:36 hello txt Test’ chow wbwntu hello nuntu@ubuntu-ypl~iTes r ubuntu 0 Mar 10 10:26 bello.txt ve cottege or EneneeTing & Technlog iyavardhin! ctor Engineering Department of COPY oe eat } password fi us of Linus cae aim, several people may be logged in ug system, 5 multi-user operat 2 joe the same de. Security tit DevEE mS an . count, In fact, best practices dca polse-access'x:132 the user management comma ‘Aim: Explore ‘Objective: Sins : and actively working on a given machi i hare the oredentials ofthe same aC reeding access to the machine users may need to share access fo seid the same time, i f0 be &xPE = ve uch as diets and fos. ser and gTOUP manent in iaag a idea to allow users ts the use of as many user accounts as peopl ted that two oF more certain sys Allows us to accomplish bth objectives ‘Theory: seradd create a new user or update default new user information ,useradd is a low level utility for adding users userdel- delete a user account and related files sgroupadd - create new group , The groupadd command creates @ new group account using the values specifi onthe command line plus the default values from the system. The new ul group will be entered int the system files as needed causa ‘roupdel- delete a group , The groupdel command modifies the system account files, 8 deleting all entries that refer to GROUP, The named group must exist ‘who - show whos logged on Pint information about users who are currently logge colordx:129 Topic eee — geocine 13 passwd chang: rennin pulsex131 ge The pow comnod ee HE er scoun A aera ge a) EE oo sl wer ay ey ean'x 3 txd:xdal ee stunt i ND OF associated password valty period conbasr A developers: Sharvesh We cdh conclude that wohng mr mazcient commands of Linve SLA: Operating System Lab fp ») userdel ai dy vserdel Setol—-for—- ep ug 10 Commands jine gm ubvatu@a eradd & j re user respectively. Sed to o eae i Be clay new gree calordxd USING groupde] command % = the o x gree? USerde! command: The pac gue” Com See f a or Particular user usil é d v-hpl:~$ sudo useradd § & for ubunt ubuntu x1001:Sharvesh 1002 03-10 01:05 (tty2) suo pasevid vbunty wbuntu-hpln$, for wbunt ord rd updated successfully Retype ne

You might also like