Wednesday, 14 October 2015

my little Experience in Linux server Technology class

when i first enter Linux class i was  confuse of  the Unix operating system i said to myself what is this but not knowing Linux  operating system is a good , I learn a lot of things i taught it could be difficult for me to learn but thanks go to my good ,patient and hard working instructor Mr. Thomas Holder  who toke his precious time to make me learn how to write a Dos  and a script shell  .Script shell is a collection of commands.

            To Learn how to  work in Dos

  To create folder in Dos which we called directory

C:\> md  and put the folder Name

To change the directory

c:\ >cd directory name

To Delete a file
C:\> rd the file name

To Delete Directory
C:\> del directory name

To Create Subdirectory

C:\>directory name \md subdirectory name

To Create File within a Directory
C:\> copy con filename

Copy file within the subdirectory

C:\ directory name\subdirectoryname > copy con filename.txt

Move  file you created to another location


C:\directory name> move filename.txt  the directory name

To Rename File

C:\directory> ren filename.txt filename.txt

To see all the directory you created

C:\> dir


To Learn how to work in script shell


you login as a super user which is intended for administrative use only

su root Enter

Add Users


sudo adduser Username

Create Group

Sudo groupadd groupname

Add user to a Group

Sudo adduser username  groupname

Create password for user

sudo passwd username

To list member of a group

Cat  /etc/group

To see All of the User


Cat  /etc/passwd