Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
Lerntagbuch Hussam Moammar 1548394
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hussam Moammar
Lerntagbuch Hussam Moammar 1548394
Commits
e4a36893
Commit
e4a36893
authored
4 months ago
by
Hussam Moammar
Browse files
Options
Downloads
Patches
Plain Diff
Edit Woche 06.md
parent
9d36a46c
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Woche 06.md
+12
-12
12 additions, 12 deletions
Woche 06.md
with
12 additions
and
12 deletions
Woche 06.md
+
12
−
12
View file @
e4a36893
# Linux Shell Script
- Hello World & Permissions
# Linux Shell Script
## Vorlesung 11-29-2024
## Vorlesung 11-29-2024
...
@@ -124,16 +124,16 @@ Füge neue Pfade zum `PATH` hinzu, indem du ihn exportierst:
...
@@ -124,16 +124,16 @@ Füge neue Pfade zum `PATH` hinzu, indem du ihn exportierst:
$
export
PATH
=
"
$HOME
/bin:
$PATH
"
$
export
PATH
=
"
$HOME
/bin:
$PATH
"
```
```
## Ubung
## Ubung
11-29-2024
# Bash-Konfiguration (~/.bashrc)
#
# Bash-Konfiguration (~/.bashrc)
## 1. Sicherung der aktuellen Datei
##
#
1. Sicherung der aktuellen Datei
```
bash
```
bash
cp
~/.bashrc ~/.bashrc_backup
cp
~/.bashrc ~/.bashrc_backup
```
```
## 2. Aliase erstellen
##
#
2. Aliase erstellen
-
Zwei benutzerdefinierte Aliase hinzufügen:
-
Zwei benutzerdefinierte Aliase hinzufügen:
-
Beispiel:
-
Beispiel:
```
bash
```
bash
...
@@ -141,7 +141,7 @@ cp ~/.bashrc ~/.bashrc_backup
...
@@ -141,7 +141,7 @@ cp ~/.bashrc ~/.bashrc_backup
alias
gs
=
'git status'
alias
gs
=
'git status'
```
```
## 3. Optionale Aufgabe:
##
#
3. Optionale Aufgabe:
-
**Speicherung der PS1-Variable**
(enthält Informationen zur Eingabeaufforderung):
-
**Speicherung der PS1-Variable**
(enthält Informationen zur Eingabeaufforderung):
```
bash
```
bash
echo
$PS1
>
~/.ps1_backup
echo
$PS1
>
~/.ps1_backup
...
@@ -160,30 +160,30 @@ cp ~/.bashrc ~/.bashrc_backup
...
@@ -160,30 +160,30 @@ cp ~/.bashrc ~/.bashrc_backup
---
---
# Vim-Konfiguration (~/.vimrc)
#
# Vim-Konfiguration (~/.vimrc)
## 1. Sicherung der aktuellen Datei
##
#
1. Sicherung der aktuellen Datei
```
bash
```
bash
cp
~/.vimrc ~/.vimrc_backup
cp
~/.vimrc ~/.vimrc_backup
```
```
## 2. Farbschema ändern
##
#
2. Farbschema ändern
-
Beispiel:
-
Beispiel:
```
vim
```
vim
colorscheme
desert
colorscheme
desert
```
```
## 3. Zeilennummerierung aktivieren
##
#
3. Zeilennummerierung aktivieren
```
vim
```
vim
set
number
set
number
```
```
## 4. Syntax-Highlighting aktivieren
##
#
4. Syntax-Highlighting aktivieren
```
vim
```
vim
syntax
enable
syntax
enable
```
```
## 5. Drei weitere Anpassungen Ihrer Wahl:
##
#
5. Drei weitere Anpassungen Ihrer Wahl:
-
**Auto-Indentierung**
:
-
**Auto-Indentierung**
:
```
vim
```
vim
set
smartindent
set
smartindent
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment