Revision as of 09:34, 17 April 2008 by imported>RobinGB
File Management
To go to a directory
Make a directory
List Directory
Find a file
Delete a file
Delete a directory and its content
- Note: Use this command with great care
Move or Rename a file
mv /sourceDirectory/sourceFile /destination
|
Copy a file
cp /sourceDirectory/sourceFile /destination
|
Copy groups of files
cp /sourceDirectory/*.* /destination
|
Copy a directory and any sub directories
cp -r -p /sourceDirectory /destinationpath
|
Create .tar archive
To create a compressed .tar archive of all files directories and subdirectories in the current directory:
tar -cvzf archivefilename.tgz *
|
Unpack .tar archives
For uncompressed .tar archives:
For gzip compressed .tar.gz archives:
System Management
Reboot the Synology box
Shutdown the Synology box
Stop a process
Stop a program
Display most current processes running
Show all current processes
Install program
Uninstall programs
System Information
Check system memory info
Check CPU Info
Check Interrupts in use
Check File Systems in use
Check Linux Version
Check Devices
Check Enviroment Variables
Miscellaneous
Clear terminal screen