ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    PowerShell on Fedora 27

    IT Discussion
    linux powershell powershell on linux fedora 27
    4
    30
    4.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • dbeatoD
      dbeato @black3dynamite
      last edited by

      @black3dynamite said in PowerShell on Fedora 27:

      @dbeato said in PowerShell on Fedora 27:

      @black3dynamite said in PowerShell on Fedora 27:

      @dbeato said in PowerShell on Fedora 27:

      Powershell on Deepin is lacking every two commands is segmentation fault...

      Well to avoid errors when developing powershell scripts in Visual Studio Code on Linux. PowerShell needs to be installed.

      That's great, but in this case is just basic commands I am doing.

      Which basic commands? I would like to see what happens when its used in a script.

      Get-ChildrenItem
      black3dynamiteB 1 Reply Last reply Reply Quote 0
      • black3dynamiteB
        black3dynamite @dbeato
        last edited by

        @dbeato said in PowerShell on Fedora 27:

        @black3dynamite said in PowerShell on Fedora 27:

        @dbeato said in PowerShell on Fedora 27:

        @black3dynamite said in PowerShell on Fedora 27:

        @dbeato said in PowerShell on Fedora 27:

        Powershell on Deepin is lacking every two commands is segmentation fault...

        Well to avoid errors when developing powershell scripts in Visual Studio Code on Linux. PowerShell needs to be installed.

        That's great, but in this case is just basic commands I am doing.

        Which basic commands? I would like to see what happens when its used in a script.

        Get-ChildrenItem
        

        That should be Get-ChildItem

        dbeatoD 2 Replies Last reply Reply Quote 0
        • dbeatoD
          dbeato @black3dynamite
          last edited by

          @black3dynamite said in PowerShell on Fedora 27:

          @dbeato said in PowerShell on Fedora 27:

          @black3dynamite said in PowerShell on Fedora 27:

          @dbeato said in PowerShell on Fedora 27:

          @black3dynamite said in PowerShell on Fedora 27:

          @dbeato said in PowerShell on Fedora 27:

          Powershell on Deepin is lacking every two commands is segmentation fault...

          Well to avoid errors when developing powershell scripts in Visual Studio Code on Linux. PowerShell needs to be installed.

          That's great, but in this case is just basic commands I am doing.

          Which basic commands? I would like to see what happens when its used in a script.

          Get-ChildrenItem
          

          That should be Get-ChildItem

          Dang it, I am too tired to type commands... and you are spot on tonight....

          1 Reply Last reply Reply Quote 0
          • dbeatoD
            dbeato @black3dynamite
            last edited by

            @black3dynamite said in PowerShell on Fedora 27:

            @dbeato said in PowerShell on Fedora 27:

            @black3dynamite said in PowerShell on Fedora 27:

            @dbeato said in PowerShell on Fedora 27:

            @black3dynamite said in PowerShell on Fedora 27:

            @dbeato said in PowerShell on Fedora 27:

            Powershell on Deepin is lacking every two commands is segmentation fault...

            Well to avoid errors when developing powershell scripts in Visual Studio Code on Linux. PowerShell needs to be installed.

            That's great, but in this case is just basic commands I am doing.

            Which basic commands? I would like to see what happens when its used in a script.

            Get-ChildrenItem
            

            That should be Get-ChildItem

            But case in point, with correct command, then starting to type a filter see below:
            0_1514698105801_DeepinScreenshot_select-area_20171231002747.png

            black3dynamiteB 1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @black3dynamite
              last edited by

              @black3dynamite said in PowerShell on Fedora 27:

              @dbeato said in PowerShell on Fedora 27:

              Powershell on Deepin is lacking every two commands is segmentation fault...

              Well to avoid errors when developing powershell scripts in Visual Studio Code on Linux. PowerShell needs to be installed.

              Yeah, but PS doesn't run, it just crashes.

              1 Reply Last reply Reply Quote 0
              • black3dynamiteB
                black3dynamite @dbeato
                last edited by

                @dbeato said in PowerShell on Fedora 27:

                @black3dynamite said in PowerShell on Fedora 27:

                @dbeato said in PowerShell on Fedora 27:

                @black3dynamite said in PowerShell on Fedora 27:

                @dbeato said in PowerShell on Fedora 27:

                @black3dynamite said in PowerShell on Fedora 27:

                @dbeato said in PowerShell on Fedora 27:

                Powershell on Deepin is lacking every two commands is segmentation fault...

                Well to avoid errors when developing powershell scripts in Visual Studio Code on Linux. PowerShell needs to be installed.

                That's great, but in this case is just basic commands I am doing.

                Which basic commands? I would like to see what happens when its used in a script.

                Get-ChildrenItem
                

                That should be Get-ChildItem

                But case in point, with correct command, then starting to type a filter see below:
                0_1514698105801_DeepinScreenshot_select-area_20171231002747.png

                What happens with this command Get-ChildItem | Select-Object Desktop?

                dbeatoD 1 Reply Last reply Reply Quote 0
                • dbeatoD
                  dbeato @black3dynamite
                  last edited by

                  @black3dynamite said in PowerShell on Fedora 27:

                  @dbeato said in PowerShell on Fedora 27:

                  @black3dynamite said in PowerShell on Fedora 27:

                  @dbeato said in PowerShell on Fedora 27:

                  @black3dynamite said in PowerShell on Fedora 27:

                  @dbeato said in PowerShell on Fedora 27:

                  @black3dynamite said in PowerShell on Fedora 27:

                  @dbeato said in PowerShell on Fedora 27:

                  Powershell on Deepin is lacking every two commands is segmentation fault...

                  Well to avoid errors when developing powershell scripts in Visual Studio Code on Linux. PowerShell needs to be installed.

                  That's great, but in this case is just basic commands I am doing.

                  Which basic commands? I would like to see what happens when its used in a script.

                  Get-ChildrenItem
                  

                  That should be Get-ChildItem

                  But case in point, with correct command, then starting to type a filter see below:
                  0_1514698105801_DeepinScreenshot_select-area_20171231002747.png

                  What happens with this command Get-ChildItem | Select-Object Desktop?

                  It basically works, it is just random crashing. Powershell commands work, is the actual shell that drops.

                  black3dynamiteB dbeatoD 2 Replies Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller
                    last edited by

                    @black3dynamite said in PowerShell on Fedora 27:

                    Get-ChildItem | Select-Object Desktop

                    I just did a full update on Deepin and pwsh is able to run some commands today. Last week it could run nothing.

                    1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller
                      last edited by

                      Spoke too soon, it hadn't fully returned yet.

                      PS /home/scott> Get-ChildItem                                                                                                                                                         
                      
                      
                          Directory: /home/scott
                      
                      
                      Mode                LastWriteTime         Length Name                                                                                                                                
                      ----                -------------         ------ ----                                                                                                                                
                      d-----          12/5/17  12:47 AM                code                                                                                                                                
                      d-----         12/17/17  12:49 AM                Desktop                                                                                                                             
                      d-----          12/7/17  10:08 AM                Documents                                                                                                                           
                      d-----         12/16/17   5:42 PM                Downloads                                                                                                                           
                      d-----          9/13/17  10:22 AM                Music                                                                                                                               
                      d-----         12/17/17   7:37 PM                Nextcloud                                                                                                                           
                      d-----          9/13/17   4:26 PM                NTG                                                                                                                                 
                      d-----          8/26/17   2:51 PM                Pictures                                                                                                                            
                      d-----          8/26/17   2:51 PM                Templates                                                                                                                           
                      d-----          8/27/17   6:21 PM                Videos                                                                                                                              
                      ------         10/27/17  10:34 PM       10903425 ww_07122017.sql.bz2                                                                                                                 
                      ------         10/31/17  10:15 AM        6942801 ww_aamc3_out.txt                                                                                                                    
                      ------         10/27/17  10:34 PM        3409715 wwwroot.zip                                                                                                                         
                      
                      
                      PS /home/scott> Segmentation fault
                      
                      
                      1 Reply Last reply Reply Quote 0
                      • black3dynamiteB
                        black3dynamite @dbeato
                        last edited by

                        @dbeato said in PowerShell on Fedora 27:

                        @black3dynamite said in PowerShell on Fedora 27:

                        @dbeato said in PowerShell on Fedora 27:

                        @black3dynamite said in PowerShell on Fedora 27:

                        @dbeato said in PowerShell on Fedora 27:

                        @black3dynamite said in PowerShell on Fedora 27:

                        @dbeato said in PowerShell on Fedora 27:

                        @black3dynamite said in PowerShell on Fedora 27:

                        @dbeato said in PowerShell on Fedora 27:

                        Powershell on Deepin is lacking every two commands is segmentation fault...

                        Well to avoid errors when developing powershell scripts in Visual Studio Code on Linux. PowerShell needs to be installed.

                        That's great, but in this case is just basic commands I am doing.

                        Which basic commands? I would like to see what happens when its used in a script.

                        Get-ChildrenItem
                        

                        That should be Get-ChildItem

                        But case in point, with correct command, then starting to type a filter see below:
                        0_1514698105801_DeepinScreenshot_select-area_20171231002747.png

                        What happens with this command Get-ChildItem | Select-Object Desktop?

                        It basically works, it is just random crashing. Powershell commands work, is the actual shell that drops.

                        Ok. I haven't seen that happen to me yet. Except on maybe my Mac months ago.

                        1 Reply Last reply Reply Quote 0
                        • dbeatoD
                          dbeato @dbeato
                          last edited by

                          @dbeato said in PowerShell on Fedora 27:

                          @black3dynamite said in PowerShell on Fedora 27:

                          @dbeato said in PowerShell on Fedora 27:

                          @black3dynamite said in PowerShell on Fedora 27:

                          @dbeato said in PowerShell on Fedora 27:

                          @black3dynamite said in PowerShell on Fedora 27:

                          @dbeato said in PowerShell on Fedora 27:

                          @black3dynamite said in PowerShell on Fedora 27:

                          @dbeato said in PowerShell on Fedora 27:

                          Powershell on Deepin is lacking every two commands is segmentation fault...

                          Well to avoid errors when developing powershell scripts in Visual Studio Code on Linux. PowerShell needs to be installed.

                          That's great, but in this case is just basic commands I am doing.

                          Which basic commands? I would like to see what happens when its used in a script.

                          Get-ChildrenItem
                          

                          That should be Get-ChildItem

                          But case in point, with correct command, then starting to type a filter see below:
                          0_1514698105801_DeepinScreenshot_select-area_20171231002747.png

                          What happens with this command Get-ChildItem | Select-Object Desktop?

                          It basically works, it is just random crashing. Powershell commands work, is the actual shell that drops.

                          0_1514698455133_DeepinScreenshot_select-area_20171231003405.png

                          black3dynamiteB 1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller
                            last edited by

                            It Seg Faults while sitting idle!!

                            PS /home/scott> Get-ChildItem | Select-Object Desktop                                                                                                                                 
                            
                            Desktop
                            -------
                                   
                                   
                                   
                                   
                                   
                                   
                                   
                                   
                                   
                                   
                                   
                                   
                                   
                            
                            
                            PS /home/scott> Segmentation fault
                            
                            1 Reply Last reply Reply Quote 2
                            • black3dynamiteB
                              black3dynamite @dbeato
                              last edited by

                              @dbeato said in PowerShell on Fedora 27:

                              @dbeato said in PowerShell on Fedora 27:

                              @black3dynamite said in PowerShell on Fedora 27:

                              @dbeato said in PowerShell on Fedora 27:

                              @black3dynamite said in PowerShell on Fedora 27:

                              @dbeato said in PowerShell on Fedora 27:

                              @black3dynamite said in PowerShell on Fedora 27:

                              @dbeato said in PowerShell on Fedora 27:

                              @black3dynamite said in PowerShell on Fedora 27:

                              @dbeato said in PowerShell on Fedora 27:

                              Powershell on Deepin is lacking every two commands is segmentation fault...

                              Well to avoid errors when developing powershell scripts in Visual Studio Code on Linux. PowerShell needs to be installed.

                              That's great, but in this case is just basic commands I am doing.

                              Which basic commands? I would like to see what happens when its used in a script.

                              Get-ChildrenItem
                              

                              That should be Get-ChildItem

                              But case in point, with correct command, then starting to type a filter see below:
                              0_1514698105801_DeepinScreenshot_select-area_20171231002747.png

                              What happens with this command Get-ChildItem | Select-Object Desktop?

                              It basically works, it is just random crashing. Powershell commands work, is the actual shell that drops.

                              0_1514698455133_DeepinScreenshot_select-area_20171231003405.png

                              Maybe the difference is the OS. I'm using Fedora.

                              dbeatoD scottalanmillerS 2 Replies Last reply Reply Quote 1
                              • dbeatoD
                                dbeato @black3dynamite
                                last edited by

                                @black3dynamite said in PowerShell on Fedora 27:

                                @dbeato said in PowerShell on Fedora 27:

                                @dbeato said in PowerShell on Fedora 27:

                                @black3dynamite said in PowerShell on Fedora 27:

                                @dbeato said in PowerShell on Fedora 27:

                                @black3dynamite said in PowerShell on Fedora 27:

                                @dbeato said in PowerShell on Fedora 27:

                                @black3dynamite said in PowerShell on Fedora 27:

                                @dbeato said in PowerShell on Fedora 27:

                                @black3dynamite said in PowerShell on Fedora 27:

                                @dbeato said in PowerShell on Fedora 27:

                                Powershell on Deepin is lacking every two commands is segmentation fault...

                                Well to avoid errors when developing powershell scripts in Visual Studio Code on Linux. PowerShell needs to be installed.

                                That's great, but in this case is just basic commands I am doing.

                                Which basic commands? I would like to see what happens when its used in a script.

                                Get-ChildrenItem
                                

                                That should be Get-ChildItem

                                But case in point, with correct command, then starting to type a filter see below:
                                0_1514698105801_DeepinScreenshot_select-area_20171231002747.png

                                What happens with this command Get-ChildItem | Select-Object Desktop?

                                It basically works, it is just random crashing. Powershell commands work, is the actual shell that drops.

                                0_1514698455133_DeepinScreenshot_select-area_20171231003405.png

                                Maybe the difference is the OS. I'm using Fedora.

                                YEs, Deepin is based on Debian.

                                black3dynamiteB 1 Reply Last reply Reply Quote 0
                                • scottalanmillerS
                                  scottalanmiller @black3dynamite
                                  last edited by

                                  @black3dynamite said in PowerShell on Fedora 27:

                                  @dbeato said in PowerShell on Fedora 27:

                                  @dbeato said in PowerShell on Fedora 27:

                                  @black3dynamite said in PowerShell on Fedora 27:

                                  @dbeato said in PowerShell on Fedora 27:

                                  @black3dynamite said in PowerShell on Fedora 27:

                                  @dbeato said in PowerShell on Fedora 27:

                                  @black3dynamite said in PowerShell on Fedora 27:

                                  @dbeato said in PowerShell on Fedora 27:

                                  @black3dynamite said in PowerShell on Fedora 27:

                                  @dbeato said in PowerShell on Fedora 27:

                                  Powershell on Deepin is lacking every two commands is segmentation fault...

                                  Well to avoid errors when developing powershell scripts in Visual Studio Code on Linux. PowerShell needs to be installed.

                                  That's great, but in this case is just basic commands I am doing.

                                  Which basic commands? I would like to see what happens when its used in a script.

                                  Get-ChildrenItem
                                  

                                  That should be Get-ChildItem

                                  But case in point, with correct command, then starting to type a filter see below:
                                  0_1514698105801_DeepinScreenshot_select-area_20171231002747.png

                                  What happens with this command Get-ChildItem | Select-Object Desktop?

                                  It basically works, it is just random crashing. Powershell commands work, is the actual shell that drops.

                                  0_1514698455133_DeepinScreenshot_select-area_20171231003405.png

                                  Maybe the difference is the OS. I'm using Fedora.

                                  That's why we mentioned Deepin 🙂 It works on my Fedora, too.

                                  1 Reply Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller
                                    last edited by

                                    Here you go.... seg faults with zero activity...

                                    $ pwsh
                                    PowerShell v6.0.0-rc
                                    Copyright (c) Microsoft Corporation. All rights reserved.
                                    
                                    https://aka.ms/pscore6-docs
                                    Type 'help' to get help.
                                    
                                    PS /home/scott> Segmentation fault
                                    

                                    This consistent, on Deepin it seems to fault 100% of the time.

                                    1 Reply Last reply Reply Quote 1
                                    • black3dynamiteB
                                      black3dynamite @dbeato
                                      last edited by

                                      @dbeato said in PowerShell on Fedora 27:

                                      @black3dynamite said in PowerShell on Fedora 27:

                                      @dbeato said in PowerShell on Fedora 27:

                                      @dbeato said in PowerShell on Fedora 27:

                                      @black3dynamite said in PowerShell on Fedora 27:

                                      @dbeato said in PowerShell on Fedora 27:

                                      @black3dynamite said in PowerShell on Fedora 27:

                                      @dbeato said in PowerShell on Fedora 27:

                                      @black3dynamite said in PowerShell on Fedora 27:

                                      @dbeato said in PowerShell on Fedora 27:

                                      @black3dynamite said in PowerShell on Fedora 27:

                                      @dbeato said in PowerShell on Fedora 27:

                                      Powershell on Deepin is lacking every two commands is segmentation fault...

                                      Well to avoid errors when developing powershell scripts in Visual Studio Code on Linux. PowerShell needs to be installed.

                                      That's great, but in this case is just basic commands I am doing.

                                      Which basic commands? I would like to see what happens when its used in a script.

                                      Get-ChildrenItem
                                      

                                      That should be Get-ChildItem

                                      But case in point, with correct command, then starting to type a filter see below:
                                      0_1514698105801_DeepinScreenshot_select-area_20171231002747.png

                                      What happens with this command Get-ChildItem | Select-Object Desktop?

                                      It basically works, it is just random crashing. Powershell commands work, is the actual shell that drops.

                                      0_1514698455133_DeepinScreenshot_select-area_20171231003405.png

                                      Maybe the difference is the OS. I'm using Fedora.

                                      YEs, Deepin is based on Debian.

                                      Well technically its Debian (Unstable) 🙂

                                      1 Reply Last reply Reply Quote 0
                                      • ObsolesceO
                                        Obsolesce
                                        last edited by

                                        Works great on Fedora 27.

                                        dir alias is easier to type btw.

                                        1 Reply Last reply Reply Quote 1
                                        • 1
                                        • 2
                                        • 2 / 2
                                        • First post
                                          Last post