Selecting Multiple Line In Putty Ssh

I have a problem with the putty ssh connection. The operating system is Windows 8.
How do I select a few lines and remove them. Using the mouse and shift + arrow keys on the keyboard does not work properly.


Similar Content



Borked Ubuntu With Putty SSH Cmd Line

I am not sure what happened here, and I find it oddly disturbing that a Putty session from Window could do this, but here is what I did -

I was attempting to open a ssh redirect session from Putty command line on my W7 work PC to my home PC running Ubuntu 14.04. I've done this before with the Putty GUI and had no issues at all, but this time I was using cmd line and it never did connect. I ran this command:
Code:
putty -ssh -D 1080 -P 22 domain.com

The Putty window opened but never connected. I tried twice and when it didn't connect, I gave up and went back to the GUI. I connected with the GUI just fine, but after connecting an SSH session to my Ubuntu server at home, I noticed it was acting odd.

Long story short: It was in a "read-only" mode, saying the file system was read-only. I couldn't run apt-get update or even create a new folder in my Home folder or desktop. I remotely rebooted the machine and it never came back online.

When I got home I checked it, and it told me that Ubuntu had found some errors, and was asking if I wanted to correct them. I said yes and it took a short while, but then finally let me log back in.

After this, the box is about 90-95% back to normal except for a couple of odd things that I don't understand.

The main issue is that my Samba shared drives are no longer working. The fstab file looks the same and can connect to other machines, but nothing can connect back to the Ubuntu box. The folder permissions are correct also. I have a CentOS7 box, a Fedora laptop and a W7 box - none of them can connect to my Ubuntu box. I only run Samba and connect with it, even from Linux boxes, just to make it simple (since Windows is stupid and can't use NFS) - this has always worked in the past. Now for the life of me, I can't figure out why nothing will connect.

Is there a logfile or trouble-shooter I could look at it see what happened? It should be in /var/log somewhere, but I don't know where to start. SSH? Samba? The entire filesystem was read-only for a short while, so is there a FS or System log in /var/log?

I am kinda confused on this one, any help is appreciated.

How Can I Run An Executable File On A Remote Linux Server Using Putty?

Hi, I'm trying to run an executable file on a remote server using Putty? I downloaded PuTTY and connected through the Putty Configuration window with the SSH connection type selected. Once I connected, the cmd window disappeared so I assume I'm connected. Now I want to run an executable file on the remote server.

How can I run an executable file on my remote Linux server using Putty?

Thanks for any help with this.

Remove Lines That Are Subsets Of Other Lines In File

Hello everyone,


Although it seems easy, I've been stuck with this problem for a moment now and I can't figure out a way to get it done.

My problem is the following:

I have a file where each line is a sequence of IP addresses, example :

Line 1: 10.0.01 10.0.0.2
Line 2 : 10.0.0.5 10.0.0.1 10.0.0.2
...

What I'd like to do, is to remove lines that are completely matched in other lines. In the previous example, "Line 1" would be deleted as it is contained in "Line 2".

So far, I've worked with python and set() objects to get the job done but I've got more than 100K lines and sets lookups are becoming time consuming as the program goes :/

Thanks for you help

Desperately Seeking Help With XMODMAP...

Hi Guys, genuine noob here. I need some help with my first 'puter project -

I have a PI2 running Raspbian, a vintage ZX Spectrum computer & hacked USB keyboard chip.

I've used the USB keyboard chip to interface the keys from the Spectrum into my PI2.

Unfortunately, I'm having problems re-mapping the keys using XMODMAP...

Now this where it gets weird, let me explain -

Firstly, I've managed to successfully map the basic numbers & letters, so that the Spectrum keys trigger the appropriate KeySymbol.
However, I'm having serious problems with the modifier keys...

SHIFT_L is mapping perfectly, and will trigger CAPITALIZED letters.
BUT... I can't seem to get accurate results from my re-mapped ALTGR button -

It works fine for SOME keys, but for others it will behave like SHIFT_L or not work at all

So as you can see below, I've (attempted) to re-map the Spectrum's SYMBOL SHIFT key to 'MOD5' (altgr), so that the 'number' keys will trigger !,@,#,$,%,&,',(,) and _.

so for 12345767890, I SHOULD be getting !@#$&%'()_
But - instead I'm getting 12345&78)_
It's working fine for keys '6', '9' and '0' but NOT for the other keys....

GGGrrrrrr... I don't understand what's happening here

Anyway, this is my xmodmap code. Please help me!

# first, sort out CAPS SHIFT and SYMBOL SHIFT as a shift and AltGr key..
xmodmap -e "keycode 85 = Shift_L"
xmodmap -e "keycode 97 = Control_R"
xset -r 85 # prevent new shift from autorepeating
xset -r 97 # prevent new AlrGr from autorepeating
xmodmap -e "add shift = Shift_L"
xmodmap -e "remove control = Control_R"
xmodmap -e "add mod5 = Control_R"

# one key maps to 'Caps Lock', need to remove this function to get it working
xmodmap -e "remove lock = Caps_Lock"

# Right, standard keys now... top row first, left to right...
xmodmap -e "keycode 89 = 1 1 exclam exclam exclam"
xmodmap -e "keycode 88 = 2 2 at at at"
xmodmap -e "keycode 112 = 3 3 numbersign numbersign numbersign"
xmodmap -e "keycode 34 = 4 4 dollar dollar dollar"
xmodmap -e "keycode 33 = 5 5 percent percent percent"
xmodmap -e "keycode 60 = 6 6 ampersand ampersand ampersand"
xmodmap -e "keycode 173 = 7 7 apostrophe apostrophe apostrophe"
xmodmap -e "keycode 114 = 8 8 parenleft parenleft parenleft parenleft"
xmodmap -e "keycode 106 = 9 9 parenright parenright parenright"
xmodmap -e "keycode 86 = 0 BackSpace underscore underscore underscore"

I should also mention that I've asked this same question on the PI forum, and no one's replied -

https://www.raspberrypi.org/forums/v...8&t=108434&e=0

Hopefully I can get some help here, as this project is currently useless without being able to re-map the keys.

Many thanks

OS Cannot Be Loaded Without Keyboard Because Of Grub

Hello to everyone!

I was working on a linux server before few weeks. There was a grub/keyboard issue. If no keyboard is attached (ps port) the grub isn't loading the operating system. If the keyboard is attached the grub is loading the operating system by default without any keyboard interaction.

The difference is only that there is a keyboard attached. Thats all.

I was searching on the web and one thing came along: "turn on/off 'stop on errors' feature in your bios.". Maybe its this, but tonight I'm not able to check if its this becuase the server is in a remote location.

However I would like to hear what you think of this problem.

Have a good time!

Touchpad Not Working

I am running linux mint from a live usb loaded with unetbootin for windows. It works with my wireless logitech USB mouse, but the touchpad itself is unresponsive. Keyboard including FN keys are indeed working. I am on an asus EEEPC netbook. I tried making sure the touchpad was turned on vai the function keys. I have also checked in system settings the touchpad is enabled. Any solutions anyone?

Triple Boot Problem: Unable To Add 3rd System With Bootable USB

Hi All,

I recently decided to tryout Linux and dual booted my laptop (originally just had windows 8) with Xubuntu. Now I want to try out Kali Linux. So I downloaded Kali and made a bootable USB, the problem is that when I try to boot from the USB it just brings up the grub menu asking me to select Xubuntu, Windows etc. I've changed the boot menu in the BIOS but that has no effect.

I've tried booting into windows and the restarting by holding shift but when I select the usb option it just says:

"system doesn't have any USB boot option. Please select other boot option in Boot Manager Menu"

and then returns to the grub menu. I don't understand because I used a bootable usb to install xubunto?

I'd be really grateful if anyone can help me out with this!

Thanks

Where Would I Find A List Of Keys To Write Different Math Equations

Os Debian Wheezy
DE Gnome3
I'm doing an online math course & sometimes whenI click on page to add the symbol it greys out, not allowing slection.If I hover over the symbol, it shows ctrl+Shift+ And the rest of the key input is missing.

I have however by accident, found out how to enter 1 character which was the symbol for exponent. While the popup said to use Ctrl+ Shift+unknown-key, the keystroke was Shift+Caps+Right-Arrow.

Is there a math wiz here who can lead me down the right path?

Help With KDE

Hello, I am new to Linux and I am having difficulty setting up KDE. I have a vps with Debian 7 Wheezy on it and I need to get KDE working on it. The Linux installation from the vps company was very basic...I had to update the packages and install kde and kdm using the apt-get install kde and apt-get install kdm commands. When I type xstart to start the x server I get a message with the version number and other information so I am assuming that it is installed, but at the bottom of the message I have no cursor (I am able to type but when I hit the enter key after entering a command nothing happens) and the # is no longer there so I am unable to continue working. The only way i can get the command prompt and # back is to close Putty and reopen it (then I have to log into the vps all over again). From what I have read online, when I type startx, it should load KDE.

I was able to set the display by using the export DISPLAY=:0.0 command. But when I type startkde I get the message 'No protocol specified" and the next line says DISPLAY not set or unable to connect to xserver.

I have been using Putty to log into the vps, but yesterday I decided to use the web based login utility offered by the vps company. When connecting to the vps in this manner I am presented with a traditional looking login screen (I am assuming it is KDM). The user name that was provided to me from the vps company is 'root' ...well, when I try to login using KDM (the plasma setting) I get an error stating that 'root' logins are not allowed. Considering that the KDM is visible when logging in using the web based utility, I have a feeling that the KDE is also working...but I can't log into it because the user name is 'root' . However, when I use Putty I cant seem to get anything to load and start the way it is supposed to. I would appreciate any help in getting the KDE to work in Putty and the login via the web based utility to accept my username that the vps company gave me. Thank you.

Keyboard And Mouse Defect? Linux Mint 17

Hey-yo,
I have problems with my keyboard and mouse sometimes when I turn my laptop on. They're just not working. Somewhere I read that it has to do with a so-called "blind registration" and that I only have to tip in my password. But no matter how many times I do that it doesn't work. I'll always have to turn off my laptop and turn it on again, hoping that it works.
I only have Linux for two months and that's the only problem I got until now. Please help ^-^'