Showing posts with label Linux Commands. Show all posts
Showing posts with label Linux Commands. Show all posts

Tuesday, February 28, 2023

Linux Useful One Liner Commands Instructor Guide


Linux is utilized within the world of information technology in a very broad manner. Therefore, the items presented here are useful one liner commands that encompass real world scenarios that are applicable to a system administrator, power user and an end user or student looking to further their knowledge in this area. 
The guide is meant to be utilized by an individual whom will be reviewing via demonstration format these useful one liner commands.

Table of Contents:

Display and List One-Liners
List Hidden Files And Directories First:
Displays Build of Distribution:
Display Disk Usage in Human Readable Format:
Display Only The Total Disk Usage (Summary) Of Current Directory:
Display Day Of The Year:
Display Lines From Head And Tail:
Press A Key To Continue:
Shows Size Of Files And Directories Sorted:
Count Files In Current Directory:
Monitoring And Using One-Liners
Most Used Commands:
Monitor CPU Speed:
View All Network Activity In Real Time:
View The TCP Connection Status By Group:
Monitoring Kernel Messages:
Total Disk Space Used In Current Directory And Root Directory:
Process Tree With Details:
Check CPU Architecture:
Services And Processes Related One-Liners
Get Running Services By Port Number:
Processes Per User Count:
File Related One-Liners
Find And Delete Specific Type Of Files:
Find All Files And Paths That Do Not Have .txt:
Find Latest Version Of Given File:
Find Files That Contain test, hello and txt:
Find Open Files:
Test Text Writing With Delay:
Vertical Text Display:
Create Sequence Of Numbers 1 To 15 In Perl:
Display Today’s Date:
Octal Dump Of A File:
Run Multiple Commands Against A File:
Match Characters In A String And Return The Matches In Groups Of Two Characters:
Match 10 Characters In A String:
Match Characters Between Brackets:
Search C File And Output Printf Statement:
Search C File And Output Printf And Return Statements:
Match String In C File That Starts With The (" and Ends With the "):

Saturday, November 26, 2022

50 End User Linux Commands


The following are 50 end user commands that are key to utilize from the Linux command line. The commands can be utilized for personal, educational or corporate usage. Commands are simply explained with an example(s). Some commands include useful and common attributes and parameters for usage.

Topics:

alias
cal
cat
cc
cd
chmod
chown
clear
cp
df
diff
du
echo
egrep
exit
find
free
grep
head
history
ifconfig
ip
jobs
kill
killall
less
ls
lsof
man
mkdir
mv
nano
ping
ps
pwd
rm
rmdir
sort
tail
top
touch
uname
unzip
uptime
useradd
vi
w
whereis
whoami
zip

50 Basic Linux Commands


The following are 50 basic commands to utilize from the Linux command line. The commands can be utilized for personal, educational or corporate usage. Commands are simply explained with an example(s). Some commands include useful and common attributes and parameters for usage:

Commands include:

alias
awk
basename
bc
bind
cal
cat
cd
chmod
clear
cp
ctrl
date
df
du
dir
echo
find
free
halt
hostname
history
grep
ifconfig
iostat
ip route
kill
less
ls
lsof
info
man
mv
mkdir
ping
ps
pwd
rm
sed
service
shutdown
sort
stat
tail
top
touch
traceroute
tree
uname
uptime
wc
whereis