---
title: "realVNC操作SLES 11 SP3"
author: "ceasarje"
date: "2016-03-10T21:16:10Z"
tags: []
categories: ["操作系统"]
slug: "realvnc-sles-11-sp3"
draft: true
lastmod: "2016-03-10T21:40:45Z"
id: 2282014
url: "https://ceasarje.iteye.com/blog/2282014"
---

1\. 通过ps -p $$可以知道系统内核属于bash还是csh

2.通过VI在 ~/.cshrc 和 ~/.login 两个文件中添加要设置的环境变量，这两个文件在\*adm HOME 的目录下面.

3.通过VI修改完文件以后用:w !sudo tee %保存文件

4.通过source命令分别让~/.cshrc 和 ~/.login 生效。