{
    "path": "/home/krm/dev/mimer-academia/computer/terminal/Questions/filesystem.sv.json",
    "s": "Ignor",
    "invert": true,
    "level": 1,
    "title": [
        "Om att använda filessytem"
    ],
    "status": "alpha",
    "author": [
        "krm"
    ],
    "created": {
        "year": 2025,
        "month": 11,
        "day": 7
    },
    "description": [],
    "statments": [],
    "comment": [],
    "cards": [
        {
            "level": 1,
            "title": [
                "🪧 En map med filer:"
            ],
            "description": [
                "En utskrift med komandot ",
                [
                    {
                        "form": "strong"
                    },
                    "tree"
                ],
                " av ett filsystem som vi utgår från i dessa uppgifter."
            ],
            "lang": "sh",
            "code": "Mammals/\n├── Bovid\n│   └── Antilope\n│       └── Black_Buck.jpg\n└── Primates\n├── Hominidae\n│   ├── Homininae\n│   │   ├── Bonobo\n│   │   │   ├── Bonobo-1.jpg\n│   │   │   ├── Bonobo-2.jpg\n│   │   │   ├── Bonobo-3.jpg\n│   │   │   ├── Bonobo-4.jpg\n│   │   │   ├── Bonobo-5.jpg\n│   │   │   └── Bonobo.jpg\n│   │   ├── Chimpanzees\n│   │   │   └── chimps.jpg\n│   │   ├── Gorilla\n│   │   │   ├── Gorillas-1.jpg\n│   │   │   ├── Gorillas-2.jpg\n│   │   │   ├── Gorillas-3.jpg\n│   │   │   └── Gorillas.jpg\n│   │   │   └── info.txt\n│   │   └── Humnas\n│   │       └── Linus.jpg\n│   └── Orangutan\n│       ├── Orangutan-1.jpg\n│       └── Orangutan.jpg\n└── NewWorldMonkey\n├── Lemurs\n│   ├── Gibbon\n│   │   └── Hylobates_lar_pair_of_white_and_black.jpg\n│   └── Lemur_catta.jpg\n└── SquirrelMonkey\n└── SaimiriSciureus.jpg",
            "statments": [],
            "comment": [
                "Besvara utifrån dessa följande uppgifter genom att skriva in rätt kommando. Vi utgår från att du följer instruktionerna så att du kommer \natt vara i rätt map. Kommandot ska vara det enklast tänkbara för en \nviss typ av uppgift."
            ],
            "cards": [
                {
                    "level": 2,
                    "index": 1,
                    "reflection": true,
                    "title": [
                        "Ge kommandot **cd Primates**"
                    ],
                    "description": [],
                    "statments": [],
                    "comment": []
                },
                {
                    "level": 2,
                    "index": 2,
                    "exactly": true,
                    "title": [
                        "Vilket kommando ska du skriva för att se filerna i mappen?"
                    ],
                    "description": [],
                    "statments": [
                        {
                            "description": [
                                "ls"
                            ]
                        }
                    ],
                    "comment": []
                },
                {
                    "level": 2,
                    "index": 3,
                    "exactly": true,
                    "title": [
                        "Vilken kommando ska du skriva för att se hur många filer det finns?"
                    ],
                    "description": [],
                    "statments": [
                        {
                            "description": [
                                "ls | wc -l"
                            ]
                        }
                    ],
                    "comment": []
                },
                {
                    "level": 2,
                    "index": 4,
                    "exactly": true,
                    "title": [
                        "Lista alla filer i \"NewWorldMonkey\"."
                    ],
                    "description": [
                        "ls NewWorldMonkey"
                    ],
                    "statments": [],
                    "comment": []
                },
                {
                    "level": 2,
                    "index": 5,
                    "exactly": true,
                    "title": [
                        "Ge kommandot \"cd Hominidae\""
                    ],
                    "description": [
                        "Gör nu ett kommando så att du går in i folder \"Homininae\" och sedan \"Bonobo\"."
                    ],
                    "statments": [
                        {
                            "description": [
                                "cd Homininae/Bonobo/"
                            ]
                        }
                    ],
                    "comment": []
                },
                {
                    "level": 2,
                    "index": 6,
                    "exactly": true,
                    "title": [
                        "Skriv kommandot för att lista alla filer i mappen \"Orangutan\"."
                    ],
                    "description": [],
                    "statments": [
                        {
                            "description": [
                                "ls ../../Orangutan/"
                            ]
                        }
                    ],
                    "comment": []
                },
                {
                    "level": 2,
                    "index": 7,
                    "exactly": true,
                    "title": [
                        "Skriv kommandot för att lista alla filer i mappen \"Gibbon\"."
                    ],
                    "description": [],
                    "statments": [
                        {
                            "description": [
                                "ls ../../../NewWorldMonkey/Lemurs/Gibbon/"
                            ]
                        }
                    ],
                    "comment": []
                },
                {
                    "level": 2,
                    "index": 8,
                    "exactly": true,
                    "title": [
                        "Skriv ut sökväg till den aktuella mappen."
                    ],
                    "description": [],
                    "statments": [
                        {
                            "description": [
                                "pwd"
                            ]
                        }
                    ],
                    "comment": []
                },
                {
                    "level": 2,
                    "index": 9,
                    "exactly": true,
                    "title": [
                        "Gå till mappen \"Mammals\"."
                    ],
                    "description": [],
                    "statments": [
                        {
                            "description": [
                                "cd ../../../.."
                            ]
                        }
                    ],
                    "comment": []
                },
                {
                    "level": 2,
                    "index": 10,
                    "exactly": true,
                    "title": [
                        "Kopiera bilden Linus.jpg till mappen Bonobo"
                    ],
                    "description": [],
                    "statments": [
                        {
                            "description": [
                                "cp Primates/Hominidae/Homininae/Humnas/Linus.jpg Primates/Hominidae/Homininae/Bonobo/"
                            ]
                        }
                    ],
                    "comment": []
                },
                {
                    "level": 2,
                    "index": 11,
                    "exactly": true,
                    "title": [
                        "Gå till mappen Primates/Hominidae/"
                    ],
                    "description": [
                        "Förflytta bilden Gorillas.jpg till mappen Humans"
                    ],
                    "statments": [
                        {
                            "description": [
                                "mv Homininae/Gorilla/Gorillas.jpg Homininae/Humnas/"
                            ]
                        }
                    ],
                    "comment": []
                },
                {
                    "level": 2,
                    "index": 12,
                    "exactly": true,
                    "title": [
                        "Ta bort filen som du nyss kopierade"
                    ],
                    "description": [],
                    "statments": [
                        {
                            "description": [
                                "rm Primates/Hominidae/Homininae/Bonobo/"
                            ]
                        }
                    ],
                    "comment": []
                },
                {
                    "level": 2,
                    "index": 13,
                    "exactly": true,
                    "title": [
                        "Skapa en symbolisk länk filen \"Gorillas.jpg\" till \"apa.jpg\" i din nuvarande map."
                    ],
                    "description": [],
                    "statments": [
                        {
                            "description": [
                                "ln -s Homininae/Gorilla/Gorillas.jpg ./apa.jpg"
                            ]
                        }
                    ],
                    "comment": []
                },
                {
                    "level": 2,
                    "index": 14,
                    "exactly": true,
                    "title": [
                        "Skriv innehållet i filen info.txt"
                    ],
                    "description": [],
                    "statments": [],
                    "comment": []
                }
            ],
            "kind": "question"
        }
    ],
    "kind": "questions"
}