Linux commands: Difference between revisions

Jump to navigation Jump to search
376 bytes added ,  28 April 2014
→‎system operation: add Scan the disk
(→‎system operation: add Scan the disk)
Line 173: Line 173:
* {{kbd | key=''linux command'' <nowiki>|</nowiki> grep ''string''}} ({{Linux}}) ex: keyin {{kbd | key=<nowiki>yum list installed | grep tar</nowiki>}} to search the installed package naming tar.<ref>[http://alvinalexander.com/unix/edu/examples/grep.shtml Unix/Linux grep command examples | grep command in Unix and Linux | grep examples | alvinalexander.com]</ref>
* {{kbd | key=''linux command'' <nowiki>|</nowiki> grep ''string''}} ({{Linux}}) ex: keyin {{kbd | key=<nowiki>yum list installed | grep tar</nowiki>}} to search the installed package naming tar.<ref>[http://alvinalexander.com/unix/edu/examples/grep.shtml Unix/Linux grep command examples | grep command in Unix and Linux | grep examples | alvinalexander.com]</ref>
* {{kbd | key=''Windows command'' <nowiki>|</nowiki> find ''"string"''}} ({{Win}}) ex: {{kbd | key=<nowiki>netstat -a | find "3306"</nowiki>}}  (note:  enclose string in double quotation marks)<ref>[http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/find.mspx?mfr=true Microsoft Windows XP - Find]</ref>
* {{kbd | key=''Windows command'' <nowiki>|</nowiki> find ''"string"''}} ({{Win}}) ex: {{kbd | key=<nowiki>netstat -a | find "3306"</nowiki>}}  (note:  enclose string in double quotation marks)<ref>[http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/find.mspx?mfr=true Microsoft Windows XP - Find]</ref>
Scan the disk
* GUI: [http://support.microsoft.com/kb/156571/en-us How to Perform Scandisk in Windows] {{Win}}
* Command: {{kbd | key=shutdown -rF now}} Force fsck when rebooting a Linux server ({{Linux}})<ref>[http://www.limestonenetworks.com/support/kc/7/67/how_do_i_schedule_fsck_to_run_automatically.html Cloud Provider and Dedicated Server Hosting in Dallas, TX]</ref>


== help for command ==
== help for command ==

Navigation menu