أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
Which of the following commands can be used to assure that a file 'myfile' exists? A. cp myfile /dev/null B. touch myfile C. create myfile D. mkfile myfile
A is correct and B is incorrect. Because touch command creates the file if it doesn't exist. But we want just check the file existance, not create a new one.
Hello Mohammed,
B.touch myfile->assure a 'myfile' exists