Tag Info

Hot answers tagged

9

Why can you continue viewing a movie although it's been deleted? Because the file descriptor might be gone, but the inode is still there! And only when the inode gets deleted, is the file gone forever! So in your case: when you cd to / and all files in that tree are closed will the inodes be recycled and will the directory be gone forever¹... ...


5

I think pwd you run was a bash shell built-in. It just printed out the path it held in memory without looking up the file system. $ type pwd pwd is a shell builtin $ /bin/pwd /bin/pwd: couldn't find directory entry in '..' with matching i-node


5

You can watch any command so give this a try watch "ps aux | grep python"


3

There's no property on a file that indicates that it's hidden. Early versions of Unix had an ls command that hid files whose name begins with . (“dot files”) and that tradition stuck. The ls command, by default, hides files whose name begins with . and shows all other files. Some graphical file managers hide files whose name begins with ., just like ls, ...


3

opencv.sh~ is not a hidden file. POSIX defines a hidden file as one starting with a dot, but opencv.sh~ does not start with a dot. If you don't want to see these files, you can explicitly avoid them by using a glob that doesn't include them (for example, shopt -s extglob followed by ls !(*\~)), or (as I assume these are from vim), you can configure vim not ...


2

People usually use a pager like less to read such a long output: sshfs -h | less On less type H to show help. Q to quit. Note that you might occasionally need 2>&1 to see also additional output from stderr. For sshfs -h it has such an output so you'd better do that like this: sshfs -h 2>&1 | less Besides using a pager, on Linux text ...


2

You can also use top instead of watch: top -p $(ps ax | grep python | awk '{print $1}' | paste -sd "," -) -d 2


2

The file (directory) is open. When you do rm it, the OS marks it as deleted without actually deleting it. In case you try to do cd into this directory from another shell instance, you will be denied the permission. After you cd out of this directory, the directory will actually get deleted.


2

The OS doesn't return that the working directory is 'dir1', the shell does. The shell keeps track of the current working directory, and the 'pwd' command you're running is a command built into the shell. The shell is not aware of the fact that your 'rm' command removed the directory. $ type pwd pwd is a shell builtin Try running /bin/pwd instead: $ ...


1

I've just found out that your chip is actually rtl8192eu. As far as I know, there is no driver for it in Ubuntu's repo. However, as v0yAgEr mentioned on OSMC forums, there is driver for that chip works for kernel version 3.18 on GitHub. I modified v0yAgEr's tutorial to a way hopefully would work for you: Install build-essential: From the computer have ...


1

Yes, monit either needs to run sudo, or to be running as the root user. Configuring monit as its own user with the correct permissions is also viable however it is probably the most involved of the potential solutions. Generally running sudo from scripts is not viable as it will prompt for a password. It is possible to stop sudo prompting for a password in ...


1

"make modules_install install" tries to build initrd image on /boot partition, which has 162 megabytes free, which is simply not enough. If you want to compile kernel yourself on Ubuntu, you need to prepare at least 1GB free space on /boot partition.


1

It's devilspie2 now. (devilspie is not maintained now) Please follow this link to get the tool & related info. If you are on Ubuntu then click here For man page click here


1

You need to unload the nouveau driver before you can load the nvidia driver. However, the nouveau driver is currently in use by the X-server, so it cannot be unloaded yet. You have to stop the X-server first (but don't just re-start it, as then it will use the nouveau driver again). So in short: stop X-server: sudo service lightdm stop unload the nvidia ...


1

Have you tried just restarting X? End session / logout and login again


1

Try umount -f /media/sdb1 or umount -l /media/sdb1. If all else fails you can manually edit /etc/mtab to remove the offending mount entry.


1

In your ispconfig.vhost file, see this block: <FilesMatch "\.ph(p3?|tml)$"> SetHandler None </FilesMatch> It tells to not associate any handler for php files. A little after, you have another block: <IfModule mod_fcgid.c> ... <FilesMatch "\.php$"> SetHandler fcgid-script </FilesMatch> ... </IfModule> This ...


1

You have to run the iperf in server mode on one device iperf -s and iperf in client mode on the other iperf -c IPADRESSOFSERVER at the same time.



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