Журнал лабораторных работ

Содержание

Журнал

Вторник (01/12/10)

/dev/ttyp8
09:27:00
#ls
[root@debian1:tmp]# cd 2
09:27:01
#touch `date`

09:27:09
#ls
[root@debian1:2]# date
Tue Jan 12 10:27:09 EET 2010
10:27:06  12  2010  EET  Jan  Tue
09:27:18
#ls -l1
total 0
-rw-r--r-- 1 root root 0 Jan 12 10:27 10:27:06
-rw-r--r-- 1 root root 0 Jan 12 10:27 12
-rw-r--r-- 1 root root 0 Jan 12 10:27 2010
-rw-r--r-- 1 root root 0 Jan 12 10:27 EET
-rw-r--r-- 1 root root 0 Jan 12 10:27 Jan
-rw-r--r-- 1 root root 0 Jan 12 10:27 Tue
09:27:22
#ls -l
total 0
-rw-r--r-- 1 root root 0 Jan 12 10:27 10:27:06
-rw-r--r-- 1 root root 0 Jan 12 10:27 12
-rw-r--r-- 1 root root 0 Jan 12 10:27 2010
-rw-r--r-- 1 root root 0 Jan 12 10:27 EET
-rw-r--r-- 1 root root 0 Jan 12 10:27 Jan
-rw-r--r-- 1 root root 0 Jan 12 10:27 Tue
09:27:54
#touch "`date`"
[root@debian1:2]# rm -v *
removed `10:27:06'
removed `12'
removed `2010'
removed `EET'
removed `Jan'
removed `Tue'
09:28:09
#ls -l
[root@debian1:2]# ls
Tue Jan 12 10:28:07 EET 2010
total 0
-rw-r--r-- 1 root root 0 Jan 12 10:28 Tue Jan 12 10:28:07 EET 2010
09:28:45
#touch "$((ariphmetic))"
[root@debian1:2]# touch "$(date)"
09:29:41
#A=0; while [ $A -lt 10 ] ; do A=$((A+1)) ; echo $A; done
[root@debian1:2]# A=0; while [ $A -lt 10 ] ; do A=$((A+1)) ; echo $A; done
1
2
3
4
5
6
7
8
9
10
09:30:01
#cat /etc/passwd -n
    75  user53:x:1054:1054::/home/user53:/bin/sh
    76  user54:x:1055:1055::/home/user54:/bin/sh
    77  user55:x:1056:1056::/home/user55:/bin/sh
    78  user56:x:1057:1057::/home/user56:/bin/sh
    79  user57:x:1058:1058::/home/user57:/bin/sh
    80  user58:x:1059:1059::/home/user58:/bin/sh
    81  user59:x:1060:1060::/home/user59:/bin/sh
    82  user60:x:1061:1061::/home/user60:/bin/sh
    83  user61:x:1062:1062::/home/user61:/bin/sh
    84  user62:x:1063:1063::/home/user62:/bin/sh
...
   214  user192:x:1193:1193::/home/user192:/bin/sh
   215  user193:x:1194:1194::/home/user193:/bin/sh
   216  user194:x:1195:1195::/home/user194:/bin/sh
   217  user195:x:1196:1196::/home/user195:/bin/sh
   218  user196:x:1197:1197::/home/user196:/bin/sh
   219  user197:x:1198:1198::/home/user197:/bin/sh
   220  user198:x:1199:1199::/home/user198:/bin/sh
   221  user199:x:1200:1200::/home/user199:/bin/sh
   222  user200:x:1201:1201::/home/user200:/bin/sh
   223  mega:x:1202:1202:mega user:/home/mega:/bin/bash
09:30:17
#man wc
/dev/ttyp0
09:30:43
#man sed
/dev/ttyp8
09:30:44
#ls
Tue Jan 12 10:28:07 EET 2010  Tue Jan 12 10:28:45 EET 2010
09:34:59
#cat names
~
~
~
~
~
~
~
~
~
~
~
~
~
"names" [New] 4L, 29C written
Yuriy
Yaroslav
Sergey
Andrey
09:35:03
#cat names | sort
Andrey
Sergey
Yaroslav
Yuriy
09:35:29
#sort < /tmp/2/names > /tmp/2/sortednames
[root@debian1:2]# sort < /tmp/2/names
Andrey
Sergey
Yaroslav
Yuriy
09:36:21
#sort < /tmp/2/names > /tmp/2/names
[root@debian1:2]# cat /tmp/2/sortednames
Andrey
Sergey
Yaroslav
Yuriy
09:36:34
#cat /tmp/2/names

09:36:55
#sort < /tmp/2/names > /tmp/2/names
[root@debian1:2]# sort < /tmp/2/names > /tmp/2/names
09:37:33
#cat | grep b
[root@debian1:2]# cat
fffffff
fffffff
cgfhfth
cgfhfth
dfgdtrytr
dfgdtrytr
yghjyg
yghjyg
sdfsdfsdfsf
sdfsdfgb
sdfsdfgb
09:39:44
#cat /etc/passwd
user53:x:1054:1054::/home/user53:/bin/sh
user54:x:1055:1055::/home/user54:/bin/sh
user55:x:1056:1056::/home/user55:/bin/sh
user56:x:1057:1057::/home/user56:/bin/sh
user57:x:1058:1058::/home/user57:/bin/sh
user58:x:1059:1059::/home/user58:/bin/sh
user59:x:1060:1060::/home/user59:/bin/sh
user60:x:1061:1061::/home/user60:/bin/sh
user61:x:1062:1062::/home/user61:/bin/sh
user62:x:1063:1063::/home/user62:/bin/sh
...
user192:x:1193:1193::/home/user192:/bin/sh
user193:x:1194:1194::/home/user193:/bin/sh
user194:x:1195:1195::/home/user194:/bin/sh
user195:x:1196:1196::/home/user195:/bin/sh
user196:x:1197:1197::/home/user196:/bin/sh
user197:x:1198:1198::/home/user197:/bin/sh
user198:x:1199:1199::/home/user198:/bin/sh
user199:x:1200:1200::/home/user199:/bin/sh
user200:x:1201:1201::/home/user200:/bin/sh
mega:x:1202:1202:mega user:/home/mega:/bin/bash
09:39:56
#cat /etc/passwd | head | cat -n
[root@debian1:2]# cat /etc/passwd | head
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/bin/sh
bin:x:2:2:bin:/bin:/bin/sh
sys:x:3:3:sys:/dev:/bin/sh
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/bin/sh
man:x:6:12:man:/var/cache/man:/bin/sh
lp:x:7:7:lp:/var/spool/lpd:/bin/sh
mail:x:8:8:mail:/var/mail:/bin/sh
news:x:9:9:news:/var/spool/news:/bin/sh
     1  root:x:0:0:root:/root:/bin/bash
     2  daemon:x:1:1:daemon:/usr/sbin:/bin/sh
     3  bin:x:2:2:bin:/bin:/bin/sh
     4  sys:x:3:3:sys:/dev:/bin/sh
     5  sync:x:4:65534:sync:/bin:/bin/sync
     6  games:x:5:60:games:/usr/games:/bin/sh
     7  man:x:6:12:man:/var/cache/man:/bin/sh
     8  lp:x:7:7:lp:/var/spool/lpd:/bin/sh
     9  mail:x:8:8:mail:/var/mail:/bin/sh
    10  news:x:9:9:news:/var/spool/news:/bin/sh
09:40:04
#cat /etc/passwd | tail | cat -n
     1  user192:x:1193:1193::/home/user192:/bin/sh
     2  user193:x:1194:1194::/home/user193:/bin/sh
     3  user194:x:1195:1195::/home/user194:/bin/sh
     4  user195:x:1196:1196::/home/user195:/bin/sh
     5  user196:x:1197:1197::/home/user196:/bin/sh
     6  user197:x:1198:1198::/home/user197:/bin/sh
     7  user198:x:1199:1199::/home/user198:/bin/sh
     8  user199:x:1200:1200::/home/user199:/bin/sh
     9  user200:x:1201:1201::/home/user200:/bin/sh
    10  mega:x:1202:1202:mega user:/home/mega:/bin/bash
09:40:25
#cat /etc/passwd
user53:x:1054:1054::/home/user53:/bin/sh
user54:x:1055:1055::/home/user54:/bin/sh
user55:x:1056:1056::/home/user55:/bin/sh
user56:x:1057:1057::/home/user56:/bin/sh
user57:x:1058:1058::/home/user57:/bin/sh
user58:x:1059:1059::/home/user58:/bin/sh
user59:x:1060:1060::/home/user59:/bin/sh
user60:x:1061:1061::/home/user60:/bin/sh
user61:x:1062:1062::/home/user61:/bin/sh
user62:x:1063:1063::/home/user62:/bin/sh
...
user192:x:1193:1193::/home/user192:/bin/sh
user193:x:1194:1194::/home/user193:/bin/sh
user194:x:1195:1195::/home/user194:/bin/sh
user195:x:1196:1196::/home/user195:/bin/sh
user196:x:1197:1197::/home/user196:/bin/sh
user197:x:1198:1198::/home/user197:/bin/sh
user198:x:1199:1199::/home/user198:/bin/sh
user199:x:1200:1200::/home/user199:/bin/sh
user200:x:1201:1201::/home/user200:/bin/sh
mega:x:1202:1202:mega user:/home/mega:/bin/bash
09:40:40
#cat /etc/passwd | cut -d : -f 1
user53
user54
user55
user56
user57
user58
user59
user60
user61
user62
...
user192
user193
user194
user195
user196
user197
user198
user199
user200
mega
09:42:00
#cat /etc/passwd | awk '{print"User number and name "$1}'

09:42:00
#cat /etc/passwd | awk -F :
User number and name user53
User number and name user54
User number and name user55
User number and name user56
User number and name user57
User number and name user58
User number and name user59
User number and name user60
User number and name user61
User number and name user62
...
User number and name user192
User number and name user193
User number and name user194
User number and name user195
User number and name user196
User number and name user197
User number and name user198
User number and name user199
User number and name user200
User number and name mega
09:42:10
#cat /etc/passwd | awk -F : '{print"User number and name "

09:42:10
#cat /etc/passwd | awk -F : '{print"User number and na

09:42:10
#cat /etc/passwd | awk -F : '{print
user53
user54
user55
user56
user57
user58
user59
user60
user61
user62
...
user192
user193
user194
user195
user196
user197
user198
user199
user200
mega
09:42:41
#cat sortednames
Andrey
Sergey
Yaroslav
Yuriy
09:43:02
#cat sortednames | sort -n
~
~
~
~
~
~
~
~
~
~
~
~
~
"sortednames" 4L, 33C written
1Yaroslav
2Yuriy
3Andrey
5Sergey
09:43:40
#cat sortednames | sort -n | sed 's/^?Andrey//'
[root@debian1:2]# cat sortednames | sort -n | sed '3d'
1Yaroslav
2Yuriy
5Sergey
1Yaroslav
2Yuriy
3Andrey
5Sergey
09:44:52
#cat sortednames | sort -n | tee /tmp/ sed 's/^[0-9]Andrey

09:44:52
#cat sortednames | sort -n | tee /tmp/copy_of_pipe |

/dev/ttyp0
09:45:19
#man tee
09:45:32
#cd ..

/dev/ttyp8
09:45:33
#cat /tmp/copy_of_pipe
1Yaroslav
2Yuriy
3Andrey
5Sergey
/dev/ttyp0
09:47:52
#cd /names
bash: cd: /names: No such file or directory
09:47:56
#pwd
/
09:48:03
#ls
bin   dev  home    lib         media  opt   root  srv  tmp  var
boot  etc  initrd  lost+found  mnt    proc  sbin  sys  usr
09:48:06
#cd /usr/share/d
debconf/     debianutils/ dict/        doc-base/
debhelper/   defoma/      doc/         dpkg/
09:48:06
#cd /usr/share/doc

09:49:16
#ls a*
acl:
adduser:
changelog.gz  copyright  examples  TODO.gz
apt:
changelog.Debian.gz  copyright  examples
aptitude:
changelog.Debian.gz  examples  README         README.hier
copyright            NEWS      README.Debian  TODO
apt-utils:
changelog.Debian.gz  copyright  examples
attr:
09:49:27
#ls
console-cyrillic           libxi6
console-data               libxinerama1
console-terminus           libxkbfile1
coreutils                  libxml2
cpio                       libxmu6
cpp                        libxmuu1
cpp-4.1                    libxp6
cron                       libxpm4
debconf                    libxrandr2
debconf-i18n               libxrender1
...
libsm6                     xserver-xorg-video-vga
libss2                     xserver-xorg-video-via
libssl0.9.8                xserver-xorg-video-vmware
libssp0                    xserver-xorg-video-voodoo
libstartup-notification0   xterm
libstdc++6                 xutils
libtasn1-3                 xutils-dev
libtext-charwidth-perl     x-window-system
libtext-iconv-perl         zlib1g
libtext-wrapi18n-perl
09:49:41
#ls *.[cChH]
ls: *.[cChH]: No such file or directory
09:50:04
#ls *.
ls: *.: No such file or directory
09:50:24
#ls *BSD*
ls: *BSD*: No such file or directory
09:50:38
#ls j?n
ls: j?n: No such file or directory
09:50:54
#ls
console-cyrillic           libxi6
console-data               libxinerama1
console-terminus           libxkbfile1
coreutils                  libxml2
cpio                       libxmu6
cpp                        libxmuu1
cpp-4.1                    libxp6
cron                       libxpm4
debconf                    libxrandr2
debconf-i18n               libxrender1
...
libsm6                     xserver-xorg-video-vga
libss2                     xserver-xorg-video-via
libssl0.9.8                xserver-xorg-video-vmware
libssp0                    xserver-xorg-video-voodoo
libstartup-notification0   xterm
libstdc++6                 xutils
libtasn1-3                 xutils-dev
libtext-charwidth-perl     x-window-system
libtext-iconv-perl         zlib1g
libtext-wrapi18n-perl
09:50:58
#ls z?i
ls: z?i: No such file or directory
09:51:12
#ls z?i
ls: z?i: No such file or directory
09:51:30
#ls l?b
ls: l?b: No such file or directory
09:51:55
#ls `l?b`
console-cyrillic           libxi6
console-data               libxinerama1
console-terminus           libxkbfile1
coreutils                  libxml2
cpio                       libxmu6
cpp                        libxmuu1
cpp-4.1                    libxp6
cron                       libxpm4
debconf                    libxrandr2
debconf-i18n               libxrender1
...
libsm6                     xserver-xorg-video-vga
libss2                     xserver-xorg-video-via
libssl0.9.8                xserver-xorg-video-vmware
libssp0                    xserver-xorg-video-voodoo
libstartup-notification0   xterm
libstdc++6                 xutils
libtasn1-3                 xutils-dev
libtext-charwidth-perl     x-window-system
libtext-iconv-perl         zlib1g
libtext-wrapi18n-perl
09:52:07
#ls -- -*
ls: -*: No such file or directory
09:53:21
#ls ???
acl:
apt:
changelog.Debian.gz  copyright  examples
cpp:
changelog.Debian.gz  copyright  FAQ.gz  README.Bugs  README.Debian.gz
gcc:
changelog.Debian.gz  copyright  FAQ.gz  README.Bugs  README.Debian.gz
gdm:
changelog.Debian.gz  copyright  README         README.install.gz
changelog.gz         NEWS.gz    README.Debian  TODO
...
AUTHORS.gz  changelog.Debian.gz  copyright  NEWS.gz    sed-4.1.5      THANKS.gz
BUGS.gz     changelog.gz         examples   README.gz  sedfaq.txt.gz
tar:
AUTHORS         changelog.Debian.gz  copyright  README.Debian
changelog.1.gz  changelog.gz         NEWS.gz    THANKS.gz
ucf:
changelog.gz  copyright  examples
vim:
changelog.Debian.gz  FAQ.gz  NEWS.Debian.gz  README.gz    vim-policy.txt.gz
copyright            html    README.Debian   TODO.Debian
/dev/ttyp6
09:55:01
#screen -x
/dev/ttyp0
09:57:34
#ls ??
changelog.Debian.gz  copyright  POSIX.gz   THANKS.gz
changelog.gz         NEWS.gz    README.gz  TODO.gz
09:57:41
#ls ?
ls: ?: No such file or directory
09:57:45
#ls ?????????????????/
fontconfig-config/:
AUTHORS  changelog.Debian.gz  changelog.gz  copyright  README.gz
libgnomecanvas2-0/:
AUTHORS  changelog.Debian.gz  changelog.gz  copyright  NEWS.gz  README
libgnome-keyring0/:
AUTHORS  changelog.Debian.gz  changelog.gz  copyright  NEWS.gz  README  TODO
module-init-tools/:
changelog.Debian.gz  changelog.gz  copyright  examples  FAQ  TODO
python2.4-minimal/:
changelog.Debian.gz  copyright  README.Debian
xserver-xorg-core/:
changelog.Debian.gz  changelog.gz  copyright  NEWS.Debian.gz
09:57:49
#ls ????
attr:
bash:
BUGS.bash_completion          completion-contrib  POSIX.gz
changelog.bash_completion.gz  copyright           README.abs-guide
changelog.Debian.gz           FAQ                 README.bash_completion.gz
changelog.gz                  inputrc.arrows      README.commands.gz
CHANGES.gz                    INTRO.gz            README.Debian.gz
COMPAT.gz                     NEWS.gz
cpio:
changelog.Debian.gz  changelog.gz  copyright  NEWS.gz  README.gz
...
tcpd:
changelog.Debian.gz  copyright      README.gz
changelog.gz         README.Debian  README.NIS.gz
tree:
changelog.Debian.gz  changelog.gz  copyright  README
wget:
AUTHORS              changelog.gz      copyright     NEWS.gz  TODO.gz
changelog.Debian.gz  ChangeLog.README  MAILING-LIST  README
xorg:
changelog.Debian.gz  copyright
09:58:00
#ls
console-cyrillic           libxi6
console-data               libxinerama1
console-terminus           libxkbfile1
coreutils                  libxml2
cpio                       libxmu6
cpp                        libxmuu1
cpp-4.1                    libxp6
cron                       libxpm4
debconf                    libxrandr2
debconf-i18n               libxrender1
...
libsm6                     xserver-xorg-video-vga
libss2                     xserver-xorg-video-via
libssl0.9.8                xserver-xorg-video-vmware
libssp0                    xserver-xorg-video-voodoo
libstartup-notification0   xterm
libstdc++6                 xutils
libtasn1-3                 xutils-dev
libtext-charwidth-perl     x-window-system
libtext-iconv-perl         zlib1g
libtext-wrapi18n-perl
09:58:13
#ls lib???
libfs6:
changelog.Debian.gz  copyright
libsm6:
changelog.Debian.gz  copyright
libss2:
changelog.Debian.gz  copyright
libxi6:
changelog.Debian.gz  copyright
libxp6:
changelog.Debian.gz  copyright
libxt6:
changelog.Debian.gz  copyright
libxv1:
changelog.Debian.gz  copyright
09:58:34
#man name
09:59:43
#cpuinfo
bash: cpuinfo: command not found
/dev/ttyp8
09:59:46
#ssh 192.168.16.23
[root@debian1:2]# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz
stepping        : 11
cpu MHz         : 2405.454
cache size      : 4096 KB
fdiv_bug        : no
...
   http://www.FreeBSD.org/search/.  If the doc distribution has
   been installed, they're also available formatted in /usr/share/doc.
If you still have a question or problem, please take the output of
`uname -a', along with any relevant error messages, and email it
as a question to the questions@FreeBSD.org mailing list.  If you are
unfamiliar with FreeBSD's directory layout, please refer to the hier(7)
manual page.  If you are not familiar with manual pages, type `man man'.
You may also use sysinstall(8) to re-enter the installation and
configuration utility.  Edit /etc/motd to change this login announcement.
l3-agent is already running: pid=16277; pidfile=/root/.lilalo/l3-agent.pid
/dev/ttyp0
09:59:53
#cat /
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz
stepping        : 11
cpu MHz         : 2405.454
cache size      : 4096 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu de tsc msr pae cx8 apic cmov pat clflush acpi mmx fxsr sse sse2 ss ht nx constant_tsc up pni
bogomips        : 6015.27
10:00:05
#sysinfo
bash: sysinfo: command not found
/dev/ttyp8
10:00:16
#[root@fbsd3:~]#
[root@fbsd3:~]# sysctl -a | grep CPU
hw.model: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz
dev.cpu.0.%desc: ACPI CPU
õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root
/dev/ttyp0
10:00:35
#man systeminfo
10:00:43
#man sys
10:00:48
#man
10:00:57
#ls l?b
ls: l?b: No such file or directory
10:01:23
#ls `l?b`
console-cyrillic           libxi6
console-data               libxinerama1
console-terminus           libxkbfile1
coreutils                  libxml2
cpio                       libxmu6
cpp                        libxmuu1
cpp-4.1                    libxp6
cron                       libxpm4
debconf                    libxrandr2
debconf-i18n               libxrender1
...
libsm6                     xserver-xorg-video-vga
libss2                     xserver-xorg-video-via
libssl0.9.8                xserver-xorg-video-vmware
libssp0                    xserver-xorg-video-voodoo
libstartup-notification0   xterm
libstdc++6                 xutils
libtasn1-3                 xutils-dev
libtext-charwidth-perl     x-window-system
libtext-iconv-perl         zlib1g
libtext-wrapi18n-perl
10:01:28
#echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
10:02:08
#echo $path

10:02:18
#ecgo $(((1+2+3)*4*5+1))
bash: ecgo: command not found
10:03:08
#ech
121
10:03:15
#a=1

10:03:39
#b=2

10:03:44
#echo $(A+B)
bash: A+B: command not found
10:03:58
#echo $((A+B)
0
10:04:13
#echo $((a+b
3
10:04:25
#cd /tmp

10:10:08
#ls
-1    2005  2009  abcd          fifo       hard_link_to_file         v218742
123   2006  a     abcde         filename1  hard_link_to_file_backup  zmanDW1PTG
2     2007  ab    bind          fileperm1  hard_link_to_file_copy
2004  2008  abc   copy_of_pipe  find       passwd
10:10:09
#cat /etc/passwd
user53:x:1054:1054::/home/user53:/bin/sh
user54:x:1055:1055::/home/user54:/bin/sh
user55:x:1056:1056::/home/user55:/bin/sh
user56:x:1057:1057::/home/user56:/bin/sh
user57:x:1058:1058::/home/user57:/bin/sh
user58:x:1059:1059::/home/user58:/bin/sh
user59:x:1060:1060::/home/user59:/bin/sh
user60:x:1061:1061::/home/user60:/bin/sh
user61:x:1062:1062::/home/user61:/bin/sh
user62:x:1063:1063::/home/user62:/bin/sh
...
user192:x:1193:1193::/home/user192:/bin/sh
user193:x:1194:1194::/home/user193:/bin/sh
user194:x:1195:1195::/home/user194:/bin/sh
user195:x:1196:1196::/home/user195:/bin/sh
user196:x:1197:1197::/home/user196:/bin/sh
user197:x:1198:1198::/home/user197:/bin/sh
user198:x:1199:1199::/home/user198:/bin/sh
user199:x:1200:1200::/home/user199:/bin/sh
user200:x:1201:1201::/home/user200:/bin/sh
mega:x:1202:1202:mega user:/home/mega:/bin/bash
10:10:28
#less newfile
10:10:42
#mna less
bash: mna: command not found
10:10:45
#man less
10:10:56
#vim newfile
10:11:12
#cat newfile
user53:x:1054:1054::/home/user53:/bin/sh
user54:x:1055:1055::/home/user54:/bin/sh
user55:x:1056:1056::/home/user55:/bin/sh
user56:x:1057:1057::/home/user56:/bin/sh
user57:x:1058:1058::/home/user57:/bin/sh
user58:x:1059:1059::/home/user58:/bin/sh
user59:x:1060:1060::/home/user59:/bin/sh
user60:x:1061:1061::/home/user60:/bin/sh
user61:x:1062:1062::/home/user61:/bin/sh
user62:x:1063:1063::/home/user62:/bin/sh
...
user192:x:1193:1193::/home/user192:/bin/sh
user193:x:1194:1194::/home/user193:/bin/sh
user194:x:1195:1195::/home/user194:/bin/sh
user195:x:1196:1196::/home/user195:/bin/sh
user196:x:1197:1197::/home/user196:/bin/sh
user197:x:1198:1198::/home/user197:/bin/sh
user198:x:1199:1199::/home/user198:/bin/sh
user199:x:1200:1200::/home/user199:/bin/sh
user200:x:1201:1201::/home/user200:/bin/sh
mega:x:1202:1202:mega user:/home/mega:/bin/bash
10:11:19
#sort </etc/passwd
user14:x:1015:1015::/home/user14:/bin/sh
user150:x:1151:1151::/home/user150:/bin/sh
user151:x:1152:1152::/home/user151:/bin/sh
user152:x:1153:1153::/home/user152:/bin/sh
user153:x:1154:1154::/home/user153:/bin/sh
user154:x:1155:1155::/home/user154:/bin/sh
user155:x:1156:1156::/home/user155:/bin/sh
user156:x:1157:1157::/home/user156:/bin/sh
user157:x:1158:1158::/home/user157:/bin/sh
user158:x:1159:1159::/home/user158:/bin/sh
...
user94:x:1095:1095::/home/user94:/bin/sh
user95:x:1096:1096::/home/user95:/bin/sh
user96:x:1097:1097::/home/user96:/bin/sh
user97:x:1098:1098::/home/user97:/bin/sh
user98:x:1099:1099::/home/user98:/bin/sh
user99:x:1100:1100::/home/user99:/bin/sh
user9:x:1010:1010::/home/user9:/bin/sh
user:x:1000:1000:User,,,:/home/user:/bin/bash
uucp:x:10:10:uucp:/var/spool/uucp:/bin/sh
www-data:x:33:33:www-data:/var/www:/bin/sh
10:11:42
#cat > file
zgfsdg
dfsgsdfgd
sdfgfsdg
10:12:20
#cat >> file
1
2
3
45
10:12:39
#less file
10:12:47
#cat /etc/passwd |more
10:13:27
#cat /etc/passwd |more
10:13:34
#:q
bash: :q: command not found
10:13:36
#ls a*
a  ab  abc  abcd  abcde
10:17:37