Skip to content

u/karper

In this archive from Jun 2009 to May 2019

2
posts
184
comments
0
media
446
score

Top posts

Without resorting to 'killall ssh', how do I terminate an ssh process running in the background (using the '-f' switch)?

I connect to my computer at work using a tunnel. Here's how I open the tunnel to my machine through the gateway server: ssh -fNL 12345:my_machine:22 my_login@gateway_server This opens the tunnel and goes into the background. I then connect to my machine by ssh -p 12345 my_local\login@localhost. Ever...

0 points0 comments
Open on Reddit

Top comments

It's not maintenance heavy, but updating the system is not a fire-and-forget task. As long as you read the output of pacman -Syu, you should be good. Once in a while, it might help to check the Arch home page for news.

On the other hand, I'd rather that arch have an unfair reputation of being hard to maintain than have a user-friendly reputation like ubuntu where people trust that everything will be taken care of and then throw a hissy fit the minute something breaks. The comparison is rather apt, considering that the frequency of something breaking on both systems probably works out to be the same.

19 points

Do the following. First, locate your network device.

$ ip addr

This should produce an output similar to this:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN 
  link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  inet 127.0.0.1/8 scope host lo
  inet6 ::1/128 scope host 
  valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
  link/ether 00:12:3f:e6:d4:ec brd ff:ff:ff:ff:ff:ff
  inet 192.168.1.4/24 brd 192.168.1.255 scope global lan0
  inet6 fe80::212:3fff:fee6:d4ec/64 scope link 
  valid_lft forever preferred_lft forever

lo is the loopback device. Ignore that. The next device, eth0 is your network device. Request an IP on that network device. I'll assume the device is called eth0. Replace as necessary.

# dhcpcd eth0

Now, your virtual machine should be "online". You can test it by pinging google. Your updates will be fetched now.

9 points

krunner has that covered.

  • dictionary: type "define x"
  • documents: start typing
  • apps: start typing
  • calculator: simple calculations are automatically shown. Complex ones (e.g., solve( x^2 + 4*x - 21 = 0 ) typically need you to type an = before or after the expresion)

The shortcut by default is alt+f2, but alt+space makes more sense to me. I believe it has a runner for wikipedia, but I doubt it fetches results from google or youtube. Of course, someone could write one, I guess.

8 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.