Showing posts with label command. Show all posts
Showing posts with label command. Show all posts

Thursday, November 19, 2009

3 free online resources to help you learn Linux commands

These websites should provide you with the basic (up to advance) command line skills, as well as teach you some neat command line tricks.

1. LinuxCommand.org




LinuxCommand.org is a Linux education and advocacy site devoted to helping users of Linux operating systems.

Visit LinuxCommand.org.

2. Linux Command Directory



Linux Command Directory is a directory of 687 Linux commands with descriptions.

Visit Linux Command Directory.

3. The Linux Cookbook



The Linux Cookbook presents "recipes" for preparing or accomplishing a particular, specific thing.

Visit The Linux Cookbook.

Monday, September 14, 2009

One line command to update Ubuntu

I use this command to update my Ubuntu installation.
$ sudo apt-get update && sudo apt-get upgrade &&
sudo apt-get autoremove && sudo apt-get dist-upgrade

Thursday, May 28, 2009

112 useful Windows XP commands

Here is a list of 112 useful Windows XP commands. You can run it from the command prompt, or using the Run command located in the Start menu.
  1. Accessibility Controls: access.cpl
  2. Add Hardware Wizard: hdwwiz.cpl
  3. Add/Remove Programs: appwiz.cpl
  4. Administrative Tools: control admintools
  5. Automatic Updates: wuaucpl.cpl
  6. Bluetooth Transfer Wizard: fsquirt
  7. Calculator: calc
  8. Certificate Manager: certmgr.msc
  9. Character Map: charmap
  10. Check Disk Utility: chkdsk
  11. Clipboard Viewer: clipbrd
  12. Command Prompt: cmd
  13. Component Services: dcomcnfg
  14. Computer Management: compmgmt.msc
  15. Date and Time Properties: timedate.cpl
  16. DDE Shares: ddeshare
  17. Device Manager: devmgmt.msc
  18. Direct X Control Panel: directx.cpl
  19. Direct X Troubleshooter: dxdiag
  20. Disk Cleanup Utility: cleanmgr
  21. Disk Defragment: dfrg.msc
  22. Disk Management: diskmgmt.msc
  23. Disk Partition Manager: diskpart
  24. Display Properties: control desktop
  25. Display Properties: desk.cpl
  26. Display Properties (Appearence tab): control color
  27. Dr. Watson System Troubleshooting Utility: drwtsn32
  28. Driver Verifier Utility: verifier
  29. Event Viewer: eventvwr.msc
  30. File Signature Verification Tool: igverif
  31. Findfast: findfast.cpl
  32. Folders Properties: control folders
  33. Fonts: control fonts
  34. Fonts Folder: fonts
  35. Free Cell Card Game: freecell
  36. Game Controllers: joy.cpl
  37. Group Policy Editor: gpedit.msc
  38. Hearts Card Game: mshearts
  39. Hyper Terminal: hypertrm
  40. Iexpress Wizard: iexpress
  41. Indexing Service: ciadv.msc
  42. Internet Properties: inetcpl.cpl
  43. IP Configuration (Display Connection Configuration): ipconfig /all
  44. IP Configuration (Display DNS Cache Contents): ipconfig /displaydns
  45. IP Configuration (Delete DNS Cache Contents): ipconfig /flushdns
  46. IP Configuration (Release All Connections): ipconfig /release
  47. IP Configuration (Renew All Connections): ipconfig /renew
  48. IP Configuration (Refreshes DHCP & Re-Registers DNS): ipconfig /registerdns
  49. IP Configuration: ipconfig /showclassid
  50. IP Configuration: ipconfig /setclassid
  51. ava Control Panel: jpicpl32.cpl
  52. Java Control Panel: javaws
  53. Keyboard Properties: control keyboard
  54. Local Security Settings: secpol.msc
  55. Local Users and Groups: lusrmgr.msc
  56. Logs You Out Of Windows: logoff
  57. Mcft Chat: winchat
  58. Minesweeper Game: winmine
  59. Mouse Properties: control mouse
  60. Mouse Properties: main.cpl
  61. Network Connections: control netconnections
  62. Network Connections: ncpa.cpl
  63. Network Setup Wizard: netsetup.cpl
  64. Notepad: notepad
  65. Nview Desktop Manager: nvtuicpl.cpl
  66. Object Packager: packager
  67. ODBC Data Source Administrator: odbccp32.cpl
  68. On Screen Keyboard: osk
  69. Opens AC3 Filter: ac3filter.cpl
  70. Password Properties: password.cpl
  71. Performance Monitor: perfmon.msc
  72. Performance Monitor: perfmon
  73. Phone and Modem Options: telephon.cpl
  74. Power Configuration: powercfg.cpl
  75. Printers and Faxes: control printers
  76. Private Character Editor: eudcedit
  77. Quicktime: QuickTime.cpl
  78. Regional Settings: intl.cpl
  79. Registry Editor: regedit
  80. Remote Desktop: mstsc
  81. Removable Storage: ntmsmgr.msc
  82. Removable Storage Operator Requests: ntmsoprq.msc
  83. Resultant Set of Policy (XP Prof): rsop.msc
  84. Scanners and Cameras: sticpl.cpl
  85. Scheduled Tasks: control schedtasks
  86. Security Center: wscui.cpl
  87. Services: services.msc
  88. Shared Folders: fsmgmt.msc
  89. Shuts Down Windows: shutdown
  90. Sounds and Audio: mmsys.cpl
  91. Spider Solitare Card Game: spider
  92. SQL Client Configuration: cliconfg
  93. System Configuration Editor: sysedit
  94. System Configuration Utility: msconfig
  95. System File Checker Utility (Scan Immediately): sfc /scannow
  96. System File Checker Utility (Scan Once At Next Boot): sfc /scanonce
  97. System File Checker Utility (Scan On Every Boot): sfc /scanboot
  98. System File Checker Utility (Return to Default Setting): sfc /revert
  99. System File Checker Utility (Purge File Cache): sfc /purgecache
  100. System File Checker Utility (Set Cache Size to size x): sfc /cachesize=x
  101. System Properties: sysdm.cpl
  102. Task Manager: taskmgr
  103. Telnet Client: telnet
  104. User Account Management: nusrmgr.cpl
  105. Utility Manager: utilman
  106. Windows Firewall: firewall.cpl
  107. Windows Magnifier: magnify
  108. Windows Management Infrastructure: wmimgmt.msc
  109. Windows System Security Tool: syskey
  110. Windows Update Launches: wupdmgr
  111. Windows XP Tour Wizard: tourstart
  112. Wordpad: write

Friday, March 20, 2009

Quick list of unix shell commands

Some Unix or Linux shell commands.

Cancel a command

Ctrl+U, Ctrl+X, or @

Change the working directory to /usr

cd /usr

Change the working directory back to your home directory

cd

Copy a file

cp oldfile newfile

Copy a file to another directory

cp oldfile dirname

Copy a bunch of files (e.g. filename1, filename2, ...) to another directory

cp filename* dirname

Copy all the files in this directory and in all its subdirectories

cp -r * newdir

Erase a file

rm filename

Rename a file

mv oldname newname

Move a file to another directory

mv oldfile dirname

List filenames

ls

List filenames with sizes and dates

ls -l

List hidden files too

ls -al

List files and pause when screen is full

ls | more

Look at a text file

cat filename

Look at a long text file

more filename

Make a new link (name) for a file

ln oldname newname

Make new links (names) for files in a directory

ln dirname/* newdir

Combine two files

cat file1 file2 > newfile

Compare two files

diff file1 file2

Look at the manual page for the ls command

man ls

Change your password

passwd