Hot answers tagged

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 ...


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.


3

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


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

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


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


2

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


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 ...


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


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 ...


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 ...


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 ...


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 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.


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 ...


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


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 ...


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, ...


1

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 * * * ...



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