happy@happy-laptop:~$ ssh root@192.168.0.1 'ls -l'
root@192.168.0.1's password:
總計 120
-rwxrwxrwx. 1 root root 1706 2012-09-13 19:56 anaconda-ks.cfg
drwxr-xr-x 2 root root 4096 2012-12-11 14:44 Desktop
drwxr-xr-x 2 root root 4096 2012-12-11 14:44 Documents
drwxr-xr-x 2 root root 4096 2012-12-11 14:44 Downloads
-rwxrwxrwx. 1 root root 68774 2012-09-13 19:55 install.log
-rwxrwxrwx. 1 root root 10782 2012-09-13 19:55 install.log.syslog
drwxr-xr-x 2 root root 4096 2012-12-11 14:44 Music
drwxr-xr-x 2 root root 4096 2012-12-11 14:44 Pictures
drwxr-xr-x 2 root root 4096 2012-12-11 14:44 Public
drwxr-xr-x 2 root root 4096 2012-12-11 14:44 Templates
drwxr-xr-x 2 root root 4096 2012-12-11 14:44 Videos
happy@happy-laptop:~$
Reference :
0 意見:
張貼留言