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

📣Watch our progress on GitHub!

Playfix Q1 Recap

My journey becoming a Unity game developer: Complete Level Cutscene-Block the scene and Animate the…

Simplified Apache Kafka Concept

What is a While Loop?

Using Net::HTTP in a Rails Project

Home page of my project

Apache Airflow Concepts with DAG Scheduling and Variables | Qubole

Spark APIs

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

Installing SAC on WSL Ubuntu

Setting up Emacs As a Daemon in Ubuntu 20.04


Setup formatting / linting for Python when committing