Cs-Web

View on GitHub

# this file contains the ans for the [pdf](./basic_commands_practise_all.pdf) above

## Answers

1. touch quest1.txt

2. touch {one,two.three}.txt

[3. echo "Hello World!" > quest3.txt](./3. echo "Hello World!" > quest3.txt)

> cat quest3.txt

4. tr aeiou AEIOU

> write anything here

5. tee quest5.txt

> type anything here

> and it goes to file as well

[6. mkdir -p "ktu/fisat/csea/student"](./6. mkdir -p "ktu/fisat/csea/student")

7. pwd

8. whereis bash

9. file <loction/u/got/above/for/bash>

10. nano quest10.c

> paste the code

[](./)

[#include](./#include)

void main(){

printf(“hello”);

}

[](./)

> gcc quest10.c

> ls -l ./a.out

> chmod +x ./a.out

> ls -l ./a.out

> ./a.out

11. file ./a.out

[12. echo "Hello World!"](./12. echo "Hello World!")

13. history

14. cd ../..

15. ls | wc -l

basic_commands_practise_all.pdf

README.md