zoukankan      html  css  js  c++  java
  • linux小倒腾

    1。vim安装sudo apt-get install vim-gtk,于是vim就安装好了。当然在我电脑上还出现了gvim,简单的vim配置(etc/vim/vimrc):

     1 "我的设置
     2 set number 
     3 
     4 "不使用vi默认键盘布局
     5 set nocompatible
     6 set autoindent
     7 set smartindent
     8 set showmatch
     9 "显示状态行
    10 set ruler
    11 set tabstop=4
    12 set cindent
    13 set nobackup
    14 "与windows共享剪贴板
    15 set clipboard+=unnamed
    16 set shiftwidth=4

    若提示权限不够,则su进入root用户,在切换到vim目录,chmod 777 vimrc,此时则能愉快的进行编辑了

    2。终端,系统字体还是觉得DejaVu Sans Mono或者Consolas ,italic 好看,还有就是关于桌面美化上网搜点好看的图片,右键有设置为桌面背景的选项。系统本身的桌面背景那几张图看起来实在显得有些单调。。。

    3。关于linux最基本的命令

      ls显示当前目录下文件夹,

      cd .. 返回father目录,

      cd / 返回root目录,

      cd - 返回上次的目录,

      cd . 当前目录,

      cd 或 cd ~返回home/aaa目录,其中aaa为你设置Linux的名称。

    就这么多吧。。。

  • 相关阅读:
    对进程空间的认识
    自己实现智能指针
    实现一个string类
    常见问题总结
    pong game using ncurses
    知识梳理
    经典算法回顾
    自己实现more命令
    表的垂直拆分和水平拆分-zz
    MySQL索引原理及慢查询优化-zz
  • 原文地址:https://www.cnblogs.com/why-not-try/p/6111846.html
Copyright © 2011-2022 走看看