in Linux by

What could be the problem when a command that was issued gave a different result from the last time it was used?

1 Answer

0 votes
by

One highly possible reason for getting different results from what seems to be the same command has something to do with case sensitivity issues. Since Linux is case sensitive, a command that was previously used might have been entered in a different format from the present one. For example, to lists all files in the directory, you should type the command ls, and not LS. Typing LS will either result in an error message if there is no program by that exact name exist or may produce a different output if there is a program named LS that performs another function.

Related questions

0 votes
asked Aug 31, 2019 in Linux by Robin
+1 vote
asked May 11, 2021 in Linux by rajeshsharma
0 votes
asked Aug 29, 2019 in Linux by Robin
...