Hot answers tagged

13

Yes, this is possible in a few different ways but you will need an X window server for Windows. Some options of a X windows server are XManager, XMing and MobaXterm. Once you have an X server running on Windows you can use PuTTY to connect to your host after you have set the configuration parameters: Connection/SSH/X11 Enable X11 forwarding X display ...


11

Quoting "${build}" prevents word splitting, so it has the same effect here as writing "gulp build" (with quotes), which would search for an executable called gulp build with a space inside the name; and not as writing gulp build, which executes gulp with a build argument. Concluding, the last line of your script should be: ${build}


10

To answer that, young Padawan, you merely have to consult the writings of those who were working on Unix when Tyrannosaurus Rex roamed a still-cooling planet. Deliberate upon the palimpsest so humbly offered by a sage of those halcyon dream-time days, one Eric Raymond. Verily shall his great pièce-de-résistance, "The Art of Unix Programming", enlighten the ...


7

I recommend to create a dedicated user for that share and specify it in force user. Create a user (shareuser for example) and set the owner of everything in the share folder to that user: adduser --system shareuser chown -R shareuser /path/to/share Then add force user and permission mask settings in smb.conf: [myshare] path = /path/to/share writeable = ...


7

Do not quote "${build}". As it expects in such a case gulp build command (with a space inside) and reports rightfully such command does not exist. Execute simply by ${build}. Then shell will treat it as a command and arguments. myProject="../myProject/" build="gulp build" cd "${myProject}" pwd ${build}


6

It appears like the empty lines contain an invisible (unprintable) character, and the server is trying to run it as if it were the name of a command; hence the error : not found [No such file or directory]. Delete the empty lines or ensure they're really empty. Edit: OP's comment confirms that it is indeed the case, as the code was written under Windows. On ...


5

You can save a file in Notepad++ using "unix" line-endings. It is a menu-selection. See for example How to avoid DOS line endings in Windows tools Change EOL on multiple files in one go Can I convert file format in Notepad++ ?


5

If you're using ntfs-3g to mount your NTFS filesystem, the windows_names option will prevent files with problematic names from being created: ntfs-3g -o windows_names ...


4

Yes, as I have done this before, but with Ubuntu-based distros connected to Windows Vista. However this should still work with Windows 10. This is called a direct ethernet connection. There are a few steps to this: Windows, p1 check current IP for example Start, cmd to open a terminal, run ipconfig write down the current IP(s) to compare later Both ...


4

You can use some recovery distribution, try to choose from this link for example. I'm personally using SystemRescueCD, but I have install it on the USB stick. I think, that other distros can be installed on USB stick, too. Please check it on the projects' websites.


3

There are multiple versions of RDP protocol: original 4.0, which is a clone of ITU-T T.128 protocol 5.0 - which is still used by rdesktop (and not even fully) 5.1, 5.2, 6.0, 6.1, 7.0, 8.1 and 8.1 As you can imagine, each new version of RDP is better, not only by introducing new features, but also by further improving performance and overall user ...


3

Firstly you shoud check if it hits the storage performance limit on either Windows or Ubuntu. If E: on Windows is a USB attached drive or memory card, 8MB/s is likely possible. Otherwise SSH encryption might be bottleneck. Try and see with lightweight cipher like arcfour. scp -o Cipher=arcfour -rv /cygdrive/e/plex caleb@192.168.1.126:/home/caleb/Desktop ...


3

I might unfortunately decide to use Windows as the host operating system so that my non-Unixy colleagues would not be at a disadvantage - being able to leverage their existing knowledge - and to use the Windows application as needed without waiting for the Linux operations to cease. I would install Linux (RHEL probably, given the choices) in a virtual ...


3

Reviving an old threat, however I stumbled across this while doing my own search. So rather than make a new thread - Here's what I found: http://babun.github.io/ The core of Babun consists of a pre-configured Cygwin. Cygwin is a great tool, but there’s a lot of quirks and tricks that makes you lose a lot of time to make it actually 'usable'. Not ...


3

As I commented, the (NTFS) file system was dirty, as the error message was saying. So checking it (on Windows) with a chkdsk command (or the Windows equivalent of fsck) -to clean it- then rebooting Linux could be enough. If you absolutely need Windows with some data shared with Linux, you could consider using an Ext4 (or Ext3) file system (shared with ...


3

You can use "Remote Desktop Viewer" and connect using RDP protocol to windows machine (you need to allow this on windows side). You can't do this using ssh, since windows is not running sshd server nor X11 client by default.


3

I would suggest using FAT32. The reason is its usage on USB flash drives. Everybody uses USB flash drives, so every OS will support this file system. Of course many OS claim to support so many file systems, but this is the one foreign file system, which used all the time, so if there are problems they will soon be known and fixed. The one disadvantage of ...


3

Hi if you want to use the putty like use Openssh with -x you have to install XMING on your windows machine . it became like some sort of server then you have to config you putty to forward X11 of you ssh connection over this server Download Xming You can use this tutorials


3

Solution Using dos2unix solved the problem. $ dos2unix patterns.txt dos2unix: converting file /home/miguel/patterns.txt to Unix format ... $ file patterns.txt /home/miguel/patterns.txt: ASCII text And now grep -f works again. $ echo 'sandbox/test/script.py' | grep -G -f patterns.txt sandbox/test/script.py Hope this solution helps someone out with the ...


3

Unfortunately, somewhere on the way, you decided to encrypt your home directory, so basically, you need to restore from your most current system back-up. Sorry to be the harbinger of bad news


3

since kali 1.6 until kali 2.0 (sana) , i am pretty sure that kali on usb gives errors in most of cases ! except if you created your live usb using DD on a linux box. sudo dd if=/path/to/kali.iso of=/dev/sdX i can't tell you that if you're installing last kali distro (2016) i haven't tried it yet! but as suggestion here's another way to install ...


3

Have a look at the Interactive features table and programming features table on the page for command shells on Wikipedia, and compare e.g. the features of the "simple" old Bourne shell with command.com. You'll see that even the Bourne shell has several green boxes that features are available, where command.com has none. With windows cmd.exe the situation is ...


3

While I have never used scp on Windows, so I am only guessing, it certainly looks like the backslashes are ignored. Or, rather, as if they are taken as escape characters and, since they don't escape anything relevant, are being ignored. Consider this, on a Linux machine: $ cd \usr\share bash: cd: usrshare: No such file or directory As you can see, the \ ...


3

On Linux there's a tool called osslsigncode which can process Windows Authenticode signatures. Verifying a binary's signature produces output similar to what you show in your example; on a vcredist_x86.exe I have to hand I get: $ osslsigncode verify vcredist_x86.exe Current PE checksum : 004136A1 Calculated PE checksum: 004136A1 Message digest algorithm ...


3

UNIX was developed by computer scientists. Windows was initially developed by college kids. That's not a good start for most things. UNIX and Unix-like systems have always been in the domain of professional operations and universities around the world and its target user is such organizations. Windows target has always been the average user, even those ...


3

If your host is Windows, you can use Samba to share files from the client with the host. However, you should not edit any configuration files using the host's tools, as they might look the same after editing, but will most likely get newlines inserted. If you have trouble editing files with vi, use something mode-less like nano or emacs for editing. On ...


3

pacman -S os-prober grub-install /dev/sdX (do not use partition number) grub-mkconfig -o /boot/grub/grub.cfg And then you should be all set to go, as long as os-prober is installed, it will let grub detect and preserve the windows boot partition. Note this is NOT for EFI motherboards.


3

If your openSUSE boots to a blank screen with cursor, you may still be able to login to tty1 (CTRL+ALT+F1) and copy data with command line tools.


3

The solution given to this question over on SuperUser deserves its own cross-reference here. Note that this answer here is a Community Wiki so none of us get credit for the replication. How to access a BitLocker-encrypted drive in Linux? The Github code checkins are recent so - as of May 2016 - this is still an active project.


2

Sure you can shrink the partition size of preinstalled windows and install linux debian or ubuntu as your wish side by side with the windows. Grub bootloader will help you to boot OS properly. For some persons, installing VM is NOT THE answer, it is depend on the Need. I personally have been using linux for about 8 years, 6 years on gentoo and last two years ...



Only top voted, non community-wiki answers of a minimum length are eligible