Linux the way of learning
1 : Show Date command of Time: Date
date-> can show the week Month Day Time Division seconds years
Date +%y/%m/%d-> can show: Year / Month / Day ( Date must have at least one space behind it)
Date +%h:%m:%s-> Show: Hours: minutes: Seconds ( Date must have at least one space behind it)
Date +%h-> Show: Month (in English)
2 : Show Calendar commands: Cal:
Cal - Show calendar for the current month
Cal 2009-> Show the entire the the Calendar
Cal Ten 2009-> Show the years Ten Calendar of the month
3 : Simple and easy to use calculator command: BC
bc-> Enter calculator (can only show integer part) if you want to see the value of the fractional part, command: scale=3 ( can display three digits after the decimal point ) Exit Command: quit
4:tab key à fill command
The tab connection is followed by the first word of the string instruction, then the command complements the
When you tab to the second word of a sequence of instructions, the file is padded
5 : Ctrl + C: command termination key combination
6 : ctle+d: file termination key, equivalent to Exit
7:man+page+ file name : Online Query file ( search for dateàmanpage date) ( the man pa is good to master )
8 : View network connection commands: Netstat–a
9: To view the background Execution Program command: Ps–aux
Ten: write data to the instructions on the hard disk: Sync
One : shutdown Command: shutdown
: Restart Turn off the machine: reboot, Halt, Poweroff
: Auto Power off command: /sbin/shutdown–t ( sec ) –arkhncff Time ( warning Time )
Example:/sbin/shutdown–h ' t willshutdown after ten mins '
Linux Common Command Learning Path (updated daily)