Skip to content
Magenaut

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

expect

Automating vncserver with expect not working as expected

August 9, 2022 by Magenaut

I thought of automating the part when i first run vncserver, since it ask for a password (and while i know there a flag to pass a passwd file, i prefer to generate a new one every time i need/want to):

Categories Q&A, Unix & Linux Tags bash, expect, vnc Leave a comment

script to automate scp in network

August 9, 2022 by Magenaut

I have a network full of Linux machines. In this network, I have a user as user1 with the password as password in all the machines.

Categories Q&A, Unix & Linux Tags expect, scripting, ssh Leave a comment

Commands leaking characters to bash

August 8, 2022 by Magenaut

While building a small expect script I noticed that, after executing the script, some characters were automatically on the input of bash. I have seen that on other programs before, but here I have something reproducable.

Categories Q&A, Unix & Linux Tags bash, expect, shell, stdin, stdout Leave a comment

spawn – command not found!

August 6, 2022 by Magenaut

I am using Mac OS X 10.9.4, following is my script to copy files from local machine to different host

Categories Q&A, Unix & Linux Tags bash, expect, shell-script Leave a comment

Recent Comments

  • silverplugins217 on How to add placeholder for contact form7 for dropdown?
  • Shreyas Ikhar on How to add a custom CSS class to core blocks in Gutenberg editor?
  • Magenaut on How to call function on timer ASP.NET MVC
  • Ebaad Uddin on How to call function on timer ASP.NET MVC
  • michealSmith07 on Is there a way to dynamically refresh the less command?

Tags

.net adobe-illustrator adobe-photoshop ajax arrays asp.net asp.net-core asp.net-mvc bash c# css database django eloquent express html java javascript jquery json laravel laravel-4 laravel-5 laravel-8 linux list mongodb mongoose mysql node.js npm pandas php python python-3.x react-hooks react-native react-router reactjs redux regex sql string typescript wordpress
© 2023 Magenaut • Built with GeneratePress