/l3/users/16-07-2018/NT-Ladm/debian3.net.nt/root :1 :2 :3 :4 :5 :6 |
|
#which vim
/usr/bin/vim |
#vi test
|
#!/bin/sh
apt_get_install_this="perl make libmodule-build-perl libc6-dev gcc" wget=wget uname -a | egrep -qi '(bsd|darwin)' && wget=fetch normC='\033[0;39m' whiteC='\033[1;37m' redC='\033[0;31m' greenC='\033[0;32m' apt_get_install_deps() { return 0 ... echo y | read answer if echo $answer | grep -q ^[yY] then true else echo Please install the dependencies and rerun the script exit 1 fi fi 50,9 2% |
#}
msg="$1" shift printf "${whiteC}""$msg""...${normC}\n" # eval "$@" 2>&1 | sed 's/^/|\ \ \ /' && printf "Ok\n" || printf "Failed\n" eval "$@" 2>&1 > log 2>&1 && \ { cat log | sed 's/^/|\ \ \ /' printf "${greenC}""Ok\n""${normC}" mouse= --- Options --- aleph=224 noconfirm fileformat=unix noinsertmode mousetime=500 nosecure switchbuf= undoreload=10000 ... 37 redC='\033[0;31m' 38 greenC='\033[0;32m' 39 40 apt_get_install_deps() 41 { 42 return 0 43 if which apt-get >& /dev/null 44 then 45 apt-get install -y $apt_get_install_this 46 else |
# 47 echo "Please install this dependencies manually:"
|
#vi .
![]() |
#vi .wimrc
--- /tmp/l3-saved-2416.19041.17912 2018-07-16 16:13:52.988850945 +0300 +++ .wimrc 2018-07-16 16:15:46.980862355 +0300 @@ -0,0 +1,5 @@ +syntax on +colorscheme +set nowrap +set mouse=a +set number |
#vi .wimrc
|
#~
|
#ls -l
total 16 -rw-r--r-- 1 root root 5268 Oct 13 2014 install -rw-r--r-- 1 root root 5268 Jul 16 15:20 test |
#vi .wimrc
![]() |
#vi .wimrc
![]() |
#vi .vimrc
|
#vi +28 test
![]() |
#vi +28 test
![]() |
#ls -all
total 72 drwx------ 5 root root 4096 Jul 16 16:21 . drwxr-xr-x 24 root root 4096 Oct 15 2014 .. drwx------ 2 root root 4096 Jun 27 2014 .aptitude -rw------- 1 root root 1903 Jul 16 16:05 .bash_history -rw-r--r-- 1 root root 10 Jun 27 2014 .bash_profile -rw-r--r-- 1 root root 630 Jun 27 2014 .bashrc -rw-r--r-- 1 root root 51 Jul 13 14:52 .l3rc -rw------- 1 root root 35 Jul 16 13:45 .lesshst drwxr-xr-x 2 root root 4096 Jul 16 16:21 .lilalo -rw-r--r-- 1 root root 140 Nov 19 2007 .profile drwxr-xr-x 2 root root 4096 Jun 27 2014 .vim -rw------- 1 root root 4424 Jul 16 16:21 .viminfo -rw-r--r-- 1 root root 56 Jul 16 16:15 .vimrc -rw-r--r-- 1 root root 5268 Oct 13 2014 install -rw-r--r-- 1 root root 5268 Jul 16 15:20 test |
#vi +28 test
![]() |
#vi .vimrc
--- /tmp/l3-saved-2416.27520.14161 2018-07-16 16:22:27.616799592 +0300 +++ .vimrc 2018-07-16 16:22:59.368851938 +0300 @@ -1,5 +1,5 @@ syntax on -colorscheme +colorscheme elflord set nowrap set mouse=a set number |
#vi .vimrc
|