Red Hat RHCSA UPDATED
ACTUAL Exam Questions and
CORRECT Answers
Save
Terms in this set (94)
VDO provides inline data
reduction for Linux in the form of
What is VDO?
deduplication
compression
thin provisioning
, Yum install lvm2 kmod-kvdo vdo
Create your partition using fdisk.
Create physical volume.
pvcreate /dev/nvme0n3 ( run as
root)
Create volume group.
Vgcreate vg1 /dev/nvme0n3
Create logical volume with ado
parameters.
Installing VDO lvcreate —type vdo —name vdo1 —
size 5gb —virtualize 50gb vg1
Create file system
mkfs.xfs -k /dev/vg1/vdo1
Create mount point for vdo
mkdir /vdo_m
vim /etc/fstab
/dev/vg1/vdo1 /vdo_m xfs defaults
00
mount -a
, Variable is nothing more than a
label
It can hold some value
var1 = 20
chmod u+x variable.sh
vim variable.sh
Variable
#!/bin/bash
var1=20
echo"the value of the variable is
$var1"
echo"the value of the variable
without using the dollar sign var1"
vim variables1.sh
chmod u+x variable1.sh
var1 = 20
var2 = baljit
var3 = "ballot singh"
var4 = 20.4
Variable var5 = 3+3
echo $var1
echo $var2
echo $var3
echo $var4
echo $var5
./variable1.sh
, vim variable3.sh
echo" the home directory of the
Variable user is $home"
echo" the default shell $shell"
chmod u+x variable3.sh
vim variable4.sh
chmod u+x variable4.sh
#!/bin/bash
Variable echo"Enter the name of a file"
read name
touch $name
echo "File created"
vim variable5.sh
Write a shell
chmod u+x variable5.sh
script to create
#!/bin/bash
two directories.
echo" Enter the two directory
The name of the
names"
directories will
read dir1 dir2
be passed by
mkdir $dir1 $dir2
the user.
Echo " Files created "
ACTUAL Exam Questions and
CORRECT Answers
Save
Terms in this set (94)
VDO provides inline data
reduction for Linux in the form of
What is VDO?
deduplication
compression
thin provisioning
, Yum install lvm2 kmod-kvdo vdo
Create your partition using fdisk.
Create physical volume.
pvcreate /dev/nvme0n3 ( run as
root)
Create volume group.
Vgcreate vg1 /dev/nvme0n3
Create logical volume with ado
parameters.
Installing VDO lvcreate —type vdo —name vdo1 —
size 5gb —virtualize 50gb vg1
Create file system
mkfs.xfs -k /dev/vg1/vdo1
Create mount point for vdo
mkdir /vdo_m
vim /etc/fstab
/dev/vg1/vdo1 /vdo_m xfs defaults
00
mount -a
, Variable is nothing more than a
label
It can hold some value
var1 = 20
chmod u+x variable.sh
vim variable.sh
Variable
#!/bin/bash
var1=20
echo"the value of the variable is
$var1"
echo"the value of the variable
without using the dollar sign var1"
vim variables1.sh
chmod u+x variable1.sh
var1 = 20
var2 = baljit
var3 = "ballot singh"
var4 = 20.4
Variable var5 = 3+3
echo $var1
echo $var2
echo $var3
echo $var4
echo $var5
./variable1.sh
, vim variable3.sh
echo" the home directory of the
Variable user is $home"
echo" the default shell $shell"
chmod u+x variable3.sh
vim variable4.sh
chmod u+x variable4.sh
#!/bin/bash
Variable echo"Enter the name of a file"
read name
touch $name
echo "File created"
vim variable5.sh
Write a shell
chmod u+x variable5.sh
script to create
#!/bin/bash
two directories.
echo" Enter the two directory
The name of the
names"
directories will
read dir1 dir2
be passed by
mkdir $dir1 $dir2
the user.
Echo " Files created "