More accurate work with bash commands