local$xhost+remote_hostlocal$remote_hostremote$exportDISPLAY=local_host:0local$xhost-SSHlocal$ssh-Xremote_hostFromlocalWindows/LinuxtoremoteLinuxVNCremote$vncserverremote$vncpasswdlocal$vncviewerremote_host:1remote$vncserver-kill:1ShortcutKeysforConsoleSwitchingConsoleModeDefault?Keys1sttextYCtrl+Alt+F11stgraphicalYCtrl+Alt+F7RefreshXLoginYCtrl+Alt+BackspaceHomeuserenvironmentsettings(bash)~/.bash_profile~/.bashrc$exportPATH=$PATH:/sbin:/usr/sbin:.EnvironmentVariablesandShellVariablesVariablesEnvironmentShellShowcurrentvalues$env$setSetinbash,ksh$exportVAR=values$VAR=valuesSetincsh,tcsh$setenvVARvalues$setvar=(values)ExamplesHOSTNAMEUSERMAILLANGHOMETERM(bash)BASH_ENVHISTFILEPS1SHELLOPTS(tcsh)[Esc]Quitandwrite:xQuitwithoutwrite:q!Writeonly:mand:!+fScreenBackwardCtrl+bRefreshScreenCtrl+lGotolinenumber:n('1'-'$')Searchforward/patternSearchbackward?patternRepeatlastsearch :s/this/that/gLinesa-b:a,bs/this/that/gWholetext:%s/this/that/:setHelp:hRemoveallcontrolcharactersby:%s/[[:cntrl:]]//gSystemInformation$w showwhologin$psux showyourprocess$top showtopprocesses$free showfreememory$uname–a mandsRemovableMediaHowtoejectamountedCDROM?$eject/mnt/cd
Remote Desktop 来自淘豆网m.daumloan.com转载请标明出处.