Menu driven linux

  1. Yum
yum search <queryString>#other than root account
sudo yum search <queryString>
yum install <packagename>#other than root
sudo yum install <packagename>
$ls -l
grep [options]  [files]
-c : This prints only a count of the lines that match a pattern
-h : Display the matched lines, but do not display the filenames.
-i : Ignores, case for matching
-l : Displays list of a filenames only.
-n : Display the matched lines and their line numbers.
-v : This prints out all the lines that do not matches the pattern
-e exp : Specifies expression with this option. Can use multiple times.
-f file : Takes patterns from file, one per line.
-E : Treats pattern as an extended regular expression (ERE)
-w : Match whole word
-o : Print only the matched parts of a matching line,
with each such part on a separate output line.-A n : Prints searched line and nlines after the result.
-B n : Prints searched line and n line before the result.
-C n : Prints searched line and n lines after before the result.
systemctl [OPTIONS...] COMMAND [NAME...]
sudo useradd  <test_user>
sudo passwd <test_user>
fdisk [options] device
crontab [-u user] file
mount -t type device dir
vim /etc/fstab
# sudo pvcreate /dev/sdd /dev/sde /dev/sdf
# vgcreate vg1 /dev/sdd1 /dev/sde1
sudo lvdisplay
# python3

I Hope You Like It…

Thank You For Reading…




Lifelong learning technologies

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Collection Vs Collections

Farm Skyline-Whitelist event release!

What game development taught me about programming in general

HQ Development Process

WeBlock and derivatives platform BitWell has reached an acceleration cooperation

Announcing the General Availability of Extract and Aggregate fields

Widget testing with MockCubit

Official Xamarin tutorials available from Microsoft

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Arnab Saha

Arnab Saha

Lifelong learning technologies

More from Medium

Adding Images to your Flask web application.

Quick overview of random module in Python

Deploying Python and PostgreSQL in Docker

How To Debug AWS Lambda Python Functions