LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-14-2023, 05:53 AM   #1
LEON71
Member
 
Registered: May 2018
Location: Canada
Distribution: Fedora 38 Workstation
Posts: 87

Rep: Reputation: Disabled
Alternative of Powershell or CMD application in Linux


Copying and pasting commands from a Windows Command Prompt or PowerShell application to a remote Fedora server can be difficult due to differences in the way that the two operating systems handle text. Windows uses a different set of control characters for text manipulation than Linux does, which can result in unexpected behavior when copying and pasting commands between the two environments.

Is there any alternative windows application that will work similarly to Linux terminal or maybe better?
 
Old 03-14-2023, 10:42 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,901

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
hm. windows is not linux and linux is not windows.
And actually the implementation/handling of clipboard is quite different. So this is not an easy case. Would be nice to explain what went wrong (exactly what keyboard or mouse events do you mean?) What did you try at all? (how can we suggest anything better if we don't know your issue?)
 
Old 03-14-2023, 10:50 AM   #3
LEON71
Member
 
Registered: May 2018
Location: Canada
Distribution: Fedora 38 Workstation
Posts: 87

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
hm. windows is not linux and linux is not windows.
And actually the implementation/handling of clipboard is quite different. So this is not an easy case. Would be nice to explain what went wrong (exactly what keyboard or mouse events do you mean?) What did you try at all? (how can we suggest anything better if we don't know your issue?)
Thanks for the reply. Actually, I was thinking if there is a user-friendly app that will be easier to use from windows 11 since I connect with the remote Fedora server on a daily basis from a windows machine. However, Powershell works for me so far.

Thanks
 
Old 03-14-2023, 10:54 AM   #4
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,614

Rep: Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554

GNU Bash runs on both, but OS-level commands will still differ.

However, it may be that you're actually asking for:

Ctrl-Insert = copy
Shift-Insert = paste
Shift-Delete = cut

 
1 members found this post helpful.
Old 03-14-2023, 03:55 PM   #5
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,461
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
Alternative of Powershell or CMD application in Linux

Here's an article which compares bash and Powershell:

https://linuxhint.com/powershell-bash-shell-scripting/
 
1 members found this post helpful.
Old 03-14-2023, 04:25 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,993

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
Windows has ways to integrate with linux but in the end you are needing to use commands in the native shell you have on Debian and any built in commands and alias's.
 
1 members found this post helpful.
Old 03-14-2023, 04:37 PM   #7
LEON71
Member
 
Registered: May 2018
Location: Canada
Distribution: Fedora 38 Workstation
Posts: 87

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rkelsen View Post
Here's an article which compares bash and Powershell:

https://linuxhint.com/powershell-bash-shell-scripting/
Thanks a lot!
 
  


Reply

Tags
linux, terminal



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: 25 Years of Slackware, PowerShell Snap, REAPER on Linux, Linux Geek Bundle | This Week in Linux 33 LXer Syndicated Linux News 0 07-27-2018 12:41 AM
LXer: Microsoft open-sources PowerShell for Linux, Macs. Repeat, Microsoft open-sources PowerShell for Linux LXer Syndicated Linux News 0 08-19-2016 03:50 AM
Issue sg_modes cmd at cmd line, want to see the cmd in binary form NuUser Linux - Newbie 1 03-28-2012 08:08 AM
CSH: "cmd >& file" or "cmd </dev/null >& file" stefanlasiewski Programming 1 09-08-2003 04:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration