Tag Info

Hot answers tagged

7

When foreign documents use an unknown font you don't have installed, that font's name still gets displayed in LibreOffice Writer, but it automatically picks one of your installed fonts that it thinks is most similar to what you might want to see. So what you describe is the perfectly normal and intended behavior in the situation that you just don't have ...


7

It might be your router, but it might be your ISP: I have seen ISPs blocking all DNS (UDP 53) requests to other IPs than their DNSes - they do this to either monetize (make their DNS resolve ad-sites worng on purpose) or sometimes for legal reasons (DNS-based blocking of sites). And before you ask: Yes, they deliberately break DNS.


6

"add the binary to your path to make it available on the command line" In unix, the PATH is the environment variable which defines where the shell looks for executable programs to run when you enter them on the command line. If you do a: echo $PATH You can see what your PATH looks like. All of the directories on the PATH are then searched (in ...


3

I just deployed an Ubuntu 15.04 image, and after apt-get update, installing SELinux I was too unable to set that boolean as it is "Invalid". getsebool -a | grep http shows that there are no policies including http, and this is despite having policycoreutils installed and updated. I am understanding that this either has been removed from the Ubuntu ...


3

sudo -s runs the shell specified in your $SHELL environment variable as the superuser/root. You can specify another user using -u. The $SHELL environment variable contains the path to the user's default login shell. The actual setting for the default shell program is usually in etc/passwd. Depending on what you've done in your current session, the $SHELL ...


3

You can use the Bash command substitution feature: python test.py command --option 1 $(<file.txt) From man bash: Command substitution allows the output of a command to replace the command name. There are two forms: $(command) or `command` Bash performs the expansion by executing command and replacing the command substitution with the standard ...


3

Your script starts with: #!/bin/sh This is not a comment, but a shebang to tell your operating system to use /bin/sh to execute the script. But apparently Ubuntu cannot find it. If ls /bin/sh shows no result, then I guess that needs to be fixed. As a temporary solution, you might be lucky that your script also works with, for example, bash: ...


2

You can mount a 3.5 drive in a 5.25 space if you use adapters. Example


2

Check to make sure that you have typed your login password correctly and that you are using the correct keyboard input language setting when you are typing the password. If that doesn't work and you have forgotten your user password, then you need to reset your lost administrative password. Reset lost administrative password Hold down the Shift key ...


2

apt-get is Ubuntu's package manager. If you use a package manager from another distro, Bad Things May Happen™. I think you're mistaken in thinking that brew has more content than Ubuntu's repositories; you might need to read up on how to use it. If you're looking to add more content to the package manager, you may want to enable the Universe and Multiverse ...


2

gzip will write to STDOUT, and scp can't handle it. try gzip -c aum.dmp | ssh -l oracle 192.168.0.191 'cat > /export/home/oracle/aum.dmp.gz' instead. where gzip -c aum.dmp | will gzip aum.dmp, and send result to stdout ssh -l oracle 192.168.0.191 will connect to user oracle on 192.168.0.191 'cat > /export/home/oracle/aum.dmp.gz' will execute ...


2

I found myself in the same situation and couldn't find pointers to recent 5.5.x versions on collectd's home page, nor on their wiki. Then I found collectd.org's repositories on GitHub. The README.md file for their CI repository contains instructions on how to use the packages on RHEL/CentOS and Debian/Ubuntu. To get the latest build of the "collectd-5.5" ...


2

You will need to add the bin directory to your PATH variable. If you type "echo $PATH" in your terminal, it will display a string of paths. Now you need to know where the installation of the programs are, and ensure that your PATH contains the appropriate bin directory. Try executing "PATH=$PATH:/Path-to-bin/" in your terminal you will now be able to ...


2

Instead of reading the Arch Wiki, rather check the ffmpeg documentation on the preset options. All should be explained there. Note that there are three different kinds of presets: .ffpreset files: You define option=value pairs in those files and for video settings you generally use them with -vpre. Depending on the encoder you select, ffmpeg will then ...


2

To unhide the files use for f in .*;do mv "$f" ${f:1}; done. Test it first just to make sure it doesn't break anything. Explanation for f in .* creates a loop of all the files starting with . to parse the . I used ${f:1} bash substring function. Thank you


2

a1) The public key authentication can work in two phases (as described in [RFC4252]). The first one is "MAY type" and the message contains the public key to verify on server that the user is able to be allowed to access this account with this key. This is made to avoid unnecessary processing and user interaction, especially when you send your public keys on ...


2

From my own extensive experience virtualizing desktop OS, I can confidently tell you that Ubuntu doesn't virtualize nearly as well as Windows in general OR leaner Linux distros such as Linux Mint Mate. On my end I generally use Linux Mint Mate as my go-to distro for running under VirtualBox or VMWare Workstation (I use both). However, if you want to see ...


2

This line: 0.0.0.0 192.168.192.9 0.0.0.0 UG 0 0 0 wlan0 shows that the default gateway is set to 192.168.192.9, where it should be 192.168.1.254. Please check whether it is configured manually, and remove the configuration so that the router can set itself as default gateway through DHCP.


2

Just setup a static route that fordwards all traffic in your home subnet out one interface and another static route that tells all other traffic to go out the other port. You can do this by assigning the route 0.0.0.0 0.0.0.0 to the ip of the device that your VPSs physically connect with to gain access to the Internet. Then assign the route 192.168.1.0 ...


2

The 2.4ghz will get more range most of the time in my experience however if you are close to the router the 5ghz frequency will be less crowded depending on your environment and will often have more bandwidth. Are both the 2.4 and 5ghz SSIDs named the same, if they are try changing the name of the 5GHZ one to end in something like _5 and connect to it ...


1

"Date Created" is meaningless, it has always been just about the particular instance of that file. Windows doesn't allow changing it by hand, and Linux generally didn't even have that until recently. (And even then, only some filesystems keep the 'birth' time and there's no common API to access it. Note, "ctime" on Linux is not creation time.) You'll have ...


1

rEFInd can read labels from either the filesystem or the partition table. Given that you're trying to do this from OS X, you're far more likely to have luck giving the partition a label you want in the partition table than in the filesystem, but you'll need to use the right tool. One tool that can handle this task is my GPT fdisk (gdisk). You can change the ...


1

If you want to transfer a local file to the remote system use the following: scp ~/filename remoteUserName@remoteIP:~/path Don't put your local userid and system before the name of the file you want to transfer.


1

Xterm itself is a VTxxx emulator – the "xterm" protocol is a superset of VT102/VT220 in the first place, with some features from VT320/VT420/VT520, and of course some entirely new to Xterm itself. So you could set TERM=vt110 and the programs would work. (Xterm also supports Tektronix 4014 emulation, but that's not really common.) The VT52 protocol is a bit ...


1

The easiest solution is to use any Linux distribution - put it on USB or DVD. Boot from Linux USB/DVD. You have two choices: Delete the new created partition (if there is nothing important on it else save files on it to USB - do not delete the Windows 7 partition !! Reboot - you should be fine. Use "Boot-repair" from Linux to fix booting (see ...


1

I generally recommend keeping at least two kernels for each Linux distribution. This is especially true when installing a new one; occasionally a new bug creeps in, or a filesystem error occurs, which causes a new kernel to not work. In such cases, having an older kernel around as a backup can greatly simplify recovery. That said, you can limit the number ...


1

I've created a Ubuntu 14.04 VM and found exactly your observations, though in my case I was using Ubuntu as host. It appeared that installing vmtools made no difference to the VM, unlike in Windows, where a new graphics driver was installed. It seems that the link you cite refers to much earlier versions of Ubuntu. I then found this link, which confirms ...


1

Perform chkdsk on needed partitions with /F /R /X parameters from repair disk.


1

The crash IRQL_NOT_LESS_OR_EQUAL seams to be caused by the driver avgidsdrivera.sys FAILURE_BUCKET_ID: X64_0xA_avgidsdrivera+10634 which is part of AVG AntiVirus. Make sure AVG is up to date and if nothing helps, uninstall AVG.


1

Here's another way: xargs -a file.txt python test.py command --option 1



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