Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,157,916 members, 7,835,063 topics. Date: Tuesday, 21 May 2024 at 02:54 AM

Tomisinuno's Posts

Nairaland Forum / Tomisinuno's Profile / Tomisinuno's Posts

(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (of 12 pages)

Certification And Training Adverts / Re: Learn Linux And Microsoft Azure Cloud From Scratch by tomisinuno(m): 5:13pm On Dec 08, 2019
5. change directory to storage team and create the EMC_STORAGE_TEAM directory and NEXUS_STORAGE_TEAM directory.

Certification And Training Adverts / Re: Learn Linux And Microsoft Azure Cloud From Scratch by tomisinuno(m): 5:11pm On Dec 08, 2019
4. create the NETWORK_TEAM and STORAGE_TEAM directory in the IT_DEPARTMENT directory.
• mkdir NETWORK_TEAM
• mkdir STORAGE_TEAM

Certification And Training Adverts / Re: Learn Linux And Microsoft Azure Cloud From Scratch by tomisinuno(m): 5:11pm On Dec 08, 2019
3. change directory to IT_DEPARTMENT
• cd IT_DEPARTMENT

Certification And Training Adverts / Re: Learn Linux And Microsoft Azure Cloud From Scratch by tomisinuno(m): 5:10pm On Dec 08, 2019
2. create IT_DEPARTMENT directory
• mkdir IT_DEPARTMENT

Certification And Training Adverts / Re: Learn Linux And Microsoft Azure Cloud From Scratch by tomisinuno(m): 5:04pm On Dec 08, 2019
Use the enter or space bar key to continue scrolling down, to quit, press the “q” key.

• rmdir: used to remove an empty directory.

• rm –r : used to remove un-empty directory.

• pwd: print/present working directory.

• cd: used to navigate from one directory to the other

• cd .. : to navigate a directory one step backward.

Examples

1. remove the HR_DEPARMENT directory
• rmdir HR_DEPARTMENT

Certification And Training Adverts / Re: Learn Linux And Microsoft Azure Cloud From Scratch by tomisinuno(m): 5:02pm On Dec 08, 2019
To be realistic, you can’t remember all the Linux commands and options. There are over 2000 commands not to talk of options. But the good thing is there is “keyword” search and manual pages in Linux. Hence, nothing to worry about. I will talk about the keyword search in another module.

To get the manual page of any command, we use the “man” command. For example

• man ls

Certification And Training Adverts / Re: Learn Linux And Microsoft Azure Cloud From Scratch by tomisinuno(m): 4:59pm On Dec 08, 2019
ls = command

-l = option

HR_DEPARTMENT=argument.

From the image above, its seen that total is 0 because there is no file or any directory in the HR_DEPARTMENT yet.

OPTIONS

There a lot of options associated with a Linux command. An easier way to see/get/use the options if you can’t remember them offhand is to use “- - help” after the command. example

• ls - -help

Certification And Training Adverts / Re: Learn Linux And Microsoft Azure Cloud From Scratch by tomisinuno(m): 4:55pm On Dec 08, 2019
tomisinuno:
You can see that you are actually in a directory before you create the HR_DEPARTMENT directory. In my case, I am in “/home/tomisinuno” directory. As we go on, you will know the difference between a directory and a mount point. I may come back to this exact words to clarify things. Put it at the back of your mind. I guess you already know what “/home” is, I explained it in MODULE 1.3.

At this same point, you should know that


At this same point, you should know that Linux command is separated in three parts.

1. Command

2. Option (- is use to specify options)

3. Argument.

For instance, I can say,

wash. (Wash) here is the command

I can also say, wash properly. (Properly) here is the option

Or say, wash properly the blue shirt. (The blue shirt) is the argument.

Let’s be practical, following our previous example,

• ls -l HR_DEPARTMENT

Certification And Training Adverts / Re: Learn Linux And Microsoft Azure Cloud From Scratch by tomisinuno(m): 4:04pm On Dec 07, 2019
saxwizard:
ride on boss
.



i tried to log on to the public ip few days back.. i couldn't connect.


I will check it
Certification And Training Adverts / Re: Learn Linux And Microsoft Azure Cloud From Scratch by tomisinuno(m): 2:23pm On Dec 06, 2019
You can see that you are actually in a directory before you create the HR_DEPARTMENT directory. In my case, I am in “/home/tomisinuno” directory. As we go on, you will know the difference between a directory and a mount point. I may come back to this exact words to clarify things. Put it at the back of your mind. I guess you already know what “/home” is, I explained it in MODULE 1.3.

At this same point, you should know that
Certification And Training Adverts / Re: Learn Linux And Microsoft Azure Cloud From Scratch by tomisinuno(m): 2:21pm On Dec 06, 2019
NOTE: anytime one log in, by default, your present working directory (pwd) is your home directory, now do,

• pwd

Certification And Training Adverts / Re: Learn Linux And Microsoft Azure Cloud From Scratch by tomisinuno(m): 2:21pm On Dec 06, 2019
• ls: used to list the contents in a directory. In order to see the “HR_DEPARTMENT directory created, you will need to list the content, now do

• ls

Certification And Training Adverts / Re: Learn Linux And Microsoft Azure Cloud From Scratch by tomisinuno(m): 2:19pm On Dec 06, 2019
Other basic Linux commands are

• mkdir : This command is used to make directories.

What is a directory? Compare directory as a folder on the windows machine. A folder is where you put in other folders or files. Right? It’s called a directory in Linux. I remember when I was on site explaining how a deployment will go in the kick off meeting of a project I was going to execute, I mentioned a folder in my course of explanation and the next thing I heard was a diss. The gentle man said, “Are you not the Linux guy?”, why mentioning folder? Lol. I immediately changed my terms but after the meeting, I kept wondering why one would keep to such kind of details. In Linux world, It’s called a directory.

Let’s make one.

Login into your system and do

• mkdir HR_DEPARTMENT

Certification And Training Adverts / Re: Learn Linux And Microsoft Azure Cloud From Scratch by tomisinuno(m): 2:17pm On Dec 06, 2019
At this point, we will start with the basic commands by learning how to confirm or know who you are on the Linux machine, to do that, you use the command below
• Whoami

Certification And Training Adverts / Re: Learn Linux And Microsoft Azure Cloud From Scratch by tomisinuno(m): 2:15pm On Dec 06, 2019
2. The ordinary or other users: This is the opposite of the root user. This user has fewer privileges to the files on the system compared to the root user. There are certain files ordinary users can’t write to. There can be many ordinary users. When you are logged in as an ordinary user, you will see the sign “$”

Certification And Training Adverts / Re: Learn Linux And Microsoft Azure Cloud From Scratch by tomisinuno(m): 2:15pm On Dec 06, 2019
MODULE 2.0-BASIC LINUX COMMAND

There are two types of users in Linux

There are two types of users in Linux
1. The root user or Superuser: from the word super, the root user is a user that has access and privileges and to all kinds of files on the system. There is only one root user who has the user name "root". When you are logged in as a root user, you will see the “#” sign.

Certification And Training Adverts / Re: Learn Linux And Microsoft Azure Cloud From Scratch by tomisinuno(m): 2:13pm On Dec 06, 2019
tomisinuno:
For the ones logging into the cloud server, the public IP of the Cloud server is 51.144.115.34. Enter the username and the password sent to your email (I already mentioned how to connect in the previous module).

Moving forward, One Important thing one need to always remember is that everything in Linux is considered to be a file. I mean everything. The reason why you hear every frequent Linux users always say, “In Linux, everything is a file”.

Linux file-system structure is hierarchical, all files are stored on the disk under one main directory, / (root). The directory has been further subdivided into directories like /usr, /var, /mnt, /boot etc. as shown in the image above.

These directories have been organized to store a specific type of file. You will get to understand better how these directories and structure work and all these will begin to make a lot of sense as you begin to use the Linux OS often. Everything we are going to be doing will be in these directories. These directories are the whole system. If you remember, during our installation, I mentioned that we should set our destination installation to “automatic partitioning”. If we had done manual, you may not have understood except you are familiar with Linux already. But in the real world, you won’t be doing automatic partitioning but manual. We will of course do manual installation in our next installation when we are certain we have understood the structure as we proceed.

These directories are explained below.

• /root: This is the root user’s home directory. Every file and directory starts from this directory

• /bin directory: This directory stores many utilities of Linux. They are executable files. These utilities are commands available under the Linux system. E.g. ls, cp, cat, etc. They are in binary format, hence named “bin”

• /dev: This directory stores all the device–related files for the system.

• /mnt: This directory can be used as a directory where users can temporarily mount file-systems.

• /etc: This directory contains the system-related data and configuration files required by programs are all stored here. The configuration file stored here affects all users. [E.g /etc/passwd]. However, configuration file can also be stored in user’s home directory.

To be continued..........



· /proc: This can also be called a virtual file system. It contains real-time information about the processes running on the system. It presents this information as a file. Remember we said earlier that everything is a file.

· /boot: This directory stores all the necessary files that is needed to boot the system including the system kernel.

· /home: This directory contains all the home directory of users. It’s the directory where users store personal files like photos, music, documents, desktop, videos, etc. [e.g. /home/tomisinuno]

· /lib: This directory contains libraries of data for the compilers installed on the system, such as the C language routine. In other words, these files are helpful and used by an application or a utility or process for their proper execution.

· /lib64: This directory is similar to /lib. The difference between this directory and /lib is the architecture level differences. It stores 64-bit library files.

· /usr: This directory stores the OS files which are not involved in the boot process. It stores programs and files used by users. i.e, it contains all the user’s system resources like user’s binaries, libraries, header files, etc. For example, Many and more utilities that are not in /bin are available in the usr/bin directory, they are considered non-essential to the system compared to the /bin directory where essential programs/utilities and files needed by the OS are stored. The /usr also contains shared files. i.e. /usr is sharable. This directory also contains more of libraries and data files used by various Linux commands. [i.e./usr/lib], the /usr/tmp stores more temporary files. This directory is read-only.

· /sbin: This directory is analogous to /bin. The difference is that it stores the binaries intended to be used for system maintenance and administrative tasks by system administrators or root/super users. Utilities like init, fdisk,, swapon, etc.

· /opt: this directory is reserved or stores optional packages. i.e. packages that are not part of the default application. Most times, third party applications are always installed in this directory and applications that don’t follow the UNIX file hierarchy standard also dumps its file in this directory.

· /sys: There is now an addition of a virtual files-system to the kernel which is /sys. This directory helps to clean up / proc as much hardware related information has been moved to /sys. It tends to be more organized compared to /proc

· /media: This directory creates a subdirectory or a mount point for a removable media when it’s inserted into the system. It automatically mounts the media depending on the variant or can be used as a temporary mount point for a media where contents can be easily accessed. E.g. CD, USB, etc.

· /lost+found: This directory contains recovered corrupt files. If a system didn’t go through a proper shutdown and a file-system crashes, the files-systems will be checked when the system is booting up and dumps every recovered corrupt file in this directory.

· /var: This directory stores variable data. i.e. files and directories that the system writes to during operation. It’s the opposite of /usr. /usr is a read-only, all the operations that is supposed to write to /usr, for example, log files are written in /var.

· /srv: srv means “service”. The services that are provided by the system, for example, apache webserver’s data, FTP data, etc. are stored in this directory. The data file for a particular service can easily be located in this directory.

· /tmp: This directory stores temporary files created by the OS. Users can also store temporary files in this directory. Most times, files in this directory are deleted automatically when the system is restarted. If you want to delete a file in this directory, be sure of what you are doing because the files in this directory contain temporarily what the system, processes, etc. currently uses to function.

We begin to understand it more with persistent use and as we go on.

Class Activity 1.3: What does the /run directory contain?

Cheers!!!

NEXT MODULE: BASIC LINUX COMMAND

https://tekneed.com/2019/12/06/module-1-3-linux-file-system-structure/
Certification And Training Adverts / Re: Learn Linux And Microsoft Azure Cloud From Scratch by tomisinuno(m): 7:20pm On Dec 04, 2019
Yeah. I am doing great!!! grin grin grin ........been quiet busy.

we will continue soon
Jokes Etc / Re: Show us how good and creative you are with your use of words... Fun all the way by tomisinuno(m): 10:10pm On Dec 03, 2019
Prescription will not work in this case because there is nothing to prescribe. What my friend need is to take a deep breathe and read vibewithme's post again bit by bit. I can relate cuz i almost had headache too. angry angry Meanwhile, I bought a CD today titled "Iron man" , to my suprise, when I watched it, I saw a man ironing a shirt.
Jokes Etc / Re: Show us how good and creative you are with your use of words... Fun all the way by tomisinuno(m): 11:51pm On Dec 02, 2019
Messi just won his 6th ballond'or !!! shocked shocked What a great man from a great club. Can't Barcelona just come and buy this country filled with stubborn but talented people right away?

1 Like

Jokes Etc / Re: Show us how good and creative you are with your use of words... Fun all the way by tomisinuno(m): 7:55pm On Dec 02, 2019
Topic is crazy, he just wants to derail the thread, moving forward, showing some agape love to someone this month will be worthwhile.
Jokes Etc / Re: Show us how good and creative you are with your use of words... Fun all the way by tomisinuno(m): 12:50am On Dec 02, 2019
Giving is an act of kindness and a perfect way to show love in the month of love. Be it Agape, philia, storge, ludas, pragma, philautia, or Eros love. For without this act, love is incomplete.
Jokes Etc / Re: Show us how good and creative you are with your use of words... Fun all the way by tomisinuno(m): 2:46am On Dec 01, 2019
Crocodile, what a dangerous and ugly animal to behold
Certification And Training Adverts / Re: Learn Linux And Microsoft Azure Cloud From Scratch by tomisinuno(m): 11:49pm On Nov 29, 2019
For the ones logging into the cloud server, the public IP of the Cloud server is 51.144.115.34. Enter the username and the password sent to your email (I already mentioned how to connect in the previous module).

Moving forward, One Important thing one need to always remember is that everything in Linux is considered to be a file. I mean everything. The reason why you hear every frequent Linux users always say, “In Linux, everything is a file”.

Linux file-system structure is hierarchical, all files are stored on the disk under one main directory, / (root). The directory has been further subdivided into directories like /usr, /var, /mnt, /boot etc. as shown in the image above.

These directories have been organized to store a specific type of file. You will get to understand better how these directories and structure work and all these will begin to make a lot of sense as you begin to use the Linux OS often. Everything we are going to be doing will be in these directories. These directories are the whole system. If you remember, during our installation, I mentioned that we should set our destination installation to “automatic partitioning”. If we had done manual, you may not have understood except you are familiar with Linux already. But in the real world, you won’t be doing automatic partitioning but manual. We will of course do manual installation in our next installation when we are certain we have understood the structure as we proceed.

These directories are explained below.

• /root: This is the root user’s home directory. Every file and directory starts from this directory

• /bin directory: This directory stores many utilities of Linux. They are executable files. These utilities are commands available under the Linux system. E.g. ls, cp, cat, etc. They are in binary format, hence named “bin”

• /dev: This directory stores all the device–related files for the system.

• /mnt: This directory can be used as a directory where users can temporarily mount file-systems.

• /etc: This directory contains the system-related data and configuration files required by programs are all stored here. The configuration file stored here affects all users. [E.g /etc/passwd]. However, configuration file can also be stored in user’s home directory.

To be continued..........
Certification And Training Adverts / Re: Learn Linux And Microsoft Azure Cloud From Scratch by tomisinuno(m): 11:36pm On Nov 29, 2019
Log in to your Personal Server or the cloud server, for now, enter the commands below (Our next module will be on basic Linux commands and type of users in Linux)

• cd /
• ls

Certification And Training Adverts / Re: Learn Linux And Microsoft Azure Cloud From Scratch by tomisinuno(m): 11:32pm On Nov 29, 2019
MODULE 1.3

LINUX FILESYSTEM STRUCTURE

Certification And Training Adverts / Re: Learn Linux And Microsoft Azure Cloud From Scratch by tomisinuno(m): 4:10pm On Nov 27, 2019
joeysuki:
Same issue im facing , it says you have to subscribe to download and ive been stuck ever since i created my free account , is there a way to bypass this ?? or can we get a third party site to download from, maybe a torrent or something

I will look at it before today runs out and get back to you with a solution. But please, don't download from untrusted third party to avoid hackers hacking into your system without you even knowing.

You are very right. I created a new account and try to download but I had your issue. I am very sure agreement and policies downloading the software have changed. one will have to join the developer program before one can download the software freely.

Here is what I did before i was able to download, click on this link https://developers.redhat.com/ , follow the procedure to create a developer's account with the same details you used when registering the first time or better still, login with your credentials, try downloading, let it give you that issue, then click on the link and follow the registration procedure to be able to download.

NOTE: on the link I provided, click on product by top right corner, in the featured product part, click red hat enterprise linux
Certification And Training Adverts / Re: Learn Linux And Microsoft Azure Cloud From Scratch by tomisinuno(m): 4:07pm On Nov 27, 2019
Royalsleek22:


Your internet is slim in nature and needs to hit the gim...........get a stronger network or use the Azure server.

Please sir, how can I get the Azure Server

I have it already deployed. I will be sharing the public IP soon. All you need to do is to login with your username and password which will be given to you provided you sent your nairaland username to the email I mentioned above.
Certification And Training Adverts / Re: Learn Linux And Microsoft Azure Cloud From Scratch by tomisinuno(m): 5:49pm On Nov 26, 2019
Royalsleek22:
hello sir, my download will reacg 1gb then corrupt. what should i do

Your internet is slim in nature and needs to hit the gim...........get a stronger network or use the Azure server.
Certification And Training Adverts / Re: Learn Linux And Microsoft Azure Cloud From Scratch by tomisinuno(m): 2:17pm On Nov 25, 2019
sparkle7:

Is this rhel a paid software? Am having problem downloading. They saying some subscription ish there.

Not at all, it's an opensource software, you will need to register first, login and you will be able to download it.
Certification And Training Adverts / Re: Learn Linux And Microsoft Azure Cloud From Scratch by tomisinuno(m): 12:36pm On Nov 25, 2019
swscorpio:


Hello Bro, Please I sent you a personal message to your email. I will appreciate if you can go through it. Thank you so much.

I guess I have replied you.

Thanks.
Certification And Training Adverts / Re: Learn Linux And Microsoft Azure Cloud From Scratch by tomisinuno(m): 12:30pm On Nov 25, 2019
Royalsleek22:
i am following sir, but yet to download the RedHatLinux complete.

Nice, follow the steps to install after the download.

(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (of 12 pages)

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 50
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.