New answers tagged

0

For RHEL and related distributions, there is now a new directory /etc/security/limits.d The files within this directory silently override the information in the /etc/security/limits.conf file(!). Check for 90-nproc.conf and you'll see the culprit there. You can create new files in this directory - they are read in numeric order, so for application ...


4

I finally solved it by nuking the Arch partition and its boot files in my Ubuntu's /boot directory from orbit. Ubuntu is fine again now, all remaining GRUB entries are working again. Here's a list of what I did: Delete Arch's initramfs files: sudo rm /boot/initranfs-linux* Delete Arch's vmlinuz file: sudo rm vmlinuz-linux Format the Arch partition ...


0

You have a huge list Devansh. but here is what is understood. Which Linux Distro you want to install. You need at least 100 GB of partition per Linux Distro system its totally depends on your package selection. If you leave space unattended in the disk management then it can be detected by the Linux OS while installation. you don't need to create a file ...


0

Well, I finally tried again to install elementaryOS with the iso of December 2015 and it worked after I've changed UEFI boot to legacy. After installation, the Ethernet port worked but still not the Wifi. To make the Wifi work, I have upgraded the kernel from 3.19 to 4.3.0. Now Ethernet and Wifi seem to work fine.


1

Don't be angry :) I installed GNU Octave, version 4.0.0 on my fresh Ubuntu 16.04 LTS Here's how you can install it in your system: Using PPA sudo apt-add-repository ppa:octave/stable sudo apt-get update sudo apt-get install octave Compiling the source yourself sudo apt-get build-dep octave wget ftp://ftp.gnu.org/gnu/octave/octave-4.0.0.tar.gz tar ...


0

If nfs-client is trying to mount exported share inside linux container then container should run in privileged mode. In case of docker; $ docker run -it --rm --privileged ubuntu:14.04


1

Fundamental issue... do you know the serial number of the 'original' graphics card? If you didn't record that info then what are you going to compare against? Also checking ebay, no-one is selling graphics cards for the N5010 but people are selling mobos with tested graphics... implies that the graphics is built into the mainboard. If your shop really ...


3

The meaning of %h in a config file should be documented in the corresponding program's man page. Here are some examples for %h: smb.conf - the Internet hostname that Samba is running on. date - same as %b (locale's abbreviated month name (e.g., Jan)) ssh_config - various (e.g. remote host name) sshd_config - home directory of the user being authenticated


0

Perhaps you're thinking of date format strings? date '+%h', for example, returns the current month. Run man date to see other sequences like this.


3

Solution to the problem is to modify the entries in cron with the absolute path names. Added cron command logging capability as the machine doesn't have an MTA to send failure notifications, as follows: 0 0 * * * /usr/local/bin/bitcoind -datadir=/home/pi/bitcoinData -daemon >> ~/bitcoinData/bitcoin-cron.log 2>&1 0 6 * * * ...


0

xdpyinfo should tell you what you want to know.


1

A solution seems to be to replace xvfb with a real X11 server using the dummy driver from the package xserver-xorg-video-dummy. This askubuntu answer provides an example Xorg.conf file, but most people seem to refer to this xpra wiki on using this driver, with its example conf file.


0

Just too brief. tee can be used for this purpose ps | tee ps-info.txt


2

tee writes both to file and stdout , use that: ps -ef | tee psoutput.txt | less Or just use && to open file with less upon successful completion of ps ps -ef > psoutput.txt && less psoutput.txt


3

du is for disk usage; it is showing that you are using 100G. Rather than du, use df -h; it will report used and available space.


3

du shows occupied space. To show the total, use df.


2

The problem is caused because you moved eclipse to a location outside the directory where you installed it. Instead of moving eclipse to a directory in your path, create soft link to the executable. Assuming Eclipse is extracted within your home directory: sudo ln -s /home/masi/eclipse/eclipse /usr/local/bin/eclipse You can then run eclipse without ...


1

First of all moving eclipse binary to /usr/local/bin/ was a bad move. Many executables need to to link to dynamic link libraries - usually called shared objects or .so - to work properly. When you moved eclipse to /usr/local/bin you might have forgotten to move its corresponding shared objects to the same location and that is why you got : The Eclipse ...


0

id | awk '{print $1}' | sed 's:.*(::;s:)$::'


1

Any program can allocate a pseudo-terminal, it doesn't have to involve a login. It's just another form of inter-process communication, which is useful if the application needs to emulate a terminal. An example is the Expect program. It allocates a pseudo-terminal when it spawns a program, so that the program will act as if it's being run interactively by a ...


1

A solution that works for me is to downgrade the ntfs-3g version from the 2014 release to the 2012 release. This should solve your ntfs partition access problem. In the long run this is not a solution because eventually you will need to run the latest release. More info here


0

I think you're missing allow_other on the ntfs-3g filesystem mount. (Required because ntfs-3g is a FUSE filesystem, like mhddfs).


3

If you don't like the idea of dedicating a whole terminal to watching the output of df, you could consider a tool such as conky. There are countless examples of using conky to monitor everything from HDD usage, HDD temp, ram usage, local weather, news headlines... you name it.


14

As Julie said, you can use df to display free space, passing it either the mount point or the device name: df --human-readable /home df --human-readable /dev/sda1 You'll get something like this: Filesystem Size Used Avail Use% Mounted on /dev/sda1 833G 84G 749G 10% /home To run it continuously, use watch. Default update interval is 2 seconds, but ...


2

df is a simple command line utility that shows you disk usage, including free space. Check man df for details.


0

My solution is simpler. I use the terminal and do the following: sudo rm /boot/grub/grub.cfg sudo update-grub If you have further problems, just use boot-repair, which is a free download, small enough to burn to a CD disk.


2

I solve the problem by using Amrish instructions at Ask Ubuntu Stack Exchange, i.e. by using the following code: sudo rm /etc/resolv.conf sudo ln -s ../run/resolvconf/resolv.conf /etc/resolv.conf sudo resolvconf -u


1

Where we would get, if every new user would be able to sudo by default? This is administrator privilege. Ubuntu is using group sudo to give users this privilege. If you want to allow user to run sudo for everything, add him to the sudo group: useradd -G sudo user1 If you want to limit the user more, you should check how sudoers file look like and adjust ...


0

I found the answer with the help of a very good friend who was very patient with my problem. The problem was that the putty client was not set up to accept my key, I had the authorized key files and all the permissions right it's just that this one little problem was not noticed until now. In my putty client I did not put in a private key into my secession ...


1

Just for the record Elementary OS != Debian, it might be similar in some ways, but it's unlikely that they only changed the name. Look at your grub configuration, typically found in /etc/grub or /etc/grub.d, it's probably just a matter of changing the order of things in it. On my machine (that runs Debian exclusively, so I can't test, but if elemtary OS ...


-2

Route the internals to an external through the respective NAT


2

Judging from mdadm-3.4 source code, it does not accept any other inputs. As for the near=2,far=1 output, that's the default and nothing changed but values =1 are simply no longer printed because that essentially means "no additional copy" (counting starts at 1). In case both near and far equal 1, it prints NO REDUNDANCY. However you're not actually able to ...


0

(This answer doesn't contain a working solution, but see the end of the post for details we found out while investigating.) The instruction mentions "Linux 2.6", which is ages old—the current version is 4.5.2. I wouldn't expect this driver to work. The second point is: drivers that aren't part of Linux are usually of inferior quality and lack support. So ...


1

Players employ caches to hide connectivity problems from the users; that's probably where the delay comes from. Check your player's settings to see if you can tweak the buffer size. As for ever-growing delay, it might be caused by lack of bandwidth. You should enable logging in your player and see if it ever pauses waiting for cache to fill. If it does, ...


0

That command should work fine. Did you see any errors? Try the follwing in a terminal and check for a response: echo "return awful.util.spawn('nm-applet')" | awesome-client You could also try using the full path: /usr/bin/nm-applet


0

In the future to prevent this issue I highly recommend using partition UUIDs (as opposed to /dev/sdX naming) in your fstab. It's super easy to do and will make your life easier, especially for automounting any drives that are likely to change location or might simply be plugged/detected in a different order. https://wiki.archlinux.org/index.php/fstab#UUIDs ...


0

All my fault. I'm the idiot here.. plugged in another 1tb hdd and it just so happens to be on a lower numbered sata port than the ssd so it took sdc and pushed the ssd to sdd. :(


1

The linux kernel source in Ubuntu is open source, so there is no problem with using (parts of) it, just like you can use any other linux kernel source. Using the Ubuntu name for your OS is not allowed unless you have permission from Canonical (who own the Ubuntu trademark), which in general is true for any other trademarks and their owners too. Of course ...


0

So I fixed my issue but.. so my second ssd that WAS /dev/sdd somehow change to /dev/sdc. Now even fixing that the journalctl still complained about dev-sdd.device. I wound up having to comment out both extra drives leaving only / and swap. I do not know exactly what happened to cause teh device change because the UUID's were still correct. Nor am I certain ...


0

The way you have tried the mount command still uses the information from /etc/fstab. Try the following version and it should work independent of the contents of /etc/fstab: mount -o remount,rw /dev/sdb6 / Note: Instead of /dev/sdb6, use whatever device is valid for your drive.


0

Ubuntu 12.04 has OpenNebula 3.2.1, whose creation command only takes template files: oneimage create template The options you're specifying are valid for newer releases of OpenNebula. You can either convert your options to template values (see the OpenNebula 3.2 documentation for details; for example --name maps to the NAME template directive) or upgrade ...


0

Are you sure youre /etc/fstab is ok? I know the error under Arch, if I try to mount a device on Startup which doesn't exist. Check youre /etc/fstab if your device is set correctly.


0

Found a fix, although I don't understand it. I had to change which NVIDIA driver I was using. From... Using NVIDIA legacy binary driver - version 304.131 from nvidia-304 (proprietary) ... to ... Using NVIDIA binary driver - version 361.42 from nvidia-361 (proprietary, tested) To change this, I went to Software & Updates > Additional Drivers (Tab).


0

This kind of behavior can be anything related from hardware to software errors, but most of the times it is directly related to a hardware problem. I had once this type of error in Ubuntu 14.04 and sorted it out by simply running the memory test unit (memtest86+). This somehow sorted out the problem and I didn't looked deeper into the root cause. Give it a ...


1

Fixing grub.cfg by hand (not recommended) Looking at your grub.cfg the Ubuntu entry is broken (and some of the following one as well) menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-eee18451-b607-4875-8a88-c9cb6c6544c8' { recordfail load_video gfxmode $linux_gfx_mode insmod ...


0

I came up against this same issue, but didn't want to switch to one of the DMZ cursor themes, so I figured out how to apply @Angelo Geels' method to the Oxygen cursor themes: # Ensure that dependencies are installed sudo apt-get install cmake inkscape # Download the cursor source wget ...


-1

It goes through all the files in your current directory and if read permission is granted will send that file to be displayed by more command. Lousy code for couple of reasons though: it tries to parse output of ls, doesn't quote variables, and assumes theres no binary files. If you read binary file, it will display junk on screen


-2

read number read square if [ $((number * number)) -eq $square ]; then echo "You got it right" else echo "You are wrong, it is $((number * number))" fi


2

This is normal behaviour. Mounted filesystems are normally not re-exported by nfs. You have to share both. E.g. you can add this to MachineA exports: /data/Storage MachineB(rw,sync,no_subtree_check,no_root_squash) You might also need to add crossmnt option into the /data options in exports of MachineA or nohide to /data/Storage options in order ...


1

Maybe you should do this: php-config --extension-dir If php-config doesnt exist, then apt-get install php-config if ubuntu/debian or yum install php-config if centos/redhat) That command will give exact location of your php extension folder. And change in your php.ini in order to use extensions...



Top 50 recent answers are included