Huu Phan | Blog Linux operating system | Linux operating system -Blog Huu Phan | www.huuphan.com
huuphan.com. Powered by Blogger.
Showing posts with label Linux Commands. Show all posts
Showing posts with label Linux Commands. Show all posts

Linux commands cheat sheet

Linux commands cheat sheet
System Commands Command Description Examples shutdown bring your system down shutdown -...

Run bash script on boot time on centos

Run bash script on boot time on centos
How to Auto Execute Commands/Scripts During Reboot or Startup on centos . Many method to execute a command or run scripts during startup. ...

Linux create user

Linux create user
In this tutorial, I will guide use useradd create user in linux. The memo complete linux create user and how to user run sudo command with n...

Shell script parse xml in linux

Shell script parse xml in linux
How to use shell script parse xml file . In this tutorial, I will use grep command, awk command and sed command Reading xml file extracting ...

rename command in linux

rename command in linux
rename command similar with mv command. This command is slightly more advanced than mv  command. How to rename multiple files in linux. T...

Linux diff command

Linux diff command
In this tutorial, I use diff command output on screen. How to compare different line by line in  files. How to compare side by side, color ,...

Openssl libssl.so.1.1 not found solve problem

Openssl libssl.so.1.1 not found solve problem
How to solve problem Openssl libssl.so.1.1 not found on your system such as centos, ubuntu. Installing openssl missing depens libssl.so.1.1 ...

sed command regex example

sed command regex example
In this tutorial, To use sed command regex such as: Lines starting from A till B printed, how to print between A line to B line , so on. s...

centos change ssh port

centos change ssh port
in this tutorial, How to change ssh port another with selinux. The default ssh port 22, when you change port another with rules selinux (SEL...

Centos 7 managing services with Systemd

Centos 7 managing services with Systemd
Centos 7 managing services with Systemd. -List all the current loaded targets as command below: $ sudo systemctl list-units -t target Each...

List the contents of tar gz file

List the contents of tar gz file
tar command is archiving utility. Something, you can retrieve extension .tar.gz or .tar.bz2 file. How to list the contents this without extr...

awk useful commands examples

awk useful commands examples
awk useful comand examples. How to Output Field Separator Variable, Number of Fields in a record, To print Non-system users and ignoring &qu...

CentOS/RHEL Use yum Command To Downgrade Upgrade or Rollback Updates

CentOS/RHEL Use yum Command To Downgrade Upgrade or Rollback Updates
Use yum Command To Downgrade Upgrade or Rollback Update. How to downgrade the package? How to upgrade the package? How to rollback update th...

Generate and Verify Files with MD5 Checksum in Linux

Generate and Verify Files with MD5 Checksum in Linux
How to generate and Verify Files with MD5 Checksum in Linux. in my post, to create "checksum" folder and 3 file: file_md5,file2_md...

How to reset root password on centos 7

How to reset root password on centos 7
Many methods to reset root password centos 7. if GRUB 2 bootloader then no longer using in single-user mode as well as emergency mode. To be...

use inotify-tools on centos

use inotify-tools on centos
inotifywait - wait for changes to files using inotify. To install inotify-tools on centos sudo yum install inotify-tools To install inoti...

screen command on linux

screen command on linux
To install screen on linux For centos/RHEL base system sudo yum install screen -y For ubuntu base system sudo apt-get install screen -y ...

Linux basic commands

Linux basic commands
Linux basic commands How to check version Ubuntu lsb_release -a How to check to distribute cat /etc/*release How to check CPU infor...

How to send email using mail command in linux

How to send email using mail command in linux
in my post, i'm use mail command to send message email. mail -s "Subject title huuphan.com" -S [email protected] &l...

xdotool − command−line X11 automation tool

xdotool − command−line X11 automation tool
To install xdotool on ubuntu sudo apt-get update sudo apt-get install xdotool To install xdotool on fedora sudo yum install xdotool...