9651 shaares
  
  
13 liens privés
13 liens privés
        2021 résultats
        
        
          
          taggé
          
              
                
                  Doc
                
              
          
        
        
        
      
    Comment démarrer un petit projet rust en ligne de commande par l'exemple.
Documentation complête sur le langage rust.
Monter un répertoire distant via SSH
sshfs -o nonempty $user@$distant_machine:/home/$user/baz /mnt/$local_dir_of_distant_baz
You can add the following line to /etc/fstab:
sshfs#$user@$distant_machine:/home/$user/baz /mnt/$local_dir_of_distant_baz fuse defaults,users,noauto,async,noatime,allow_other 0 0
To simply use the mount command.
Passer des commandes dès le lancement de vim.
vim +356 +s/toto/titi +wq $file.txt (1)vim starts, loads the file, go to the 356th line, change the 'toto' occurence into 'titi', saves and quits.
Déduire la clé SSH publique d’une clé SSH privée.
ssh-keygen -y -f ~/.ssh/id_rsa > ~/.ssh/id_rsa.pub