首页 > 系统相关 >Linux VS Powershell by ChatGPT

Linux VS Powershell by ChatGPT

时间:2023-04-11 22:37:07浏览次数:33  
标签:Get Process powershell VS file ChatGPT txt com Powershell

Command Linux Example PowerShell Example
dstat dstat -ta Get-Counter '\Processor(_Total)% Processor Time'
sar sar -u 1 10 Get-Counter '\Processor(_Total)% Processor Time'
slurm sbatch script.sh Start-Process powershell.exe -ArgumentList "-File script.ps1"
vim vim file.txt powershell_ise
emacs emacs file.txt powershell_ise
screen screen -S sessionname Start-Process powershell.exe
dtach dtach -c /tmp/myapp.sock myapp Start-Process powershell.exe
tmux tmux new-session -s mysession Start-Process powershell.exe
byobu byobu new-session -s mysession Start-Process powershell.exe
multitail multitail -f /var/log/syslog Get-Content -Path "C:\Logs\Application.log" -Tail 10 -Wait
tpp tpp file.txt Out-File -FilePath "file.txt" -Encoding "UTF8"
xargs echo "file1.txt file2.txt" | xargs rm Get-ChildItem | ForEach-Object { Remove-Item $_.FullName }
parallel parallel "command {}" ::: file1.txt file2.txt ForEach-Object { Invoke-Expression $_ }
Invoke-Expression "command $_"
duplicity duplicity /backup scp://[email protected]/backup robocopy "C:\Source" "C:\Destination" /E /COPYALL
rsyncrypto rsyncrypto -r /source /destination robocopy "C:\Source" "C:\Destination" /E /COPYALL
nethack nethack -
slash'em slash'em -
lftp lftp ftp.example.com -
ack ack 'searchterm' Select-String -Path "C:\Logs\Application.log" -Pattern "searchterm"
calcurse calcurse -
remind + wyrd remind file.rem -
newsbeuter newsbeuter -
rsstail rsstail -u https://example.com/feed.xml Invoke-WebRequest -Uri "https://example.com/feed.xml"
powertop powertop -
htop htop Get-Process
iotop iotop Get-Process
ttyrec ttyrec filename -
ipbt ipbt filename -
rsync rsync -avz source_directory/ destination_directory/ Copy-Item -Path C:\source_directory -Destination C:\destination_directory -Recurse
mtr mtr google.com Test-NetConnection google.com -TraceRoute
socat socat -d -d TCP-LISTEN:8080,fork TCP:example.com:80 -
netpipes cat file|netcat localhost 1234 -
iftop iftop -n Get-NetTCPConnection
iptraf iptraf-ng -
siege siege -c 100 -r 10 -f urls.txt Invoke-WebRequest -Uri (Get-Content urls.txt) -MaximumRedirection 0 -UseBasicParsing
tsung tsung -f tsung.xml start -
ledger ledger balance -
taskwarrior task list -
curl curl -O https://example.com/file.txt Invoke-WebRequest -Uri https://example.com/file.txt -OutFile file.txt
rtorrent rtorrent -
aria2 aria2c file.zip -
ttytter ttytter -ssl -daemon -ansi -
earthquake earthquake -
vifm vifm -
ranger ranger -
cowsay cowsay "Hello, world!" -
sl sl -

标签:Get,Process,powershell,VS,file,ChatGPT,txt,com,Powershell
From: https://www.cnblogs.com/selinachen/p/17307975.html

相关文章

  • 极速免费部署,国内可用 ChatGPT 网页版
    极速免费部署,国内可用ChatGPT网页版我的星球微信群虽然接入了ChatGPT,但是依然有星友反馈说艾特机器人太麻烦,有些问题也不方便公开。昨天充值api成功了,终于有底气把网页版开放给星友了。这里就把部署方式和使用方法介绍给大家吧其实简单到离谱,这个开源项目里点击Deploy就行......
  • OpenAI Translator Bob Plugin Bob for Mac上一款基于ChatGPT全局翻译、润色、语法修
    OpenAITranslatorBobPlugin一款可以在Bob进行即时翻译的插件。它基于OpenAI的GPT系列模型,能够提供高质量、准确的翻译服务。该插件支持多种语言的翻译,包括中文、英文、法语、德语、日语等。用户只需在页面中选中需要翻译的文本,然后点击插件图标即可进行翻译。此外,该插件......
  • 【总结】一些已内置不用再下载的vscode插件
    使用vscode进行开发时,不要盲目下载插件。下面本篇文章就来给大家总结分享一些不要再下载的vscode插件,希望对大家有所帮助!vscode好多插件都已经内置了,但是还是有很多憨批不知道,还在傻傻的推荐这些插件来坑萌新。1、AutoRenameTag这个插件是在写html标签的时候可以重命名标签......
  • ChatGPT web网站
    云服务器外国云服务器,LinuxDebian系统切换到root账户sudosu然后执行以下命令复制一份网站的模板:gitclonehttps://github.com/Chanzhaoyu/chatgpt-web.gitcdchatgpt-web安装依赖安装nodenode需要18或以上的版本执行以下命令:#安装nodejsaptinstallnodejs#......
  • 企业如何建立自己的垂直领域ChatGPT
     ChatGPT的泛用性极高,上知天文,下通地理,参考古今,博稽中外,几乎无所不知,无所不晓。但如果涉及垂直领域的专业知识点,ChatGPT难免也会有语焉不详,闪烁其词的毛病,本次我们将特定领域的学习材料“喂”给ChatGPT,让它“学习”后再来回答专业问题。专业领域语料问题所谓专业领域语......
  • 如何使用Alpaca-LoRA来微调ChatGPT这样的模型?
    原文标题:HowtouseAlpaca-LoRAtofine-tuneamodellikeChatGPT原文地址:https://replicate.com/blog/fine-tune-alpaca-with-lora?continueFlag=4ecae39885197a5c008faabbefb5c824如何使用Alpaca-LoRA来微调ChatGPT这样的模型?低秩自适应(LoRA)是一种微调模型的技术,它比以......
  • vscode 使用浏览器调试
    launch.json{"version":"0.2.0","configurations":[{"type":"node","request":"launch","name":"node",......
  • chatgpt- httppost、get请求示例
    接口数据同步既可以使用POST请求,也可以使用GET请求。一般情况下,使用POST请求更安全,因为POST请求将数据放在请求体中,不会在URL中暴露数据,而GET请求将数据放在URL中,容易被拦截和篡改。以下是使用Java代码实现POST请求和GET请求的示例:使用POST请求同步数据importjava.io.Buffer......
  • Studio 3T 2023.3 (macOS, Linux, Windows) - MongoDB 的专业 GUI、IDE 和 客户端,现在
    TheprofessionalGUI,IDEandclientforMongoDB请访问原文链接:https://sysin.org/blog/studio-3t-2023/,查看最新版。原创作品,转载请保留出处。作者主页:sysin.orgStudio3T,MongoDB的专业GUI、IDE和客户端适用于MongoDB的所有IDE、客户端和GUI工具——在Atlas......
  • 用ChatGPT问.NET的相关问题,.NET工程师的前景不错
    小编最近费了九牛二虎之力注册了一个ChatGPT账号,今晚就给大家小牛试刀一下,问一下关于.NET的问题,看看ChatGPT的AI功能具体如何?一、C#跟其它语言比较的优势回答:C#是一门编程语言,它是为Microsoft的.NETFramework设计的。它具有以下优势:强类型语言:C#是一门强类型语言,这意味......