universality of I/O

commandline session

$ 4.2.36 6 504---> sudo cp yt-chanrip /dev/tty43
[sudo] password for jeffrin:
$ 4.2.36 7 505---> tail -f /var/log/syslog
tail: cannot open `/var/log/syslog' for reading: Permission denied
$ 4.2.36 8 506---> sudo tail -f /var/log/syslog
Jan  5 21:04:54 debian -- MARK --
Jan  5 21:09:01 debian /USR/SBIN/CRON[4789]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null ; -delete)
Jan  5 21:10:40 debian dbus[988]: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
Jan  5 21:10:40 debian dbus[988]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Jan  5 21:16:48 debian dbus[988]: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
Jan  5 21:16:49 debian dbus[988]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Jan  5 21:17:01 debian /USR/SBIN/CRON[4854]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jan  5 21:35:39 debian kernel: Kernel logging (proc) stopped.
Jan  5 21:35:39 debian kernel: Kernel log daemon terminating.
Jan  5 21:35:41 debian exiting on signal 15

^C$ 4.2.36 9 507---> cat /dev/tty43
cat: /dev/tty43: Permission denied
$ 4.2.36 10 508---> sudo cat /dev/tty43
^Z
[1]+  Stopped                 sudo cat /dev/tty43
$ 4.2.36 11 509---> cat /dev/tty43
cat: /dev/tty43: Permission denied
$ 4.2.36 12 510---> sudo cat /dev/tty43
^C$ 4.2.36 13 511---sudo cp yt-chanrip /dev/tty43
$ 4.2.36 14 512---> fg 1
sudo cat /dev/tty43
^C$ 4.2.36 15 513---> cat /dev/tty1
tty1   tty10  tty11  tty12  tty13  tty14  tty15  tty16  tty17  tty18  tty19
$ 4.2.36 15 513---> cat /dev/tty1


$ 4.2.36 15 513---> cp /dev/tty1  uio.txt
cp: cannot open `/dev/tty1' for reading: Permission denied
$ 4.2.36 16 514---> sudo cp /dev/tty1  uio.txt
^C$ 4.2.36 17 515---> sudo cp /dev/pts/2  uio.txt
2
$ 4.2.36 17 515---> sudo cp /dev/pts/2  uio.txt

$ 4.2.36 17 515---> sudo cp /dev/pts/2  uio.txt
^C$ 4.2.36 18 516---> cat uio.txt
cat: uio.txt: Permission denied
$ 4.2.36 19 517---> sudo cat uio.txt
ssad$ 4.2.36 20 518---> cat uio.txt
cat: uio.txt: Permission denied
$ 4.2.36 21 519---> sudo less  uio.txt
$ 4.2.36 22 520---> sudo more  uio.txt
ssad
$ 4.2.36 23 521---> sudo less  uio.txt
$ 4.2.36 24 522--->

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s