Convert 10010011 from binary to decimal
147
Convert 192 from decimal to binary
11000000
Convert 0X5AF3 to binary
101101011110011
What is the file permission of the following files
$ umask 0777; touch file1 ?
$ umask 0773; touch file2 ?
$ umask 0515; touch file3 ?
$ umask 0111; touch file4 ?
If I create a file called ‘myfile.bash’ and want only the owner to have read, write, and execute permissions and no other permissions, how would I run the chmod command? Give the entire syntax.
What is the default permission for directories and files?
What would the status result be if I ran the following command: % (test -n “hello” || mkdir foobar)
What would be the result if I ran the following command next: % cd foobar
What error message if any the following commands produce?
% true || cd foobar
% true && cd foobar