ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. Tags
    3. terminal
    Log in to post
    • All categories
    • gjacobseG

      Windows Terminal: Runas

      IT Discussion
      • terminal windows terminal admin runas • • gjacobse
      5
      0
      Votes
      5
      Posts
      574
      Views

      stacksofplatesS

      @gjacobse said in Windows Terminal: Runas:

      @Obsolesce
      That didn't help either....
      465abf1b-b0c7-4e97-8d88-29df801bb63e-image.png

      Are you sure there isn't a policy from something blocking the execution of it?

    • 1

      Shift + PgUp/PgDn in terminal?

      IT Discussion
      • console terminal linux shell • • 1337
      3
      0
      Votes
      3
      Posts
      927
      Views

      1

      @eddiejennings said in Shift + PgUp/PgDn in terminal?:

      @pete-s said in Shift + PgUp/PgDn in terminal?:

      When you use Shift + PgUp/PgDn on a linux console you can scroll the screen buffer.

      Where does this behavior come from? Is it the shell, a utility on the server, is it the console client, is it the ssh client?

      It's not working for me using ssh (on windows) and I realized I have no clue where to start looking...

      Probably specific to the config of your terminal program, unless you’re truly talking about the console itself.

      I had to alter some key bindings in Gnome Terminal to get the desired behavior from the weechat key bindings.

      You were right. I was trying out Windows Terminal and running ssh inside. And shift+pgup/dn didn't work as expected.

      I looked at the Windows Terminal keybindings and the default was not what I wanted.

      So I added this under "actions" in the settings.json file:

      // Scrollback { "command": "scrollDown", "keys": "shift+down" }, { "command": "scrollDownPage", "keys": "shift+pgdn" }, { "command": "scrollUp", "keys": "shift+up" }, { "command": "scrollUpPage", "keys": "shift+pgup" },

      The added bonus is that shift+pgup/dn now also works with cmd.exe and PowerShell.

    • DustinB3403D

      OSX Terminal Serial Number

      IT Discussion
      • osx terminal details investigation query macos • • DustinB3403
      12
      2
      Votes
      12
      Posts
      1.1k
      Views

      scottalanmillerS

      @RojoLoco and that's what I appreciates about you RL.

    • DustinB3403D

      Solved Scripted visudo updates

      IT Discussion
      • sed visudo apple unix terminal shell zsh • • DustinB3403
      16
      0
      Votes
      16
      Posts
      1.4k
      Views

      DustinB3403D

      @stacksofplates said in Scripted visudo updates:

      @DustinB3403 said in Scripted visudo updates:

      Well I managed to get the file created, I had to use visudo to create a custom file with my edits.

      I'm testing it now to see if everything works.

      Really? It doesn't let you just sudo a file in the dump directory? I wonder how they are enforcing that?

      Yeah, not sure why it was having a hissy fit over it, but I've got a good working custom sudoer.d/god file now that can be used for what I have, and I can simply cp that into the appropriate folder and reset the perms on it (if required) to get everything working.

      Thanks for the help guys!

    • DustinB3403D

      Solved Unix Command line - Printer Details

      IT Discussion
      • osx unix terminal lpstat lpinfo lpadmin apple lpoptions • • DustinB3403
      12
      1
      Votes
      12
      Posts
      1.3k
      Views

      DustinB3403D

      @black3dynamite said in Unix Command line - Printer Details:

      @DustinB3403 said in Unix Command line - Printer Details:

      Here is the completed command.

      lpoptions -p <NAME> | grep -o "printer-make-and-model='Your Printer make and Model"

      That outputs the exact detail I needed!

      lpoptions -p SHCSL_209_ColorPrinter | sed -r "s/^.*(printer-make-and-model.*)'.*$/\1/g; s/'//g; s/printer-make-and-model=//g"

      This will remove all the unnecessary text, printer-make-and-model=, and the single quotes.

      Yeah I'm also able to just use lpoptions -p SHCSL_209_ColorPrinter | grep "'SHCSL_209_ColorPrinter'" and get what I need in a single line response.

    • popesterP

      Favorite (preferably free) terminal.

      IT Discussion
      • apple macos terminal cli command line • • popester
      20
      2
      Votes
      20
      Posts
      1.5k
      Views

      RamblingBipedR

      @scottalanmiller Yep, I just wanted to share the configuration I use as my daily driver because it makes working in the terminal that much more efficient. The OP mentioned wanting something that was a bit slicker and more powerful, and I think in addition to your choice of terminal, your choice of shell and other tools contributes to having a better experience. I prefer FISH for my shell, and tmux is my terminal multiplexor of choice. ZSH is another great alternative shell as well.

    • DustinB3403D

      Unsolved lpoptions - cups - OSX

      IT Discussion
      • osx cups printers administration remote terminal • • DustinB3403
      1
      0
      Votes
      1
      Posts
      522
      Views

      No one has replied

    • DustinB3403D

      WSL - Using Powershell how would you create multiple sessions

      IT Discussion
      • wsl windows ubuntu terminal • • DustinB3403
      2
      0
      Votes
      2
      Posts
      552
      Views

      black3dynamiteB

      New-PSSession -ComputerName Host1
      New-PSSession -ComputerName Host2

      Get-PSSession will show all sessions you created.

      Use Enter-PSSession to enter one of your opened session

    • scottalanmillerS

      Create a New User on macOS from the Terminal Command Line

      IT Discussion
      • mac osx macos apple command line cli terminal sam macos administration system administration macosx • • scottalanmiller
      4
      1
      Votes
      4
      Posts
      9.2k
      Views

      scottalanmillerS

      @justal said in Create a New User on macOS from the Terminal Command Line:

      @scottalanmiller Hi Scott, thanks for the post, unfortunately this works not on Mac OS X Mojave. I'm able to create a user but not able to login with this user account. It stucks after the login prozess. Is there any workaround?
      Thanks!

      I switched offices for a couple days to one where I'm on Ubuntu rather than my Mac. I'll look into it once I'm back to my Mac.

    • scottalanmillerS

      List All Users on macOS from Terminal Command Line

      IT Discussion
      • macos macosx mac command line cli sam macos administration terminal system administration • • scottalanmiller
      1
      2
      Votes
      1
      Posts
      888
      Views

      No one has replied

    • DustinB3403D

      Using Rsync to remotely backup Apple OSX User profiles

      IT Discussion
      • osx terminal rsync command line cli macos macosx mac • • DustinB3403
      6
      2
      Votes
      6
      Posts
      1.1k
      Views

      DustinB3403D

      Worth noting that using rsync worked very well, but there were issues with the Outlook profile on the existing user workstation and the end result.

      Not a huge issue for us as everything is stored in O365, but worth being mindful of if your email was hosted locally.

      Also because of username convention changes, I had to set the ownership of the user profile to match the new shortened name.

    • DustinB3403D

      Fedora CockPit (with KVM) Copy and Paste

      IT Discussion
      • cockpit fedora kvm terminal putty • • DustinB3403
      49
      1
      Votes
      49
      Posts
      5.1k
      Views

      DashrenderD

      @JaredBusch said in Fedora CockPit (with KVM) Copy and Paste:

      @FATeknollogee said in Fedora CockPit (with KVM) Copy and Paste:

      Honestly, this is all kinda silly.
      You are "creating" a problem that simply doesn't exist!!

      Cockpit terminal tab, Copy & paste in a Windows 10 vm works.
      I just tried it again in v1809 (OS Build 17763.107)

      No, he is not. Also, no, it does not "just work" as you say. If it did, the post would never have been made.

      I consistently have random issues using copy and paste into a web interface terminal. Both Cockpit and UNMS. Sometimes it works, sometimes it does not.

      I do it little enough, that i never care to toubleshoot it.

      I'll second this - The troubles in pasting into a web based console are real - and sometimes seemingly random.

      I am willing to blame Windows on this problem - but the problem is real.

    • 1 / 1