General Knowledge Flashcards
(31 cards)
What is open source
Open source is a term that originally referred to open source software (OSS). Open source software is code that is designed to be publicly accessible—anyone can see, modify, and distribute the code as they see fit
What is version control
version control is a class of systems responsible for managing changes to computer programs, documents, large web sites, or other collections of information. Version control is a component of software configuration management.
Command to copy and paste on the terminal
Ctrl A+V
What is the shell command
The shell command is the Linux command line interpreter.it provides an interface between the user and the kernel and executes programs called commands
GUI and CLI
Graphical user interface & Command line interface
What does “bash” stands for
Bourne again shell
What is bash
Bash is an enhanced version of the original unix shell program which acts as the shell program.
Bash was designed by (Steven Bourne)
We have other shell programs available for Linux systems such as ksh, tcsh, and zsh.
What’s a terminal
A terminal is a program called a terminal emulator…it opens a window that lets you interact with the shell. There are a lot of different terminal emulator we can use on the Linux distribution.
What is a pathname
A pathname is the route we take along the branches of the tree to get to the desired working directory we want.
A pathname is divided into two which are_______ and ______
Absolute pathname & relative pathname
What is an absolute pathname
It begins with the root directory and follows it branch by branch until the path to the desired directory is completed.
What is a relative pathname
A relative pathname starts from the working directory.
What are file permissions
A file permission control the action that can be taken on a file.
Name the file permissions categories
- Owner
- Group
- Others
List the file permissions access type
1.read
2. Write
3. Execute
4. Delete
When you see “RWX” what does it stand for_____
Read, write and execute
What command to list files in long format
Ls -l
What am I to see when I list files in long format
- The file name
- The modification time
- Size in bytes
- Group
5.owner - File permissions
ASCII stands for ____
American standard code for information interchange
What are the commands that “less” will accept when viewing a text file
- Arrow up
- Arrow down
- G: got to the end of the text file
- 1G : go to the beginning of the text file
- /characters: search forward for an occurrence of the specified character
- n : repeat the previous search
- h : to display a complete list of less commands
8 q : to quit it
What is the command to be able to know what type of file this is ____
file text_name
What is the full meaning of FHS
File system hierarchy standard
What is a shebang
It is a character sequence consistening of a character sign(#) and an exclamation mark (!) at the beginning of a script.
!/bin/sh___
#!/bin/bash_____
#!/usr/bin/pwsh___
#!/usr/bin/env python3 ___
#!/bin/false ___
1.Bourne shell
2. Bash shell
3. Power shell
4. With python interpreter using the env program search path to find it
5. Do nothing