Linux again
written by t0spring
idx
• Linux is
• shell
• command
– File
• ls
– Network
• admin command
– Filesystem
– User
– Service
• vi(m) editor
Linux is
• Kernel first
• Then with /lib/modules
• Unix-like
• string and file, not object
• You are using one of distribution
– Redhat
– Debian
– Slackware
shell
• sh
• csh, tcsh, ksh, bash
• bash
• Command processing
• Scripting
#!/usr/bin/env bash
#!/bin/bash
command about File
• ls
• touch foo
• echo hello > foo
• echo world >> foo
• cat foo
• vi foo
• rm foo
But ls
• ls -ltr
• ls -al
• ls -lZ
• ls -ltr | tail -10
• ls -l | grep httpd
• ls -l | wc -l
command about Network
• ifconfig
• route
• arp
• netstat
• ip addr
• ip route
• ip neigh
• ss
• ip a
• ip r
admin command about Filesystem
• df
• du
• mount
• fdisk
• mkfs
• lvs
• pvs
• vgs
• df -h
• df -i
• df -Pk
• du –hs
• du –hs | grep G
• fdisk –l
• smartctl –a /dev/sda
• dmesg
admin command about user
• useradd
• usermod
• userdel
• groupadd
admin command about service
• systemctl status httpd
• systemctl start httpd
• systemctl stop httpd
• systemctl is-enabled httpd
• systemctl is-active httpd
vi(m) editor
• vim foo
• alias vi=vim
• :q!
• i or a
• :syntax on
• :%s/foo/bar/gc
• vi
• :%s/foo/bar/
• dd
• yy
• p
• ZZ
fine

More Related Content

PDF
Linux Fundamental
PDF
Course 102: Lecture 14: Users and Permissions
PPT
6. centos networking
PPTX
Linux Fundamentals
PDF
Linux system administration
PPT
5. centos security
PPTX
Linux 101
ODP
Linux cmd
Linux Fundamental
Course 102: Lecture 14: Users and Permissions
6. centos networking
Linux Fundamentals
Linux system administration
5. centos security
Linux 101
Linux cmd

What's hot (20)

PPTX
Introduction to-linux
PPTX
A simple introduction to redis
PPTX
Linux for Security Professionals (Tips and Tricks) - Init 6 10/2012
PDF
Course 102: Lecture 11: Environment Variables
PPTX
PDF
Dockerの準備
PPT
Linux presentation
PPTX
Linux Survival Guide For Data Scientists
PPTX
Unix cmd on_free_bsd
PPTX
Linux Desktop Operation - Session 1
PPT
Linux training
PPT
PPTX
Easy Installation and Setup of PostgreSQL on Linux, OSX, & Windows
PPTX
Marwan al suwaidi
KEY
Administration
PPT
Linux
RTF
Hpux graduate enginnering trainning
PPTX
Linux apache server
PPT
Shell and its types in LINUX
PPTX
DOS Command
Introduction to-linux
A simple introduction to redis
Linux for Security Professionals (Tips and Tricks) - Init 6 10/2012
Course 102: Lecture 11: Environment Variables
Dockerの準備
Linux presentation
Linux Survival Guide For Data Scientists
Unix cmd on_free_bsd
Linux Desktop Operation - Session 1
Linux training
Easy Installation and Setup of PostgreSQL on Linux, OSX, & Windows
Marwan al suwaidi
Administration
Linux
Hpux graduate enginnering trainning
Linux apache server
Shell and its types in LINUX
DOS Command
Ad

Similar to Linux again (20)

PDF
The Linux Command Cheat Sheet
PPT
Introduction to Unix
PPT
Linux Basics
PDF
linux.pdf
PDF
Ericas-Linux-Plus-Study-Guide
PPTX
Linux training
PPTX
linux_admin_course_full_for beginers.pptx
PDF
Linux Tutorial with commands to use while learning
PPT
HISTORY, TYPES OF EMBEDDED LINUX, COMMANDS,
PDF
Linux 系統管理與安全:基本 Linux 系統知識
PPT
3. intro
PDF
Linux Cheatsheet, linux commands full details.pdf
PDF
linux_Commads
PPT
3. introduction of centos
PPT
cisco
PPT
linux-lecture5 storage fs vm guide for linux.ppt
 
PPTX
Unix Shell Script - 2 Days Session.pptx
PPTX
Linux Presentation
PPTX
Linux basics part 1
The Linux Command Cheat Sheet
Introduction to Unix
Linux Basics
linux.pdf
Ericas-Linux-Plus-Study-Guide
Linux training
linux_admin_course_full_for beginers.pptx
Linux Tutorial with commands to use while learning
HISTORY, TYPES OF EMBEDDED LINUX, COMMANDS,
Linux 系統管理與安全:基本 Linux 系統知識
3. intro
Linux Cheatsheet, linux commands full details.pdf
linux_Commads
3. introduction of centos
cisco
linux-lecture5 storage fs vm guide for linux.ppt
 
Unix Shell Script - 2 Days Session.pptx
Linux Presentation
Linux basics part 1
Ad

More from YoungChoonTae (6)

PPTX
Systemd = init + inetd
ODP
OpenDaylight go
PPTX
File then system
PPTX
vi(m) today part 2
ODP
Linux shell not a
ODP
Compress and the other side
Systemd = init + inetd
OpenDaylight go
File then system
vi(m) today part 2
Linux shell not a
Compress and the other side

Recently uploaded (20)

PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
Architecture types and enterprise applications.pdf
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPTX
Web Crawler for Trend Tracking Gen Z Insights.pptx
PPTX
Tartificialntelligence_presentation.pptx
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Getting Started with Data Integration: FME Form 101
PPTX
Benefits of Physical activity for teenagers.pptx
PDF
STKI Israel Market Study 2025 version august
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
Unlock new opportunities with location data.pdf
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
Getting started with AI Agents and Multi-Agent Systems
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PPT
Module 1.ppt Iot fundamentals and Architecture
Hindi spoken digit analysis for native and non-native speakers
Architecture types and enterprise applications.pdf
Final SEM Unit 1 for mit wpu at pune .pptx
Assigned Numbers - 2025 - Bluetooth® Document
Web Crawler for Trend Tracking Gen Z Insights.pptx
Tartificialntelligence_presentation.pptx
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
Group 1 Presentation -Planning and Decision Making .pptx
Getting Started with Data Integration: FME Form 101
Benefits of Physical activity for teenagers.pptx
STKI Israel Market Study 2025 version august
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
WOOl fibre morphology and structure.pdf for textiles
Unlock new opportunities with location data.pdf
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
Getting started with AI Agents and Multi-Agent Systems
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
Module 1.ppt Iot fundamentals and Architecture

Linux again

  • 2. idx • Linux is • shell • command – File • ls – Network • admin command – Filesystem – User – Service • vi(m) editor
  • 3. Linux is • Kernel first • Then with /lib/modules • Unix-like • string and file, not object • You are using one of distribution – Redhat – Debian – Slackware
  • 4. shell • sh • csh, tcsh, ksh, bash • bash • Command processing • Scripting #!/usr/bin/env bash #!/bin/bash
  • 5. command about File • ls • touch foo • echo hello > foo • echo world >> foo • cat foo • vi foo • rm foo
  • 6. But ls • ls -ltr • ls -al • ls -lZ • ls -ltr | tail -10 • ls -l | grep httpd • ls -l | wc -l
  • 7. command about Network • ifconfig • route • arp • netstat • ip addr • ip route • ip neigh • ss • ip a • ip r
  • 8. admin command about Filesystem • df • du • mount • fdisk • mkfs • lvs • pvs • vgs • df -h • df -i • df -Pk • du –hs • du –hs | grep G • fdisk –l • smartctl –a /dev/sda • dmesg
  • 9. admin command about user • useradd • usermod • userdel • groupadd
  • 10. admin command about service • systemctl status httpd • systemctl start httpd • systemctl stop httpd • systemctl is-enabled httpd • systemctl is-active httpd
  • 11. vi(m) editor • vim foo • alias vi=vim • :q! • i or a • :syntax on • :%s/foo/bar/gc • vi • :%s/foo/bar/ • dd • yy • p • ZZ
  • 12. fine