Linux basics [1d]
Experiment and do something useful with the following commands. You might need to study the commands'
man pages and add parameters.
apt-cache search <text>
apt-get install <package-name>
pkill -f <partial-name>
Understand what you can do with the following configuration files:
Understand what the following shortcuts do in a terminal:
Understand access rights and ownership of files:
- What does "ownership" mean for files?
- Each file has 9 flags, 3 read, 3 write, and 3 executable flags. What do they mean?
- Write a simple bash script that prints a message. How can you execute it?
- Write the same script in ruby. What do you have to do to just call it from the command line without using the
rubycommand directly? Learn about the "shebang".