General Knowledge Flashcards

1
Q

What is open source

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is version control

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Command to copy and paste on the terminal

A

Ctrl A+V

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the shell command

A

The shell command is the Linux command line interpreter.it provides an interface between the user and the kernel and executes programs called commands

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

GUI and CLI

A

Graphical user interface & Command line interface

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does “bash” stands for

A

Bourne again shell

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is bash

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What’s a terminal

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a pathname

A

A pathname is the route we take along the branches of the tree to get to the desired working directory we want.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

A pathname is divided into two which are_______ and ______

A

Absolute pathname & relative pathname

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is an absolute pathname

A

It begins with the root directory and follows it branch by branch until the path to the desired directory is completed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is a relative pathname

A

A relative pathname starts from the working directory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are file permissions

A

A file permission control the action that can be taken on a file.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Name the file permissions categories

A
  1. Owner
  2. Group
  3. Others
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

List the file permissions access type

A

1.read
2. Write
3. Execute
4. Delete

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

When you see “RWX” what does it stand for_____

A

Read, write and execute

17
Q

What command to list files in long format

A

Ls -l

18
Q

What am I to see when I list files in long format

A
  1. The file name
  2. The modification time
  3. Size in bytes
  4. Group
    5.owner
  5. File permissions
19
Q

ASCII stands for ____

A

American standard code for information interchange

20
Q

What are the commands that “less” will accept when viewing a text file

A
  1. Arrow up
  2. Arrow down
  3. G: got to the end of the text file
  4. 1G : go to the beginning of the text file
  5. /characters: search forward for an occurrence of the specified character
  6. n : repeat the previous search
  7. h : to display a complete list of less commands
    8 q : to quit it
21
Q

What is the command to be able to know what type of file this is ____

A

file text_name

22
Q

What is the full meaning of FHS

A

File system hierarchy standard

23
Q

What is a shebang

A

It is a character sequence consistening of a character sign(#) and an exclamation mark (!) at the beginning of a script.

24
Q

!/bin/sh___

#!/bin/bash_____
#!/usr/bin/pwsh___
#!/usr/bin/env python3 ___
#!/bin/false ___

A

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

25
Q

Chmod is used to

A

Modify the file access rights

26
Q

“Su” is for

A

Temporarily become the superuser and ‘sudo’ can be used to temporarily become the superuser

27
Q

What is “chown” for

A

Change file ownership

28
Q

What is “chgrp” used for

A

Change a files group ownership

29
Q

File permissions

A

On a Linux systems, each file and directory is a assigned access rights to owners l, the members of groups related users and every other person’s.
The rights can be assigned to read a file, write a file and execute a file

30
Q

What is the command used to changed the permission of a file or directory

A

Chmod

31
Q

What is echo

A

It is a build in shell command that prints out it’s text arguments on standard output.