linux - Other than the file extension and execution, how to determine if a file is a PowerShell script vs a Bash script?
问题描述
Other than checking the file extension, what is the best way to check if an arbitrary file is a PowerShell script or not on a linux platform?
解决方案
推荐阅读
- javascript - Javascript:mousemove 在画布点上绘制而不是线(带 alpha)
- python - 预测 keras 中的 conv1d 模型,该模型将句子中的单词索引作为输入
- c# - 带有 Apache 和反向代理的 Linux ASP.Net 核心
- sql-server-2008 - 在 SQL Server 中更新大表中的行的最快方法
- php - 如何在 JSON 数据上点赞
- c# - 将部分 XML 绑定为数据源
- jenkins - jenkins-io 和 jenkins-ci.org 中的不同 Jenkins 版本
- python - 将 pandas.read_sql_query 与 PostgreSQL 一起使用会返回 Empty DataFrame
- vue.js - 动态图片绑定vue js
- javascript - Javascript:获取用户名列表到控制台/文件