Quantcast
Channel: User Daniele Santi - Super User
Browsing all 41 articles
Browse latest View live
↧

Answer by Daniele Santi for Understanding Linux symlinks

If you manage the virtual machine and have root access, you can reconfigure the webserver to serve files directly from a subdirectory on your home folder. In this case you should be very careful on...

View Article


Answer by Daniele Santi for In Linux can I direct all traffic from a specific...

If you want to just "see" the traffic and save to file, look into the tcpdump command.

View Article


Answer by Daniele Santi for Can't route into WAN with IPCop Router

rIn your NAT configuration, I don't see a MASQUERADE target.I have no experience with IPCop configuration, and it's been a while since I configured NAT with iptables, but can you try these lines in...

View Article

Answer by Daniele Santi for Why is port 1111 open, and is it safe to be?

From aptitude show monit:Description: utility for monitoring and managing daemons or similar programsmonit is a utility for monitoring and managing daemons or similar programs running on a Unix system....

View Article

Answer by Daniele Santi for Inserting a blank line in vim?

I've been using thesemap <Enter> o<ESC>map <S-Enter> O<ESC>in my .vimrc for years.Press Enter to insert a blank line below current, Shift + Enter to insert it above.

View Article


Answer by Daniele Santi for Do I need a DSL splitter if my connection is...

An ADSL Splitter is usually needed only if the same line (twisted pair, usually) carries both the DSL signal and the normal phone line as it filters off the high frequencies of the modem from the phone...

View Article

Answer by Daniele Santi for Telnet to Gmail SMTP server timeout

Those are gmail's MX servers, used to receive mail, and they accept connections to port 25 from here:# telnet gmail-smtp-in.l.google.com smtpTrying 173.194.65.27...Connected to...

View Article

Answer by Daniele Santi for How do I grep a string from files created within...

You can use find to return only the files created in the last 5 hours and use its exec function to grep from them:find [PATH_OF_DIRECTORY] -type f -cmin -300 -exec grep "Quality data" {} \;where -cmin...

View Article


Answer by Daniele Santi for Software to provide loopback at remote endpoint,...

Take a look at the Echo Protocol. If your system is linux-based it's probably already available.Else, should be trivial to program a simple echo server yourself.

View Article


Answer by Daniele Santi for vi: what is verbose mode and when/how do I use it?

[snip]* Start Vim in verbose mode: vim -V. (Describes each file being sourced).or from the manual page:[snip]When 'verbose' is non-zero messages are printed (for debugging, to stderr).

View Article

Answer by Daniele Santi for Enter insert mode indented in VIM

An answer to this question on Stack Overflow indicates that:'cc' will replace the contents of the current line and enter insert mode at the correct indentation

View Article

Answer by Daniele Santi for mv files with multiple `.` in the file name

mv is not the right tool.You should use the rename command:rename 's/\./_/' *.*.txtThe string 's/\./_/' means "substitute the first occurrence of a . with a _ in the folling file list".

View Article

Answer by Daniele Santi for Large .xsession-errors file, PulseAudio

Looks like your KDE is configured to use Pulse Audio as an engine for Phonon Backend, and for some reason the Pulse Audio daemon itself is not installed/not responding.I suggest you make sure the...

View Article


Answer by Daniele Santi for Execution of a command locally after ssh tunneling

Hello and welcome to Super User.After ssh -L 8888:localhost:8888 ubuntu@address, your script founds itself on the remote server.You can pass the flags -fN to ssh (-f is for fork into background and -N...

View Article

Answer by Daniele Santi for What is the difference between there has...

(config-if) simply means you're in "Interface Configuration" mode, i.e. you did something likeCentral(config)#interface Gi0/1Central(config-if)#interface Gi0/1while in "Global Configuration Mode" (i.e....

View Article


Image may be NSFW.
Clik here to view.

Answer by Daniele Santi for Enable local network IP access with DLink 600M...

Looks like your router has the function "Wireless Isolation" (often called "AP Isolation") enabled.This prevents clients connected to the WiFi network to communicate with each other (and really, to any...

View Article

Answer by Daniele Santi for tftp vs tftp-hpa

Well, the tftpd-hpa description says:tftp-hpa is an enhanced version of the BSD TFTP client and server. It possesses a number of bugfixes and enhancements over the original.So you should certainly...

View Article


Answer by Daniele Santi for How to access remote keyboard on remote PC via SSH

You should use a "terminal multiplexer like screen or tmux.Then you can start a session (say you're using tmux) on PC#2:PC#2 $> tmuxwhen you ssh from PC#1 (with the same user you have started tmux...

View Article

Answer by Daniele Santi for How to run an executable text-file directly?

You should not create a link to the executable, but create a so called "Desktop Entry",i.e. a simple .desktop file which your system interprets as a series of instructions to correctly load the...

View Article

Answer by Daniele Santi for How to undo automatic character replacement in...

As suspected, you installed a font with ligatures (like Fira Code for example), which replace multiple chars with different (possibly "combined") chars to "beautify" the script.If you don't like the...

View Article
Browsing all 41 articles
Browse latest View live