Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,149,780 members, 7,806,163 topics. Date: Tuesday, 23 April 2024 at 12:16 PM

Ubuntu Linux - Computers (172) - Nairaland

Nairaland Forum / Science/Technology / Computers / Ubuntu Linux (463070 Views)

Using Fedora Or Ubuntu Linux / Using Mtn Modem On Ubuntu Linux / Using Ubuntu Linux As Internet Gateway (2) (3) (4)

(1) (2) (3) ... (169) (170) (171) (172) (173) (174) (175) (Reply) (Go Down)

Re: Ubuntu Linux by Ayrastarr(f): 6:02pm On Feb 06, 2022
qtguru:


Yapa but not for this group, most of my colleagues use Linux because of docker and ease of things

Hi qtguru,
I was gifted a laptop BUT it didn't come with any OS.
Please, how do I install Linux on it?
Re: Ubuntu Linux by qtguru(m): 6:05pm On Feb 06, 2022
Ayrastarr:


Hi qtguru,
I was gifted a laptop BUT it didn't come with any OS.
Please, how do I install Linux on it?

Download Linux.iso , ensure to have a USB Drive and also another tool called Rufus on Windows, once the iso downloads then you can make a bootable USB Drive, oce the drive is plugged, it will self-boot into the setup and you can just install, what is the spec of the system ?
Re: Ubuntu Linux by Ayrastarr(f): 6:32pm On Feb 06, 2022
qtguru:


Download Linux.iso , ensure to have a USB Drive and also another tool called Rufus on Windows, once the iso downloads then you can make a bootable USB Drive, oce the drive is plugged, it will self-boot into the setup and you can just install, what is the spec of the system ?

Thank you very much.

i7
8gb ram
500 ssd
Thinkpad

1 Like

Re: Ubuntu Linux by Deicide: 6:41pm On Feb 06, 2022
Ayrastarr:


Thank you very much.

i7
8gb ram
500 ssd
Thinkpad
You also have to consider GPT and MBR.... BIOS and UEFI
Re: Ubuntu Linux by The5DME(m): 6:48pm On Feb 06, 2022
Ayrastarr:


Thank you very much.

i7
8gb ram
500 ssd
Thinkpad

I won't advice you to use Linux(any of the distros), if you're new to it.
Re: Ubuntu Linux by Ayrastarr(f): 7:06pm On Feb 06, 2022
The5DME:


I won't advice you to use Linux(any of the distros), if you're new to it.
Why please
Re: Ubuntu Linux by Ayrastarr(f): 7:07pm On Feb 06, 2022
Deicide:
You also have to consider GPT and MBR.... BIOS and UEFI

What are those E gba mi
Re: Ubuntu Linux by Deicide: 7:46pm On Feb 06, 2022
Ayrastarr:


What are those E gba mi
Go do research na shebi you wan be Linux user.
Re: Ubuntu Linux by saxwizard(m): 7:49pm On Feb 06, 2022
a. Find all lines in the file /var/log/secure that contain the string “FAILED”
followed by the string “linda” and save the output to a file named
/root/search/6/securefile.txt
b. Find all files in /var/log that contain the string “Erased” and copy them to
the directory /root/search/6/erased
c. Find all lines that start with the string “name” in the file /proc/crypto and
save the output to /root/search/6/crypto.txt



Input will be appreciated
Re: Ubuntu Linux by Deicide: 8:58pm On Feb 06, 2022
saxwizard:
a. Find all lines in the file /var/log/secure that contain the string “FAILED” followed by the string “linda” and save the output to a file named
/root/search/6/securefile.txt
cat /var/log/secure | grep -l "FAILED linda" > /root/search/6/securefile.txt
Or
grep -l "FAILED linda" /var/log/secure > /root/search/6/securefile.txt

b. Find all files in /var/log that contain the string “Erased” and copy them to
the directory /root/search/6/erased
ls /var/log | grep "Erased" > /root/search/6/erased

Or
find /var/log -type f -exec grep "Erased" {} \; -exec cp {} /root/search/6/erased \;

Or

grep "Erased" /var/log/* -Rl | xargs -I {} cp {} /root/search/6/erased


c. Find all lines that start with the string “name” in the file /proc/crypto and
save the output to /root/search/6/crypto.txt
Input will be appreciated
cat /proc/crypto | grep -lE "^name" > /root/search/6/crypto.txt
Re: Ubuntu Linux by Premiumwriter: 8:59pm On Feb 06, 2022
Ayrastarr:


Hi qtguru,
I was gifted a laptop BUT it didn't come with any OS.
Please, how do I install Linux on it?

It's very easy actually.

You need to have a USB stick (USB drive). It should be 4gb minimum.

There are many different types of Linux. These are called Distributions or Distros for short.

As a new user, I'd recommend you go for kubuntu or zorin or Linux mint.

The above Distros are very close to windows in look and will work as normal after installation. I'd recommend kubuntu as your first choice, it's quite stable.

Anyways, which ever Distros you Decided to chose, download it to your system (this will be tricky since you don't have an os on your system, it's best you get windows on it first or borrow a laptop to download it).

After downloading the os, install a bootable disk maker.

I'd recommend balena etcher, it's easy and straightforward.

Download and install balena etcher on the system you are using.

Now plug in your USB drive and open the balena app.

Click on 'flash from file', choose the iso file, select target location which will be your USB and then click on flash.

It'll take some time to flash.

After flashing, remove the disk and plug it in your system.

It'll boot from the USB drive and you can try the Linux app or choose install and it'll be installed.

1 Like

Re: Ubuntu Linux by saxwizard(m): 10:44pm On Feb 06, 2022
Deicide:

cat /var/log/secure | grep -l "FAILED linda" > /root/search/6/securefile.txt
Or
grep -l "FAILED linda" /var/log/secure > /root/search/6/securefile.txt

ls /var/log | grep "Erased" > /root/search/6/erased

cat /proc/crypto | grep -lE "^name" > /root/search/6/crypto.txt



Thank you
I will try them out


Can i connect with you on WhatsApp
I have this linux exam coming up in few weeks
I would appreciate if i have someone to ask questions about things not clear to me
Thank you
Re: Ubuntu Linux by Deicide: 10:54pm On Feb 06, 2022
saxwizard:




Thank you
I will try them out


Can i connect with you on WhatsApp
I have this linux exam coming up in few weeks
I would appreciate if i have someone to ask questions about things not clear to me
Thank you
Am not on WhatsApp
Re: Ubuntu Linux by Ayrastarr(f): 4:50am On Feb 07, 2022
Deicide:
Go do research na shebi you wan be Linux user.
Lol
You mean
Re: Ubuntu Linux by Ayrastarr(f): 4:51am On Feb 07, 2022
Premiumwriter:


It's very easy actually.

You need to have a USB stick (USB drive). It should be 4gb minimum.

There are many different types of Linux. These are called Distributions or Distros for short.

As a new user, I'd recommend you go for kubuntu or zorin or Linux mint.

The above Distros are very close to windows in look and will work as normal after installation. I'd recommend kubuntu as your first choice, it's quite stable.

Anyways, which ever Distros you Decided to chose, download it to your system (this will be tricky since you don't have an os on your system, it's best you get windows on it first or borrow a laptop to download it).

After downloading the os, install a bootable disk maker.

I'd recommend balena etcher, it's easy and straightforward.

Download and install balena etcher on the system you are using.

Now plug in your USB drive and open the balena app.

Click on 'flash from file', choose the iso file, select target location which will be your USB and then click on flash.

It'll take some time to flash.

After flashing, remove the disk and plug it in your system.

It'll boot from the USB drive and you can try the Linux app or choose install and it'll be installed.

You really are a premium writer..
Thank you for this.

Thank you

1 Like

Re: Ubuntu Linux by saxwizard(m): 6:22am On Feb 07, 2022
Deicide:
Am not on WhatsApp



I will bring my questions here


Thank you for the input
Re: Ubuntu Linux by Deicide: 8:26am On Feb 07, 2022
saxwizard:




I will bring my questions here


Thank you for the input
Ok no problem I have made modification to the answer cause I don't know what that question b is asking exactly.
Re: Ubuntu Linux by saxwizard(m): 9:49am On Feb 07, 2022
Deicide:
Ok no problem I have made modification to the answer cause I don't know what that
question b is asking exactly.


Thank you.

can you take a look at these ones too
1.
a. Find all files and directories in /etc that start with “a” or “b” and copy them
to the directory /root/found/8/permissions while preserving their
permissions.
b. Find all files in /etc that are greater than 1MB and save their absolute
paths to the file /root/found/8/big-files.txt
c. Find all files in /etc not owned by root and copy the files to
/root/other_users


2.

Create the following users with the following details - If the supplemental groups
listed do not exist, create them.
a. bob - Supplemental Group engineers - PW: cent6
b. tim - Supplemental Group webdev - PW: cent6
c. ben - Supplemental Group chemical - PW: cent6
d. All accounts created must expire one year from today.
e. Set the user bob’s default shell to zsh
f. Set the user tim’s default home directory to /shadow-soft - if this directory
does not exist, create. Apply the same SELinux contexts and permissions
to /shadow-soft that would be found on a user's /home directory such that
Tim and only Tim will have access to /shadow-soft
Re: Ubuntu Linux by Deicide: 11:44am On Feb 07, 2022
saxwizard:

Thank you.
can you take a look at these ones too
1.
a. Find all files and directories in /etc that start with “a” or “b” and copy them
to the directory /root/found/8/permissions while preserving their
permissions.
Wouldn't it be better if you do research yourself to know how to answer this questions? That way you would understand what am doing.

Anyways.
ls /etc | egrep "(a|b)" | xargs -I {} cp -p {} /root/found/8/permissions/


b. Find all files in /etc that are greater than 1MB and save their absolute
paths to the file /root/found/8/big-files.txt
find /etc -size +1M -exec readlink -f {} \; > /root/found/8/big-files.txt

c. Find all files in /etc not owned by root and copy the files to
/root/other_users
find /etc -not -user "root" -exec cp {} /root/other_users/ \;
Re: Ubuntu Linux by saxwizard(m): 11:50am On Feb 07, 2022
Deicide:

Wouldn't it be better if you do research yourself to know how to answer this questions? That way you would understand what am doing.


Yes. I have some answers but for some i am not getting the desired result.


for example see this question

Create a bash shell script named certscript.sh under
/home/student/apps/.
● Make sure the script can be invoked as
./certscript.sh.
● The first line of output from the script should consist of the
name of the user who invoked it.
● The second line of output should contain the IP address
of the default gateway.

my solution
echo my name is &whoami
echo my Gateway IP is & ip r | grep default


I want a result like my name is saxwizard and my gateway is 192.168.1.1
Re: Ubuntu Linux by Deicide: 12:34pm On Feb 07, 2022
saxwizard:


Yes. I have some answers but for some i am not getting the desired result.


for example see this question

Create a bash shell script named certscript.sh under
/home/student/apps/.
● Make sure the script can be invoked as
./certscript.sh.
● The first line of output from the script should consist of the
name of the user who invoked it.
● The second line of output should contain the IP address
of the default gateway.

my solution
echo my name is &whoami
echo my Gateway IP is & ip r | grep default


I want a result like my name is saxwizard and my gateway is 192.168.1.1
Solution
certscript.sh


#!bin/sh env
NAME=$(whoami)
IP=$(ifconfig | grep inet | awk 'NR == 2 { print $2 }')
echo "my name is $NAME and my gateway is $IP"


chmod +x certscript.sh


For accuracy of IP address you have to send me the output of ifconfig
Re: Ubuntu Linux by saxwizard(m): 3:48pm On Feb 07, 2022
Deicide:

Solution
certscript.sh


#!bin/sh env
NAME=$(whoami)
IP=$(ifconfig | grep inet | awk 'NR == 2 { print $2 }')
echo "my name is $NAME and my gateway is $IP"


chmod +x certscript.sh




For accuracy of IP address you have to send me the output of ifconfig





Boss be like say i go come they sleep your house ooo
Mehn i struggled with this thing for days
Re: Ubuntu Linux by gbosah91(m): 7:42pm On Feb 09, 2022
Can you share link or name
masterfactor:

join the telegram group
Re: Ubuntu Linux by gbosah91(m): 7:49pm On Feb 09, 2022
Please I want to install linux on my system, which is running on windows 10. but my windows have legacy bios, please which destros is best to install? my sole aim of installing linux is only for programing. I want dual boot.
Re: Ubuntu Linux by Deicide: 8:42pm On Feb 09, 2022
gbosah91:
Please I want to install linux on my system, which is running on windows 10. but my windows have legacy bios, please which destros is best to install? my sole aim of installing linux is only for programing. I want dual boot.
So you can't program on Windows?
Re: Ubuntu Linux by gbosah91(m): 10:49pm On Feb 09, 2022
I can, but the resources I'm using suggested Linux.
Deicide:
So you can't program on Windows?
Re: Ubuntu Linux by Gargoylesmiles(m): 11:21pm On Feb 15, 2022
Ayrastarr:


Hi Gargoylesmiles

I was gifted a laptop BUT it didn't come with any OS.
Please, how do I install Linux on it?

I can guide you through an installation. This should serve a good guide.
https://www.youtube.com/watch?v=Er5tjswFFKU
Join Nigeria Linux User Group on telegram for live help.
Re: Ubuntu Linux by VickyELEFAN(f): 12:56pm On Feb 21, 2022
.
Re: Ubuntu Linux by ceejey17: 7:24pm On Mar 06, 2022
Question: I got a new system which came with ubuntu, my hard drive is from my old Windows system, it recognises it but it doesn't display files, is there any way to make it show the videos? Or I have to use VMs and install windows there
Re: Ubuntu Linux by Gargoylesmiles(m): 8:11am On Mar 08, 2022
ceejey17:
Question: I got a new system which came with ubuntu, my hard drive is from my old Windows system, it recognises it but it doesn't display files, is there any way to make it show the videos? Or I have to use VMs and install windows there

I am guessing this is a desktop system? How did you connect your old Windows PC to the system?
Re: Ubuntu Linux by Solanaa: 7:59pm On Apr 03, 2022
Can someone quickly highlight the uses of this linux and ubuntu?


I really wish to learn more about it.
Re: Ubuntu Linux by Gargoylesmiles(m): 12:16am On Apr 04, 2022
Solanaa:
Can someone quickly highlight the uses of this linux and ubuntu?


I really wish to learn more about it.
Whatever it is you currently do with your computer running Windows or Mac OS you can do same on Linux.

(1) (2) (3) ... (169) (170) (171) (172) (173) (174) (175) (Reply)

Inverter Users : Lets Have Your Experience / How To Hack Any Wifi Network Password Using Cmd / Huawei USB Modem Unlocker - Download Here!

(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. 43
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.