basic terminal command flow