Editing Basic commands to get around the Synology Box using the CLI
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
==File Management== | ==File Management== | ||
===To go to a directory=== | ===To go to a directory=== | ||
{| border="0" cellpadding="0" style="text-align:left" | {| border="0" cellpadding="0" style="text-align:left" | ||
Line 24: | Line 16: | ||
|} | |} | ||
===List | ===List Directory=== | ||
{| border="0" cellpadding="0" style="text-align:left" | {| border="0" cellpadding="0" style="text-align:left" | ||
|- | |- | ||
|<pre>dir</pre> | |<pre>dir</pre> | ||
|- | |- | ||
|} | |} | ||
Line 91: | Line 69: | ||
{| border="0" cellpadding="0" style="text-align:left" | {| border="0" cellpadding="0" style="text-align:left" | ||
|- | |- | ||
|<pre>cp -r | |<pre>cp -r /sourceDirectory /destination</pre> | ||
|- | |- | ||
|} | |} | ||
Line 118: | Line 80: | ||
|- | |- | ||
|} | |} | ||
For gzip compressed .tar.gz archives: | For gzip compressed .tar.gz archives: | ||
{| border="0" cellpadding="0" style="text-align:left" | {| border="0" cellpadding="0" style="text-align:left" | ||
Line 161: | Line 121: | ||
|- | |- | ||
|<pre>top</pre> | |<pre>top</pre> | ||
|- | |- | ||
|} | |} | ||
Line 174: | Line 127: | ||
{| border="0" cellpadding="0" style="text-align:left" | {| border="0" cellpadding="0" style="text-align:left" | ||
|- | |- | ||
|<pre>ps | |<pre>ps –ef</pre> | ||
|- | |- | ||
|} | |} | ||
===Install | ===Install program=== | ||
{| border="0" cellpadding="0" style="text-align:left" | {| border="0" cellpadding="0" style="text-align:left" | ||
|- | |- | ||
Line 202: | Line 138: | ||
|} | |} | ||
===Uninstall | ===Uninstall programs=== | ||
{| border="0" cellpadding="0" style="text-align:left" | {| border="0" cellpadding="0" style="text-align:left" | ||
|- | |- | ||
|<pre> | |<pre>ipkg remove file name</pre> | ||
|- | |- | ||
|} | |} | ||
==System Information== | ==System Information== | ||
Line 315: | Line 173: | ||
|- | |- | ||
|<pre>cat /proc/filesystems</pre> | |<pre>cat /proc/filesystems</pre> | ||
|- | |- | ||
|} | |} | ||
Line 332: | Line 183: | ||
|} | |} | ||
===Check | ===Check Devices=== | ||
{| border="0" cellpadding="0" style="text-align:left" | {| border="0" cellpadding="0" style="text-align:left" | ||
|- | |- | ||
|<pre>cat /proc/mdstat</pre> | |<pre>cat /proc/mdstat</pre> | ||
|- | |- | ||
|} | |} | ||
Line 365: | Line 197: | ||
|- | |- | ||
|} | |} | ||