i did linux:/ # cd /etc | ls
in terminal, and which i thought the command means go to /etc directory and then list the files in /etc directory. but actually the output is:
. bin cdrom dev etc home media opt root srv usr
.. boot data1 dvd floppy lib mnt proc sbin tmp var
it just ran the "ls" command, --- it didn't go in... could anyone give me a correct command? i felt abit confused. thanks.