Linux Tips
| uname -r | Show kernel version |
|---|---|
| psx | Show running process (threads) and priorities. |
| sudo -i | super user interactive mode |
| error constants |
Linux System Errors
When system requests fail, error code are returned. To understand the nature of the error these codes need to be interpreted. They are recorded in /usr/include/asm/errno.h |
| mount | to see which are mounted directories |
| kill -9 |
to kill a process (9 is SIGKILL) kill -9 proces_ID |
| ls -lrt | to list directories and files |
| lr |
lr partialFecName to list fec names starting with the partial name |
| cp |
secure copy >scp ./source_filename destination_fec_name@localhost:/destination_a/b/c ... with directories >scp -r ./source_filename destination_fec_name@localhost:/destination_a/b/c ... |
| reboot |
/mcr/reset/rem_reset FEC_name |
| annex FEC_name |
to see the ouput of the FEC >annex cfc-xxx-rxxx to exit now is Esc, Esc then dot [.] (previously was "Ctrl" + "]") then at the telnet prompt telnet>close >dsc_terminal cfc-xxx-rxxx |