/l3/users/GL/adm/debian10.clinika.local/root :1 :2 :3 :4 |
|
#echo $2
|
#cd tmp
![]() l3script: cd: tmp: No such file or directory |
#cd tmp
![]() l3script: cd: tmp: No such file or directory |
#touch file
|
#ln file file2
|
#ls
file file2 |
#ls -l
total 0 -rw-r--r-- 2 root root 0 Jun 19 16:28 file -rw-r--r-- 2 root root 0 Jun 19 16:28 file2 |
#ls -li
total 0 23556 -rw-r--r-- 2 root root 0 Jun 19 16:28 file 23556 -rw-r--r-- 2 root root 0 Jun 19 16:28 file2 |
#ln -s file file3
|
#ls -l
total 0 -rw-r--r-- 2 root root 0 Jun 19 16:28 file -rw-r--r-- 2 root root 0 Jun 19 16:28 file2 lrwxrwxrwx 1 root root 4 Jun 19 16:29 file3 -> file |
#ls -li
total 0 23556 -rw-r--r-- 2 root root 0 Jun 19 16:28 file 23556 -rw-r--r-- 2 root root 0 Jun 19 16:28 file2 23660 lrwxrwxrwx 1 root root 4 Jun 19 16:29 file3 -> file |
#echo file > file
|
#cat file
file |
#cat file2
file |
#cat file4
![]() cat: file4: No such file or directory |
#cat file3
file |
#touch new
|
#ln -s new sym_ne
|
#echo new > new
|
#echo new > sym_ne
|
#echo new0 > sym_ne
|
#cat new
new0 |
#ls -li
total 12 23556 -rw-r--r-- 2 root root 5 Jun 19 16:30 file 23556 -rw-r--r-- 2 root root 5 Jun 19 16:30 file2 23660 lrwxrwxrwx 1 root root 4 Jun 19 16:29 file3 -> file 24128 -rw-r--r-- 1 root root 5 Jun 19 16:31 new 24140 lrwxrwxrwx 1 root root 3 Jun 19 16:30 sym_ne -> new |
#bdf
![]() l3script: bdf: command not found |
#apt-get install bdf
![]() Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package bdf |
#ls -lh
total 12K -rw-r--r-- 2 root root 5 Jun 19 16:30 file -rw-r--r-- 2 root root 5 Jun 19 16:30 file2 lrwxrwxrwx 1 root root 4 Jun 19 16:29 file3 -> file -rw-r--r-- 1 root root 5 Jun 19 16:31 new lrwxrwxrwx 1 root root 3 Jun 19 16:30 sym_ne -> new |
#ls -li
total 12 23556 -rw-r--r-- 2 root root 5 Jun 19 16:30 file 23556 -rw-r--r-- 2 root root 5 Jun 19 16:30 file2 23660 lrwxrwxrwx 1 root root 4 Jun 19 16:29 file3 -> file 24128 -rw-r--r-- 1 root root 5 Jun 19 16:31 new 24140 lrwxrwxrwx 1 root root 3 Jun 19 16:30 sym_ne -> new |
#ln /root/
![]() .bash_history .bashrc .lilalo/ .ssh/ 200[0-9]/ 2012/ 2014/ install .bash_profile .l3rc .profile .viminfo 2011/ 2013/ 2015/ |
#ln /root/2012/1\{0
![]() 1{01/ 1{02/ 1{03/ 1{04/ 1{05/ |
#ln /root/2012/1\{0
![]() 1{01/ 1{02/ 1{03/ 1{04/ 1{05/ |
#ln /root/2012/1\{02/ folder
![]() ln: `/root/2012/1{02/': hard link not allowed for directory |
#ls -ls
total 12 4 -rw-r--r-- 2 root root 5 Jun 19 16:30 file 4 -rw-r--r-- 2 root root 5 Jun 19 16:30 file2 0 lrwxrwxrwx 1 root root 4 Jun 19 16:29 file3 -> file 4 -rw-r--r-- 1 root root 5 Jun 19 16:31 new 0 lrwxrwxrwx 1 root root 3 Jun 19 16:30 sym_ne -> new |
|