https://github.com/osoco/exercise-linux-intro
Some exercises to practice with the Linux CLI.
https://github.com/osoco/exercise-linux-intro
Last synced: 3 months ago
JSON representation
Some exercises to practice with the Linux CLI.
- Host: GitHub
- URL: https://github.com/osoco/exercise-linux-intro
- Owner: osoco
- License: gpl-3.0
- Created: 2019-07-30T13:44:34.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-30T14:29:58.000Z (almost 7 years ago)
- Last Synced: 2025-03-05T17:36:11.584Z (over 1 year ago)
- Size: 15.6 KB
- Stars: 2
- Watchers: 9
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Exercise: Intro to Linux CLI
Some exercises to practice with the Linux CLI.
## Exercise 1
Run Firefox in background.
## Exercise 2
Put Firefox in foreground.
## Exercise 3
"Kill" Firefox.
## Exercise 4
Obtain a list of the first 3 files in "exercise4" folder, in alphabetical order.
## Exercise 5
Change the permissions of "exercise5/secret.txt" so that only the owner group can read it.
## Exercise 6
Change the order of the third and fourth fields in "exercise6/users.csv".
## Exercise 7
Create "exercise7/new-users.csv" after discarding the last field (and the header altogether) of "exercise7/users.csv".
## Exercise 8
In one terminal, write contents to "exercise8/write-to-me.txt". In another terminal, display the contents of that file, as they are written.
## Exercise 9
Choose any process currently running, and find out which directory it was launched from.
## Exercise 10
Use ls and tr to obtain transform the names of the files in "exercise10" to uppercase.
## Exercise 11
List all files in exercise11 and replace all spaces with underscores in their names.
## Exercise 12
Obtain the list of applications identified by the ports they use.
## Exercise 13
Take the list from Exercise 12 and sort it alphabetically.
## Exercise 14
Take the list from Exercise 13 and remove duplicates.