New answers tagged

0

The directory is for globally installed software by the admin. If you want to install software by yourself for yourself, do it in your home directory. Check the FHS for more information about standard locations.


5

There is nothing that stops you from installing and running applications locally, without sudo privileges. Locally, meaning: in your own home directory. That is how it is supposed to be. You shouldn't have the same permissions on directories you are sharing with possible other users on your system. About /usr The explanation on what usr literally stands ...


3

The directory name "usr" already implies that (normal) user based programs are supposed to be there. Not since the Dark Ages of Unix history, if it ever was. What do the abbreviations "etc" and "usr" mean? Now, the /usr directory is for the administrator to handle. However, almost all content in /usr is handled by packages, and ...


0

I installed Ubuntu 16.04 today and I noticed the same problem. However, I fixed this with busybox-syslogd. Yup! I've Just installed that package and problem has been solved. :) sudo apt-get install busybox-syslogd I hope this simple solution is useful for other people around.


1

If the message is something like /dev/sda2: clean, 201776/60878736 files, 4991277/243040256 blocks You need to do ... nothing, thats perfectly fine, this message should normaly be invisible but somehow it snuck to visbility. It just tells you that there are no orphaned nodes and that your journal is clean.


0

rm -R A" or sudo rm -R A" doesn't work (not even as root) because " is a special character which must be escaped with a backslash \ otherwise it's interpreted by the shell (and that has nothing to do with permissions or ownership of the file/folder). Since all the foldernames (except Speciale) start with a letter & end with a " you can delete them ...


0

@waltinator, as stated on a PerlMonks.org thread the Internet Archive's WayBack Machine http://web.archive.org/web/20061213023831/http://www.netspinner.co.uk/Resources.html has a working package of pathfunc.tgz


1

Note: This will not work if "Easy Install" option in VMware is used, which will automatically set up Ubuntu with a default set of settings. When prompted to create the Virtual Machine, select the Ubuntu version in the OS type, but don't specify the ISO and use "I will install the operating system later", do not automatically power up the VM, and edit the ...


1

I had the same problem as you, I also thought I had completely removed the kernel by deleting all its entries in /boot and directory in /lib/modules & updating GRUB, but i found the one directory that is used by update-initramfs to keep track of the kernels: /var/lib/initramfs-tools


1

In Ubuntu 14.04 this is done by tmpreaper, which is called daily by cron (from /etc/cron.daily). The program can be configured via /etc/default/rcS and /etc/tmpreaper.conf.


0

Work out the exact drive name if you are not sure from Disks. In my example the assessment says one bad sector Under volumes the device name is /dev/sdb2 The file system is ext4 The drive must be unmounted Run> fsck.ext4 -f -C0 /dev/sdb2 (if you don't want to be prompted all the time add the -y option) Note: After running this command I can use ...


0

Indeed, it was a matter of corrupt stick. I had a few memory sticks/sd cards after each other which gave me the same error which made me think that it was a settings fault, but it turned out to be the sticks themselves. Problem solved


1

Open Disk Utility. In the left column, look for your hard disk, and click on it. In the right column, see if you can find "Swap". If so, you have swap enabled; you can click on that portion to see details. Alternately, open a terminal with Ctrl+Alt+T, and type swapon -s; if you see a line like the below, with statistics, swap is enabled: ...


2

I see you are using LVM partitions. df command never shows swap partitions because they are not a file system partition. You can check your existing Logical Volumes with lvs command and check your device mapper (dm-X) devices witch ls -l /dev/mapper/ or dmsetup ls


1

find command can do such miracles. The command ls -i will give you inode number of files or directory. Then you can use find to delete such files or directory using: find . -inum <inode-number> -delete #for a file and find . -inum <inode-number> -exec rm -rf {}\; #for directories


-1

You can't see anything because you formated it when you wrote mkfs... sorry bro.


-1

If searching for C:/Program Files (x86)/LibreOffice 5 alternative in ubuntu headless, its /usr/lib/libreoffice.


0

hehe my specialty ;) computer security is a hobby of mine... when you start up the computer you will get a grub screen that displays the normal bootup option and below that "Advanced options for ubuntu" select that and go to one of the recovery terminals... reboots my computer... select the 2nd one in that menu it'll say "ubuntu with generic (recovery mode)" ...


33

You can either escape the directory name using a backslash like this (assuming you're operating in the parent directory of the one you want to delete): rmdir \~ Or you can use relative paths with a dot as the current directory (also when located in the parent directory): rmdir ./~ Or you can use the full absolute path: rmdir /home/USERNAME/~ And ...


42

What python giveth, python taketh away: $ python -c 'import os; os.makedirs("~/foo")'; tree; python -c 'import os; os.removedirs("~/foo")'; tree . └── ~ └── foo 2 directories, 0 files . 0 directories, 0 files If you did os.mkdir, you could undo it with os.rmdir (and similarly for os.makedirs and os.removedirs).


63

Escape the ~ with \~ or use single quotes '~'. so you can rmdir ~/\~ or cd ~ ; rmdir '~'


0

I can't say if the drive was "damaged", maybe it was and maybe it wasn't. But as someone who can say the same: "For 10+ years working with windows...", I can tell you that if you're running Windows 10 that could be the source of your new problems. I ran into a new problem my first day on 10: in 10 a database is created for external drives (it might be the ...


1

I use several years ubuntu and windows with dual-boot, and when i unmount the drive the correct way, in windows always show up the error message, but never was error on my usb drive. In W10 you can turn off this pop-up error message.


2

This has little to do with any operating system. This is a file system error, which in most cases indicates that the drive was not unmounted properly (user error). It is not an absolute indication of damage, it merely indicates a possibility of a damage. If present, the damage is usually limited to the last written file(s). Windows "Repair" command in this ...



Top 50 recent answers are included