normal ist das aber nich.ricarda schrieb:Es schaut aber irgendwie so aus, als ob die shell neu gestartet wird, da alles andere, was vorher drin zu sehen ist verschwindet und es wieder ganz oben neu losgeht. Die laufende Nummer, die immer zwischen [xxx@rechner] und dem aktuellen Pfad steht, zählt allerdings weiter, also stimmt das mit dem neustart vielleicht auch nicht.
rob@dhcppc1:~> which less
/usr/bin/less
rob@dhcppc1:~> ls -l /usr/bin/less
-rwxr-xr-x 1 root root 163334 2004-05-14 22:34 /usr/bin/less
rob@dhcppc1:~> file /usr/bin/less
/usr/bin/less: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped
rob@dhcppc1:~> ldd /usr/bin/less
linux-gate.so.1 => (0xffffe000)
libncurses.so.5 => /lib/libncurses.so.5 (0x4002b000)
libc.so.6 => /lib/tls/libc.so.6 (0x40070000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
rob@dhcppc1:~> alias | grep less
alias o='less'
rob@dhcppc1:~> stty -a
speed 38400 baud; rows 71; columns 209; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel -iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke
[hilf@btc9ka] 106 (~): stty -a
speed 38400 baud; rows 15; columns 79; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;
lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -ixon
-ixoff -iuclc -ixany -imaxbel -iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0
ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke
less testfile.txt
ls -l
for i in $(seq 1 200); do echo "das ist Zeile $i"; done | less