Tag Info

New answers tagged

0

Likely, your shell is not bash but dash which doesn't have disown. Do fgrep $(id -n) /etc/password and see whether your shell is bash. If it's not, then update it, re-login, and you will be able to disown processes. If you want to continue using the current shell (which lacks the disown builtin) you can use nohup your_command_here & to achieve almost ...


1

I think that you are talking about assigning stable, persistent names to the hard drive device nodes, not about mounting them: make the hard drive with the UUID xyz to be mounted always on the node dev/sda? You cannot control which hard disk /dev/sda corresponds to at mount time. Once you are at the point of mounting a hard drive (or partition), the ...


2

The answer is apt-cache search transmission. It does return only packages whose description contains the specified substring. (Not necessarily the specified word, for example the command also matches “retransmission”.) The string might not appear in the output of apt-cache search transmission because that only prints the first line of the description, ...


1

dpkg -L haskell-platform-doc will list the files installed by that package for you. However, this is a meta package, it does not install much content itself, but pulls in other documentation packages as dependencies. So issue dpkg-query -f'${Depends}' -W haskell-platform-doc to find the dependencies, and use dpkg -L with those. You should expect ...


0

Make sure to add PATH to your script and that it includes /sbin. Since the init script won't share the PATH environment variable with the rest of the system you need to set it directly on your script and make sure /sbin is in there, for example, add: PATH=/sbin:/bin:/usr/sbin:/usr/bin At the beginning of your script. Debug your script to make sure ...


2

You can use aptitude with the ~d argument to search in the descriptions: aptitude search '~d <string>' # e.g. aptitude search '~d torrent' # search for “torrent” in the description


3

Use apt-cache: apt-cache search packagename This shows packages that apt considers related(many of them don't even include name of packge in both description and name). If you only want packages that contain packagename in description or name, pipe with grep: apt-cache search packagename | grep 'packagename' BUT! Other tools for the rescue: axi-cache ...


0

Try reinstalling the display manager. If that does not work, install a different display manager. This will force debconf to reconfigure the display manager to be used.


0

I've had this issue for ages, maybe it's time to do something about it! It comes done to ClearType, Microsoft and patents from what I read. Most *nix distro's disable any patent protected font rendering by default. Read about Debian and fonts here, you want Subpixel-hinting and Font-smoothing section. There's a config file on that page but I will add here ...


1

I assume you are mounting in /etc/fstab. There is a nobootwait option, from man to explicitly instruct mountall(8) not to hold up the boot for them There is also a degraded boot option for mdadm, which I have never used and I think it is used if OS is installed on raid: dpkg-reconfigure mdadm and tell mdadm to allow degraded boot IMO nobootwait ...


2

The form: sh -c '...' name arg1 arg2 ... is called inline-script, often seen in combination with find ... -exec sh -c '...' find-sh {} +. Inside inline-script, $0 will be set to name, and the rest of arguments was populated to $@. In general, you should set it to something meaningful, because it will be used for instance showing error messages: sh -c ...


5

Man page in Linux was detailed a bit. sh -c [-aCefnuvxIimqVEb] [+aCefnuvxIimqVEb] [-o option_name] [+o option_name] command_string [command_name [argument ...]] -c Read commands from the command_string operand instead of from the standard input. Special parameter 0 will be set from the command_name ...


0

You can check the file defaults.list and change it to evince if necessary. On my system: $ cat /usr/share/applications/defaults.list | grep pdf application/pdf=evince.desktop;atril.desktop


0

Yesterday I installed Debian on a recent Asus Pxx model using the netinstall-iso using a usb-stick and I was able to finish the install without any problems or warnings. - secure boot MUST be disabled and this is often only possible cq visible upon setting a bios-password. Have you tried writing the iso to a stick ?


0

Download an ordinary iso from the debian site. These iso's are hybrids: You can simply cat them to a stick: ' cat NameOfTheThingy.iso > /dev/sdX ; sync ' - omit the quotes - X identifies the device, not the partition - you have to rewrite the partition table of device after use - you probably need root - I have no clue how to do this in Windooze


0

As I was attempting to install Kali 2.0 on VMware I was running into the same issue. Startx was not found, and even upon manually installing it would not work. The one thing that worked for me was to enable virtualization in bios. This is usually a problem that occurs with VirtualBox for me, but this time it resolves the issue with Kali 2.0 on VMware.


0

These two are very different programs: GRUB grub is a bootloader, i.e. a program that starts the OSes. It will not be replace in the (this) upgrade of Debian. systemd systemd is a system management tool. Its job is to manage and load all system services, daemons, or whichever startup programs you defined. It replaces the previous init suite and is ...


0

You cannot simply download an image and put it into a usb to run a linux live image. You need to write it to an usb, meaning, decompressing the iso format. You need special software to do that, e.g. dd linux command utility or, if you new to shell, use something as OpenSuse image writer to write the ISO. Just follow the instructions on the page and after ...


0

You need to edit the site specific config file at this path /etc/apache2/sites-enabled the file you probably need to edit is 000-default.conf just change the DocumentRoot from /var/www/html to /var/www/YOUR_DIRECTORY


0

If my memory serves me well, your problem is that your fstab is modified to point to the encrypted partition, since you have booted from an unencrypted partition your fstab (while you are executing update-initrd) should point to your unencrypted volume. AFTER you have created the initrd image you can modify your fstab to point to the encrypted partition.


1

According to http://search.cpan.org/~nalobin/Net-Whois-Raw-2.85/lib/Net/Whois/Raw.pm, you can: set_ips_for_server('whois.ripn.net', ['127.0.0.1']); You can specify IPs list which will be used for queries to desired whois server. It can be useful if you have few interfaces, but you need to access whois server from specified ips.


0

tail -f /var/log/squid/access.log | ( c=0; pl() { echo $c; c=0; }; trap pl SIGHUP; while read a; do (( c=c+1 )); done ) & ( trap 'kill $! ; exit' SIGINT; trap '' SIGHUP; while true; do kill -HUP $! ; sleep 1; done)


1

Assuming listoffiles is the file with the list of names, and they all start with / so you want to prefix with "http:/", and use curl, say, to get the file, you can do something simple like: while read file do if curl "http:/$file" | grep 'my pattern' then svn ..."$file"... fi done <listoffiles


0

Add the _netdev mount option to the remote filesystems in /etc/fstab. After a systemctl daemon-reload this should make your network mounts dependencies of the remote-fs.target; check it with systemctl list-dependencies remote-fs.target. Such filesystems are unmounted before network is brought down.


0

#!/usr/bin/env bash May or may not increase the portability, as if bash is actually installed on a *BSD system, it usually exists at /usr/local/bin/bash. However, env may not be portable, though that would only be for really old or weird unix systems. ps is an especially not-portable command, especially if you intend to use BSD/GNUisms on a SysV system ...


0

You used the same key binding to try to do different things: the correct ones are: gsettings set org.gnome.desktop.wm.keybindings switch-applications "[]" gsettings set org.gnome.desktop.wm.keybindings close "[]"


1

Are you talking about the archive? Having a big archive is generally good; lots of packages available. Or are you asking about the disk usage of a default install? You should be able to do a minimal install that uses less than 2GB, but it's been ages since I looked at debian-installer. You may still be able to preseed the installer with a package ...


1

While this question has been asked long back, things might have changed since then. Is there any advantage of using Iceweasel and Firefox? Is there any difference to the two programs? What are the advantages and disadvantages to each program? Firefox is provided by Mozilla. Iceweasel is provided by the Linux distribution that offers it (debian*). If you ...


0

I have found one solution for my Power Mac G5 Dual 1.8 GHz, PPC with 4GB of DDR and OSX 10.4.11 Tiger, with a geForce Fx 5200 64mb graphics card. As a preliminary, make sure that all distributions are PPC friendly! And also, if you have the same specs, and Mac OS, as I do, (1) do not try to install initially from Desktop ISO. This seems to do some damage. ...


0

Well I've found templorary workaround. Just to use "Alternative shortcut" set as META+Spacebar.


0

Well, the pwhois utility of that module at https://api.metacpan.org/source/NALOBIN/Net-Whois-Raw-2.85/pwhois indicates there is a -a srcip flag, though you're calling whois which may or may not be pwhois.


3

Yes. Recoll can regularly index your files and provide a search via your browser. It can search within files too. Recoll is a full-text search tool for Unix and Linux desktops. Recoll finds keywords inside documents as well as file names. It can search most document formats. You may need external applications for text extraction. It can ...


1

Nowdays the changelog command within apt-get, download and display a changelog for the given package: apt-get changelog tinyproxy


3

The service command is part of the sysvinit-utils package. Install it with: apt-get install sysvinit-utils But most probably, it is already installed in /usr/sbin/service. If it's missing in your $PATH, add this line to your ~/.bashrc: PATH=$PATH:/usr/sbin


0

After browsing though callibre code I found that Calibre uses QDesktopServices.openUrl from QT toolkit. Which in turns uses xdg-open utility, which was misconfigured. I have no idea why nautilus and thunar launched proper programs.


0

What are you using for DNS? nslookup `hostname` The output will show you your DNS server - this is where your problem is.


1

The easiest solution is to provide a ntp-servers optino in your dhcp leases: subnet 192.168.10.0 netmask 255.255.255.0 { option routers 192.168.10.1; option ntp-servers 192.168.10.1, 192.168.10.50; BLAH BLAH } By default debian's ntp package comes with a dhcp-exit hook that adds ntpservers listed in the dhcp lease to the ntp.conf.


0

Source: http://unix.stackexchange.com/a/164028/120177 , http://www.freedesktop.org/software/systemd/man/systemctl.html Open a terminal and (as root) run: systemctl set-default multi-user.target or with --force systemctl set-default -f multi-user.target to overwrite any existing conflicting symlinks1. Double-check with: systemctl get-default ...


1

After a discussion with Jeff Schaller, I just added a simple init.d script called set-gateway-as-ntp which runs before ntp and adds the gateway address to /etc/ntp.conf: #! /bin/sh ### BEGIN INIT INFO # Provides: setgatewayasntp # Required-Start: $network # Required-Stop: # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # X-Start-Before: ...


1

To solve the issue, install the python-dev package which include the Python.h header file needed for compilation of pycrypto.: apt-get install python-dev But, you can also easily install the python-crypto package directly: apt-get install python-crypto


0

Found out that /etc/group was not world readable. I must have accidentally overwritten the permissions somehow. I used chmod 644 on /etc/group and /etc/passwd and that fixed it :) See: http://liveforcode.net/2015/08/27/solution-postfix-unknown-group/


0

It turns out I had failed to enable PCIE bus support for brcmfmac when compiling the Linux kernel. To do so, run make menuconfig and navigate: Device drivers - Network device support - Wireless LAN - PCIE bus interface support for FullMAC driver and enable PCIE bus support.


0

No terrible problem... Was /etc/apt/sources.list, it needs to comment old and add new # deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150606-15:13]/ jessie main #deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150606-15:13]/ jessie main #lixio deb http://security.debian.org/ ...


1

There is probably a line in /etc/apt/sources.list (or in one of the files in /etc/apt/sources.lists.d/ starting with deb cdrom ... Comment this line out and Debian wont try to install packages from this disc.


2

You could use i386 (because your processor supports the IA-32 instructions) or amd64 (because of the x86-64 instruction set). If you want 64bit, you should use amd64. There is a description of the different port on https://www.debian.org/ports/index.en.html: amd64 - 64-bit PC (amd64) First officially released with Debian 4.0. Port to the 64-bit AMD64 ...


3

Remember how I said: The system uses lxc containers for compartmentalisation, but that shouldn't matter here. Well, turns out it did matter. Or rather, the cgroups at the heart of lxc matter. The host machine only sees reboots for kernel upgrades. So, what were the last kernels used? 3.19, replaced by 4.0.5 2 months ago and yesterday with 4.1.3. And ...


0

This could be an answer, but my original intention was to provide useful hints for you. If I read correctly, you are trying to bind a single key to several keys presses. In your given example, you want to remap End to Ctrl+E (this is easier to understand). Known approach: xmodmap and xbindkeys The classic approach is to check your keycode using xev and ...


-1

sudo apt-get install -f followed by sudo apt-get install virtualbox


0

Got it! Ive double checked all single setting places descriped in the question above and did two things now: in init I set the rootCommand to fbsetroot -solid grey15 int startup I commend out the line with fbsetbg -l



Top 50 recent answers are included