Tag Info

New answers tagged

0

Simmilar to slhck's Answer, but relying on file operations instead of command invocations: MYPID=1 cat "/proc/$MYPID/comm"


0

Not a truely touchpad gesture recognition but a mouse recognition, you can give a try to easystroke Easystroke is a gesture-recognition application for X11. Gestures or strokes are movements that you make with you mouse (or your pen, finger etc.) while holding down a specific mouse button. Easystroke will execute certain actions if it recognizes the ...


0

We have this configuration along with syslog-ng, which I believe is needed as syslog itself doesn't allow receiving remote messages. There is an ocf primitive called IPaddr2 whose syntax is similar to this: primitive virtual_ip ocf:heartbeat:IPaddr2 \ params ip="192.168.1.100" cidr_netmask="32" nic="eth0" \ op monitor interval="30s" ...


0

Basically, the apache2 package just provides a part of the Apache2 infrastructure, and doesn't contain the binary files. As you run the apache2 command, the shell told you in which package that binary is located (in apache2-bin), but it doesn't mean that that's the only package you have to install. In my raspberry pi architecture, the apache2 package ...


1

I'm not in front of it right now but there is a switch for tcpdump to list all interfaces, then you can specify specifically the one you want. Try tcpdump --list-interfaces then you can do e.g. tcpdump -i eth0 or whatever particular interface you want to listen on.


0

Well it turns out that openjdk-8-jre is in the testing debian release and not yet stable. Good job openJDK website :) add a deb line to /etc/apt/sources.list deb http://ftp.debian.org/debian testing main now apt-get install works sudo apt-get install openjdk-8-jre


1

As per the tcpdump man page: -i Listen on interface. If unspecified, tcpdump searches the system interface list for the lowest numbered, configured up interface (excluding loop‐ back), which may turn out to be, for example, ``eth0''. On Linux systems with 2.2 or later kernels, an interface argument of ``any'' can be used to ...


-1

There are many freeware apps out there to accomplish that. I can recommend these two: QuickSetDNS v1.10 - Quickly set DNS servers of your Internet connection on Windows http://www.nirsoft.net/utils/quick_set_dns.html Here's an overview: QuickSetDNS is a simple tool that allows you to easily change the DNS servers that are used for your Internet ...


0

Right, in case anyone sees this later on Google, the answer was: sudo sshfs -o allow_other,default_permissions X:/ /mntX I had tried both allow_other (which gives every user read and write access to the root of the other machine, bad idea) and default_permissions (which does nothing) alone. Turns out that if you combine them then it respects the ...


0

I solved my problem by re-download kali.iso image. Image was corrupted and sha1 sum was wrong. All my settings are correct. You can use it in your grub.cfg


1

nKn may have been more pessimistic than need be. He took seriously your comment that And the redirection isn't restricted to browser. I use linux distro and do apt-get update && apt-get upgrade frequently. When the connection gets resetted the partial downloads are meant to be resumable when reconnected. The reason why this is unlikely to be ...


0

Unfortunately, I'm afraid there's not much you can do in this case. Using a proxy, TOR, forwarding requests to a different server, changing your DNS servers etc. won't help since the very first hop in your request will be your ISP, so you cannot change the behavior of the first request upon a reconnection. A "poorman" and very rudimentary workaround would ...


0

Some USB dongles have their proprietary Windows drivers onboard. When plugged in for the first time, they act like a storage device and start installing the Windows driver from there. /dev/sr1 is such a storage device. It can't be used to make a connection. If the driver is already installed, it makes the storage device disappear and a new ...


0

Finally I checked around and solved the problem. I don't know what was the reason of the problem, but when I totally replaced the systemd with legacy sysVinit, the problems solved. It seems that the systemd has a problem with remote boot, or it needs some advanced configuration.


1

Read the DRM section here , specifically: DRM copy-protection All cards incorporate DRM copy-protection. Roughly 10% of the storage capacity of an SD card is a "Protected Area" not available to the user, but is used by the on-card processor to verify the identity of an application program that it then allows to read protected content. The card prohibits ...


1

As Fiasco Labs points out in their answer, these type of log entries are a dime-a-dozen. But as a systems administrator with a deep history managing and protection LAMP-based web servers, this is not an attack as much a scripted “probe” of your system by someone somewhere. These probes/scans of a system are done to see what—if any—servers out there are ...


2

You can clean-install, which resets your computer then installs Linux. Note: You will need a minimum of 2GB RAM for the 64bit release. If you don’t know how much RAM your computer has, download the 32bit release. If you want Ubuntu from the website, click here. If you want to download it via BitTorrent, click here. Once downloaded, you will need to burn ...


0

I also came across this problem. Here's my finding: EasySSTP (http://www.llamedos-software.com/easysstp.html) As @Hasse pointed out, the company is no longer supporting the app. The site takes to a blank page. However, you can still download it from PureVPN (http://support.purevpn.com/configuration-guide-for-sstp-protocol-on-mac). Note, that some VPNs ...


1

Try this: find "$(pwd)" -type d | while read -r D; do ls -lb "${D}"; done With just a bare ls all you will see in bash is a ? for a filename that is equal to e.g. "\n". Also -print0 | xarg -0 may well be necessary in these cases, and an unquoted $D when $D contains whitespace is likely to be the cause for trouble. $ man ls excerpt: -b, --escape ...


3

Access databases (*.mdb, *.accdb) are just files. There is no Database sever running on the server for MS-Access; it serves only as file server. Therefore it should be possible. No Access specific add on is required.


0

Try loading the "option" driver (/drivers/usb/serial/option.ko) with modprobe. I haven't gotten cdc-acm to recognize the DR910-DUAL under linux 3.14 but option presents /dev/ttyUSB0:/dev/ttyUSB3 and they seem to work.


0

I had same problem on Fedora 22. I solved it by installing aspell-en.x86_64package.


2

Use a loop: num=1 while [ $num -le $seasons ]; do mkdir $title/"Season $num" num=$[ $num + 1 ] done Explanation We're using the [ test operator and $[ evaluation operator (they look alike, but are completely different). [ $num -le $seasons ] tests if $num is Less or Equal than $seasons; $[ $num + 1 ] adds one to the numerical value of $num and ...


0

1. This 25GB part. has linux installed on it. As per comments by Moab, this will be (or was) the actual recovery partition. If you have already replaced it with something else - Linux - then you won't be able to recover using it anyway. If it still contains the Factory Image then you can delete this partition if you have created separate Recovery Disk(s). ...


1

use ntfs-3g command with remove_hiberfile option . You need to mount the partition in read-write mode and are not able to or willing to boot into Windows. so, it is not included here because it completely deletes hiberfil.sys and will cause you to lose all unsaved information in the hibernated Windows programs. The following is a quotation from man ...


0

4K output with Intel HD 4000 graphics via HDMI 1.4 works for me. Both under Win10, as well as Ubuntu 15. In Win 10 you have to force the graphics to use the stock Microsoft driver (graphic card settings - update driver - choose from disk - Microsoft) NOT the Intel driver which gets enabled by default. Intel Corp. is capping the max resolution, forcing you ...


1

gnome-terminal --help-all is your friend. You can try gnome-terminal --geometry=80x10+x+y --zoom=2 --command="your program". Where zoom=1.0 is the normal size and x & y specify position.


1

You /dev/sdb1, sdc1 and sdd1 partition does not have the correct partition type. It's listed as 'Linux', so the kernel will expect a regular filesystem there. /dev/sda5 is of type LVM which used for your root file system, I guess (BTW, time to clean that partition up...) I guess it worked before because the kernel, while scanning the disks for LVM ...


0

No need to Reboot. Create a directory /backup umount -lz /cache edit /etc/fstab vi /etc/fstab and change the directory name mount -t ext3 /dev/sda6 /backup (ext3 or ext4 or any format of the drive) or mount -o remount /


1

NixOS does not natively have multiarch support. The only Nix package which contains the 32-bit ELF interpreter ld-linux.so.2 file is the i386 version of glibc. Luckily, we can work around the issue by borrowing the package from debian. Install dpkg: nix-env -i dpkg Download the libc-i386 package for 64-bit systems from debian: curl -O ...


-1

Since it's a UEFI bios, you have to create a UEFI-bootable USB key here is a procedure to do so : http://www.eightforums.com/tutorials/15458-uefi-bootable-usb-flash-drive-create-windows.html


0

Use lspci with the -t option to view in tree format, allowing you to visually trace devices to their upstream CPU: $ lspci -t Better yet, increase the verbosity so lspci outputs device names and details: $ lspci -tv Even more verbose: $ lspci -tvv


1

I was making a custom build of OpenSSH for a device with a cramfs in the home directory and /etc (Cram FS is read-only) so ~/.ssh/environment would not work not without rebuilding the entire FS and these were field deployed devices(Embedded Systems Hence the use of CRAMFS). You can specify in the sshd_config the location of the authroized_keys file but for ...


0

First check: Do you have a keyboard shortcut that makes the keyboard switch from German to English or vice versa A note valid for Ubuntu: by default Super+Space is set to 'Switch to next source' under System Settings > Keyboard > Shortcuts > Typing


3

To quickly switch DNS you should first identify the name of your network interface. Go to Control Panel and search for "View Network Connections" and then find the name of the one that you use to connect to the internet. It is often convenient to rename the connection from "Local Area Connection" to something easier to type. Then create two batch files ...


2

Use find: find . -name "*.xml" -exec cp -vt /newdir {} + This searches for all files ending with .xml. Then find executes cp -vt /newdir on them. With the + character find runs the cp command as few invocations as possible, stringing together as many arguments as the shell allows. Edit: if your cp hasn't the -t option, use this: find . -name "*.xml" ...


1

Assuming that the filename of the file you want to tail is file and the filename of the list is list. I also assume that the file list looks like: 10.0.0.1 Hostname1 10.0.0.2 Hostname2 Then use this: tail -f file | while read l; do \ while read i h; do l="${l//$i/$h}"; done <list; echo "$l"; \ done The tail command is piped to a while loop that ...


0

I found the answer using some slightly different search terms: expect stop Unfortunately, this means Upstart detects the first invocation of sed as the first PID Additionally the answer for a workaround is nearby, pre-start, which is exactly designed for such purpose. Didn't thought about that, even though I've read it before in the docs... ...


0

Is this question answered here... Add Chakra to Grub (installed by Mint) by sudo update-grub


0

On the my version of NixOS, I was able to get a working mksdcard by issuing: nix-env -i android-sdk-24.1.2 after doing a nix-channel --update [root@nixos:~]# /root/.nix-profile/bin/mksdcard mksdcard: create a blank FAT32 image to be used with the Android emulator usage: mksdcard [-l label] <size> <file> if <size> is a simple integer, it ...


0

The command is as follows: google-chrome --user-data-dir=$HOME/.config/google-chrome \ --profile-directory=Default \ --app-id=$APP_ID Note: You will need to replace $APP_ID with the exact application ID (i.e. aapocclcgogkmnckokdopfmhonfmgoek) and $HOME with the path to your home directory. You can probably omit --user-data-dir ...


0

I solved the problem following the answer from this post: Can't reset MySQL (MariaDB) root password One has to change the plugin field of mysql.user for all roots to a blank string.


0

Well there are 2 or more problem here. but start from first. You need to specify as below for allowed user. you dont need to explicitly define block user just remove them from AllowUsers AllowUsers syed@IP Than. you have two options Host based AUthentication. RhostsRSAAuthentication One more hack than can work here is tunnelier. you can authenticate and ...


0

Another possibility for the list is the web service https://cloudconvert.com/pdf-to-eps (not sure what library it uses). I haven't tried it for EPS, but converting to EMF has worked well for me.


0

I disabled 802.11n. On my model of wireless card, iwlwifi seems to have some issue with 802.11n. This explains why it had an issue with two identical routers but not with a cheap ISP-provided router - perhaps the two routers support 802.11n but the old ISP-provided router doesn't.


1

I want to know the command line argument—or if there is a way—to create an alias for the executable so that the alias will be put on my desktop instead of having to navigate to the folder it’s located in. Yes, you can. In the command line/terminal this is known as creating a symbolic link and this would be done using the ln (make links) command. The ...


0

Use LC_ALL=C grep -R "xyz" filename This will speed up your search by 60%


0

Brother use CLI as below. from the location of the file it seems like you are on CentOS or Redhat. iptables -I INPUT 1 -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT This will put this rule on top. after this save it as below. service iptables save you dont need to restart the service it will take effect immediately. I can see from your post ...


0

I just bought the same kit. There is a usb dongle that plugs into the computer. No drivers, and it seems to be working without any effort on my part. My assumption is that the wirelss communication happens independently of the computer, and the signals that the dongle sends will be the same as a standard keyboard.


0

When talking in iptables terms the order is very important: REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:80 So you firstly reject anything that hasn't matched any previous rule, and then you accept port 80. That's why this rule ...



Top 50 recent answers are included