I’m new in here and it’s my first post.
I have a problem with Bash on Ubuntu on Windows. If I type “open (filename)” on Mac terminal, it opens the file with the right program but if I try to use it on Windows bash, it says: “Couldn’t find a file descriptor referring to the console”.
I have also tried xdg-open and gnome-open but none of them works. Can someone explain how to fix the issue and how open command works?
Thanks in advance!
Related Posts:
- “sed” command in bash
- Trying to use bash on Windows and got no installed distributions message
- How to enable Bash in Windows 10 developer preview?
- What are the functional differences between .profile .bash_profile and .bashrc
- How do I deal with a filename that starts with the hyphen (-) character?
- Bash: No such file or directory?
- Cannot connect to the Docker daemon at unix:/var/run/docker.sock. Is the docker daemon running?
- Why do you need to put #!/bin/bash at the beginning of a script file?
- apt-get error: Sub-process /usr/bin/dpkg returned an error code (1)
- error: ‘Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)’ — Missing /var/run/mysqld/mysqld.sock
- gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now
- error: ‘Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)’ — Missing /var/run/mysqld/mysqld.sock
- “E: Unable to locate package python-pip” on Ubuntu 18.04 [duplicate]
- Pass a password to ssh in pure bash
- “E: Unable to locate package python-pip” on Ubuntu 18.04 [duplicate]
- How do I use grep to search the current directory for all files having the a string “hello” yet display only .h and .cc files?
- Explaining the ‘find -mtime’ command
- How does “cat << EOF" work in bash?
- Pseudo-terminal will not be allocated because stdin is not a terminal
- WSL – GEDIT Unable to init server: Could not connect: Connection refused
- How to open some ports on Ubuntu?
- Extract file basename without path and extension in bash
- Given two directory trees, how can I find out which files differ by content?
- mv: cannot stat error : No such file or directory error
- Uncompress tar.gz file
- Pseudo-terminal will not be allocated because stdin is not a terminal
- curl: (6) Could not resolve host: google.com; Name or service not known
- ./configure : /bin/sh^M : bad interpreter
- “Unable to find remote helper for ‘https'” during git clone
- What is the difference between “#!/usr/bin/env bash” and “#!/usr/bin/bash”?
- -bash: fork: Cannot allocate memory
- Is there a “goto” statement in bash?
- scp from Linux to Windows
- Bash script: bad interpreter
- What is the difference between /etc/rc.local and ~/.bashrc?
- How to count lines in a document?
- What does `set -x` do?
- How to get the process ID to kill a nohup process?
- Unable to establish SSL connection upon wget on Ubuntu 14.04 LTS
- Telnet [Unable to connect to remote host: Connection refused]
- node.js: cannot find module ‘request’
- chmod: changing permissions of ‘my_script.sh’: Operation not permitted
- Terminal Multiplexer for Microsoft Windows – Installers for GNU Screen or tmux
- tar: add all files and directories in current directory INCLUDING .svn and so on
- What does set -e mean in a bash script?
- What does set -e mean in a bash script?
- wget returns “Unable to establish SSL connection”
- Gedit command not working in kali linux terminal
- Curl : connection refused
- How to install Android SDK on Ubuntu?
- How do I install chkconfig on Ubuntu?
- make -j 8 g++: internal compiler error: Killed (program cc1plus)
- “find: paths must precede expression:” How do I specify a recursive search that also finds files in the current directory?
- Bash script prints “Command Not Found” on empty lines
- List all mounts in Linux
- How to use sed to extract substring
- Bash export command
- How to edit gitignore file
- Pipe to/from the clipboard in a Bash script
- Linux Bash: Move multiple different files into same directory
- Adding a new entry to the PATH variable in ZSH
- How do I write stderr to a file while using “tee” with a pipe?
- How to include file in a bash shell script
- how to search for a directory from the terminal in ubuntu
- What does ‘bash -c’ do?
- bash sh – command not found
- How do I know the script file name in a Bash script?
- How can I sort du -h output by size
- How to run a command multiple times, using bash shell?
- Difference in sites-available vs sites-enabled vs conf.d directories (Nginx)?
- How do I prevent accidental rm -rf /*?
- How do I sleep for a millisecond in bash or ksh
- What is “-bash: !”: event not found”
- What’s the best way to check if a volume is mounted in a Bash script?
- Keeping a linux process running after I logout
- What useful things can one add to one’s .bashrc? [closed]
- How to add a timestamp to bash script log?
- Job scheduling using crontab, what will happen when computer is shutdown during that time?
- Colors in bash after piping through less?
- Linux command line best practices and tips?
- How to run command as user who has /usr/sbin/nologin as Shell?
- How to get pid of just started process
- What’s the reverse DNS command line utility?
- Can you have more than one ~/.ssh/config file?
- What is this IP address: 169.254.169.254?
- GPG does not have enough entropy
- df says disk is full, but it is not
- SSH from A through B to C, using private key on B [closed]
- Why don’t EC2 ubuntu images have swap?
- How to determine the hostname from an IP address in a Windows network?
- Heartbleed: how to reliably and portably check the OpenSSL version?
- swap partition vs file for performance?
- How can I fully log all bash scripts actions?
- Is there a proper way to clear logs?
- How to apply a filter to real time output of `tail -f `?
- How to remove invalid characters from filenames?
- zcat/gzcat works in linux, not on osx. general linux/osx compatibility
- What is the debian-sys-maint MySQL user (and more)?
- How should an IT department choose a standard Linux distribution?
- Command line program to test DHCP service