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 28: | Line 20: | ||
|- | |- | ||
|<pre>dir</pre> | |<pre>dir</pre> | ||
|- | |- | ||
|} | |} | ||
Line 118: | Line 103: | ||
|- | |- | ||
|} | |} | ||
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 144: | ||
|- | |- | ||
|<pre>top</pre> | |<pre>top</pre> | ||
|- | |- | ||
|} | |} | ||
Line 174: | Line 150: | ||
{| border="0" cellpadding="0" style="text-align:left" | {| border="0" cellpadding="0" style="text-align:left" | ||
|- | |- | ||
|<pre>ps</pre> | |<pre>ps –ef</pre> | ||
|- | |- | ||
|} | |} | ||
===Change Loged in user=== | |||
===Change | |||
If you are logged in as root you can open a new shell as if you just logged in as another user, substitute xxx with the user name. To return to root session use "exit" | If you are logged in as root you can open a new shell as if you just logged in as another user, substitute xxx with the user name. To return to root session use "exit" | ||
Line 223: | Line 192: | ||
|<pre>/usr/syno/etc/rc.d/S81atalk.sh restart</pre> | |<pre>/usr/syno/etc/rc.d/S81atalk.sh restart</pre> | ||
|- | |- | ||
|} | |} | ||
Line 277: | Line 239: | ||
{| border="0" cellpadding="0" style="text-align:left" | {| border="0" cellpadding="0" style="text-align:left" | ||
|- | |- | ||
|<pre>/usr/syno/etc/rc.d/ | |<pre>/usr/syno/etc/rc.d/S80Samba.sh restart</pre> | ||
|- | |- | ||
|} | |} | ||
Line 315: | Line 277: | ||
|- | |- | ||
|<pre>cat /proc/filesystems</pre> | |<pre>cat /proc/filesystems</pre> | ||
|- | |- | ||
|} | |} | ||
Line 332: | Line 287: | ||
|} | |} | ||
===Check | ===Check Devices=== | ||
{| border="0" cellpadding="0" style="text-align:left" | {| border="0" cellpadding="0" style="text-align:left" | ||
|- | |- | ||
Line 353: | Line 308: | ||
or for all NAS types | or for all NAS types | ||
<pre>cat /proc/partitions</pre> | <pre>cat /proc/partitions</pre> | ||
|- | |- | ||
|} | |} | ||
Line 365: | Line 318: | ||
|- | |- | ||
|} | |} | ||