Advanced Search
Search Results
154 total results found
Linux - Misc
Godmode
Creating SSH-key
To generate an SSH-key, enter the following command on the "home" terminal: ssh-keygen -t rsa -b 4096 -t stands for type and this determines the type of key 2. -b stands for bits. This can be used to determine the length of the key. Saving the SSH-key Enter...
Mount Options
Git
How to mount a hard disk as read-only from the terminal
You do not mount '''/dev/sda''', that refers to the entire disk. You mount '''/dev/sda1''' or whatever partition you want. Make a mount point, call it anything you like. sudo mkdir /media/2tb Mount as Read Only sudo mount -o ro /dev/sda1 /media/2tb When your...
Workstation Backup via Git
Author: https://codevoid.de/
Operating Systems
Mount SSH / SSHFS / SFTP
sudo sshfs -o uid=1000 -o gid=1000 -o allow_other user@remotehost:/path/to/folder/ /path/to/local/dir
Debian
Linklists
Workstation Backup via Git
He does his configuration Management sice years with git and without Symlinks. His Solution is more than simple: create an empy bare git repo git init --bare $HOME/.cfg whith this Step you hace a repo inside your home directory $HOME/.cfg . Inside there are l...
OpenBSD
Mirror
Apt-usage
Install package apt-get install <packagename> search package apt-cache search <packagename> or <packagedescription> remove package apt-get remove <packagename> to remove but letting configfiles untouched apt-get purge <packagename> to remove with configfiles a...
Proxmox
Cyberpunk etc.
Create and restore apt-package-list
you can use this list for example to install all your apt packages on another machine, for example if you migrage or want to start over on a fresh installation dpkg --get-selections | awk '$2 == "install" {print $1}' > packages.list.save Restore your apt-pack...