Navigation

    ML
    • Register
    • Login
    • Search
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Tags
    3. shell
    Log in to post

    • SOLVED VitalPBX setup script on Vultr
      IT Discussion • linux vultr scripting bash shell vitalpbx • • JaredBusch  

      5
      0
      Votes
      5
      Posts
      83
      Views

    • Cron GPG Scripts can't locate the Keyring
      IT Discussion • shell gpg • • wirestyle22  

      5
      0
      Votes
      5
      Posts
      49
      Views

      That seems to have fixed the issue
    • SOLVED Scripted visudo updates
      IT Discussion • unix apple shell terminal sed zsh visudo • • DustinB3403  

      16
      0
      Votes
      16
      Posts
      127
      Views

      @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!
    • nohup
      IT Discussion • linux bash shell nohup • • Emad R  

      6
      2
      Votes
      6
      Posts
      165
      Views

      This is what I do when I use nohup. I usually create a file with the current pid just in case I need to stop it. nohup wget 'https://example.com/fedora.iso' > wget_fedora.log 2>&1 & echo $! > wget_fedora_pid.txt kill -9 `cat wget_fedora_pid.txt` rm wget_fedora_pid.txt
    • Nu Shell, a New PowerShell-inspired Shell for Linux
      IT Discussion • linux shell posix nu shell • • scottalanmiller  

      5
      2
      Votes
      5
      Posts
      216
      Views

      @Francesco-Provino said in Nu Shell, a New PowerShell-inspired Shell for Linux: Nice, but why use this when we have the real PowerShell for Linux? Performance probably. And ease of use. And while PS is on Linux, does it process any Linux data in this way?
    • Tracking Down Ubuntu BASH Session Closing
      IT Discussion • linux ubuntu ssh bash shell ubuntu 16.04 ubuntu 18.04 openssh zsh • • scottalanmiller  

      45
      1
      Votes
      45
      Posts
      417
      Views

      @scottalanmiller said in Tracking Down Ubuntu BASH Session Closing: @matteo-nunziati said in Tracking Down Ubuntu BASH Session Closing: @scottalanmiller said in Tracking Down Ubuntu BASH Session Closing: If I use zsh, I'm good. If I enter BASH from zsh, I get kicked out after several seconds. Definitely is something to do with BASH. Stupid tryout: use bash and then enter zsh before being kicked out. Still out? To understand if it is the firing of bash itself or the stay in bash... No, the underlying bash remains until the ZSH closes. Same as if you were running top from it, for example. So basically bash is able to run long running jobs with your user... It's the interactivity with the shell to be broken... Meh. Sorry the thread is long, did you mention any test from zsh with: Bash <-- ok this kills the session Bash -i any difference??? Bash -l ??? bash --norc bash --noprofile From bashman page
    • SOLVED Scripting - How do you store your credentials and call them later?
      IT Discussion • shell script hashing credentials • • DustinB3403  

      79
      2
      Votes
      79
      Posts
      621
      Views

      P

      @IRJ I come mentally prepared with my powerful Crane!
    • OSX administrators who use Brew - Xcode Tools no longer included by default
      IT Discussion • apple scripting osx shell automation administration brew xcode • • DustinB3403  

      1
      1
      Votes
      1
      Posts
      106
      Views

      No one has replied

    • Enabling root SSH access for OSX
      IT Discussion • apple ssh system administration command line cli osx macos mac shell macos system administration • • DustinB3403  

      1
      2
      Votes
      1
      Posts
      354
      Views

      No one has replied

    • Managing Windows Local Users with PowerShell
      IT Discussion • windows powershell system administration command line cli shell sam windows administration windows administration • • scottalanmiller  

      14
      2
      Votes
      14
      Posts
      356
      Views

      Topic has been forked, please keep discussions of OS comparisons to a different thread.
    • Shell Speeds, Bash and PowerShell
      IT Discussion • powershell bash shell • • scottalanmiller  

      91
      0
      Votes
      91
      Posts
      1292
      Views

      ^^^ It's always hilarious when a scumbag scammer thinks their input is valuable.
    • OSX Shell Error Operation Not Permitted
      IT Discussion • security apple scripting bash osx shell troubleshooting brew quarantine • • DustinB3403  

      2
      2
      Votes
      2
      Posts
      205
      Views

      Just used this again today, as another script I have had this attribute. Not sure when the attribute was written to the script though. But it's working now. This is the full error. /bin/sh: bad interpreter: Operation not permitted
    • Find the character break - sh script
      IT Discussion • apple osx shell error shell scripting • • DustinB3403  

      28
      0
      Votes
      28
      Posts
      976
      Views

      @marcinozga said in Find the character break - sh script: @DustinB3403 you need to source .bash_profile after changing it, so bash picks up modified file. Either source ~/.bash_profile or . ~/.bash_profile Thanks for that, I was actually sorting out that bit as you posted. Short of setting up a few printers via the script I'm back in working order.
    • What does the >> cursor mean in Powershell after typing a command?
      IT Discussion • powershell shell • • Fredtx  

      6
      1
      Votes
      6
      Posts
      616
      Views

      @scottalanmiller That did the trick. Didn't even cross my mind. Thanks!
    • Snipe-IT Shell Commands and Backing up
      IT Discussion • backup sql shell snipe-it cron • • DustinB3403  

      4
      1
      Votes
      4
      Posts
      1706
      Views

      @hobbit666 no this is just for the mysql database.
    • Linux FAQ: Why Do We Need a Dot Slash Before a Local Command
      IT Discussion • linux security unix sam linux administration bash shell linux system administration zsh ksh tcsh csh • • scottalanmiller  

      1
      0
      Votes
      1
      Posts
      1163
      Views

      No one has replied

    • Using DSH, the Distributed Shell, on Linux
      News • linux command line shell tecmint dsh • • mlnews  

      4
      4
      Votes
      4
      Posts
      1392
      Views

      @Kelly said in Using DSH, the Distributed Shell, on Linux: Hmm, this might be an interesting alternative to cssh since it doesn't mirror keyboard input, but merely runs the same command. I'll have to see if we can adapt this for running our auditing scripts. Yeah, a little bit more robust there
    • Log all users activity on server
      IT Discussion • linux shell logging • • Ambarishrh  

      19
      0
      Votes
      19
      Posts
      2528
      Views

      @Ambarishrh said: @scottalanmiller said: @Ambarishrh said: I am also checking https://www.graylog.org/ as this seems to be pretty famous and looks like a good alternative to ELK if anyone else looking at it. Graylog is built on the same foundation as ELK. They are both log ingesting and interfaces applied on top of Elasticsearch. Have you tried Graylog? No, on my long list of things to build.
    • Linux: Shells
      IT Discussion • linux unix sam linux administration bash command line shell zsh fish csh tcsh ksh ash • • scottalanmiller  

      18
      6
      Votes
      18
      Posts
      3766
      Views

      @thwr Thanks
    • Looking for a new Linux Command Line Shell? Try FISH
      News • linux unix command line shell fish • • scottalanmiller  

      4
      2
      Votes
      4
      Posts
      1115
      Views

      @nadnerB said: Is it an entirely new set of commands or is it just prettier than BASH? What commands are in BASH? BASH has hardly any commands at all. I'm sure they kept using for and the dot and such.
    • Making a Simple Ping Test Script
      IT Discussion • scripting bash script shell ping • • scottalanmiller  

      1
      3
      Votes
      1
      Posts
      871
      Views

      No one has replied

    • Soup Up Your Commandline with PowerLine on Fedora
      News • linux fedora command line shell fedora magazine powerline • • mlnews  

      7
      1
      Votes
      7
      Posts
      2329
      Views

      It works pretty good. The colors are awful to me, lol... So I'm going to figure out how to tweak the theme a tad. VIM status line is nice, as-is the screen and tmux status lines as well.
    • Using GREP to Find an IP Address
      IT Discussion • linux unix bash shell regex grep regular expression • • scottalanmiller  

      1
      3
      Votes
      1
      Posts
      1160
      Views

      No one has replied

    • Calling Complex System Commands from Python
      Developer Discussion • bash python shell python 3 • • scottalanmiller  

      9
      2
      Votes
      9
      Posts
      3056
      Views

      @Alexis Another reason I like single quotes for my strings, less escape confusion
    • Byobu for Terminal Sharing
      IT Discussion • linux unix bash command line shell byobu • • Reid Cooper  

      2
      1
      Votes
      2
      Posts
      1223
      Views

      Looks pretty interesting, will have to try that out. Session sharing can be super useful for UNIX.
    • Taking BASH Scripting to the Next Level
      IT Discussion • linux scripting bash shell shell scripting • • scottalanmiller  

      2
      2
      Votes
      2
      Posts
      1124
      Views

      Interesting approach. I would not have thought of looking at BASH that way. Thanks.
    • How to Find a File by MD5 Checksum in UNIX
      IT Discussion • linux unix bash shell checksum md5 • • scottalanmiller  

      1
      0
      Votes
      1
      Posts
      810
      Views

      No one has replied

    • Xiki Shell
      IT Discussion • linux bash cli shell zsh xiki • • scottalanmiller  

      2
      0
      Votes
      2
      Posts
      1282
      Views

      Did you watch the video? Looks really neat.
    • Terminal Themes
      IT Discussion • linux unix bash shell • • scottalanmiller  

      2
      0
      Votes
      2
      Posts
      1116
      Views

      This is really neat, here's my favorite for Putty-people: https://puttytray.goeswhere.com/