how to switch under different directories

Hello,I have a question as follows:I have query from directory 1:\l /data/db_1And I will continue to query under directory 2 based on the resultfrom the above\l /data/db_2Now I have separate scripts for 1 and 2; but I find if I want tocombine the scripts together, the command\l /data/db_1 or \l /data/db_2 does not work.Do you guys have any idea?Thanks and have a nice weekend!