| |||||||||||
| |||||||||||
Linux run states, shell special commands, and directory structures
Some useful notes from the board ...
![]() Run states of Unix and Linux systems: 0 - Halted 1 - Single User 2 - Multiuser 3 - Full Multiuser (inc servers) 5 - Same + X Windows 6 - transient reboot ![]() Install Order for LAMP Linux ... ... then Apache httpd ... then MySQL ... then PHP. PHP must be after MySQL if you want to load in the drivers from the MySQL distribution within the PHP! ![]() Lots of bin directories bin directories contain (or originally contained) binary programs. /bin - needed at boot time /usr/bin - regular part of the operating system /usr/local/bin - local additions to the OS /usr/local/java/bin - Java binaries /sbin - system admin binaries needed at boot /usr/sbin - systenm admin binaries not needed at boot ![]() Shell Special Characters $ - Shell variable substitution ' - protect string from shell " - protect string from shell (not $) \ - protect next char from shell ` - run embedded command first * - match any characters in file name ? - match any one character in file name [] - match any listed character in file name > - redirect stdout (output) < - redirect stdin (input) | - pipe output in to next command space - separate paramaters c/r - command terminator ; - multiple commands on one line & - run command in background (written 2007-08-03 00:20:43) Associated topics are indexed under A164 - Web Application Deployment - Services and Regular JobsA191 - Web Application Deployment - Installing Linux A162 - Web Application Deployment - Backups and File System Management A101 - Web Application Deployment - Linux -An Introduction For Users
Some other Articles
DHCP automatic IP address v Static IPDay trip to Weymouth Badges, Breakfasts and Trigger Pure Perl Linux run states, shell special commands, and directory structures Work and play at Well House Manor - Football and Shell Shortcuts A wasted evening? In the army, or in civvie street? An update on the West Wilts show ... Generating traffic for network testing 1638 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33 at 50 posts per pageThis is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price. Link to Ezine home page (for reading). Link to Blogging home page (to add comments). |
| ||||||||||
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho | |||||||||||