There is no such command, since there is no list of “attempted mounts”. You can compare the current mount list (/etc/mtab
) to the list of shares registered to be mounted though (/etc/fstab
).
Alternatively you could try to grep
through the system log files to find failed mount attempts.
Related Posts:
- Cannot connect to the Docker daemon at unix:/var/run/docker.sock. Is the docker daemon running?
- apt-get error: Sub-process /usr/bin/dpkg returned an error code (1)
- “Couldn’t find a file descriptor referring to the console” on Ubuntu bash on Windows
- error: ‘Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)’ — Missing /var/run/mysqld/mysqld.sock
- error: ‘Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)’ — Missing /var/run/mysqld/mysqld.sock
- “E: Unable to locate package python-pip” on Ubuntu 18.04 [duplicate]
- “E: Unable to locate package python-pip” on Ubuntu 18.04 [duplicate]
- “sed” command in bash
- WSL – GEDIT Unable to init server: Could not connect: Connection refused
- How to open some ports on Ubuntu?
- Uncompress tar.gz file
- What does it mean to mount a file system in linux?
- “Unable to find remote helper for ‘https'” during git clone
- What is the difference between /etc/rc.local and ~/.bashrc?
- Unable to establish SSL connection upon wget on Ubuntu 14.04 LTS
- Telnet [Unable to connect to remote host: Connection refused]
- wget returns “Unable to establish SSL connection”
- Curl : connection refused
- How to install Android SDK on Ubuntu?
- How do I install chkconfig on Ubuntu?
- make -j 8 g++: internal compiler error: Killed (program cc1plus)
- How to use sed to extract substring
- Bash export command
- How to edit gitignore file
- Adding a new entry to the PATH variable in ZSH
- how to search for a directory from the terminal in ubuntu
- What are the functional differences between .profile .bash_profile and .bashrc
- Difference in sites-available vs sites-enabled vs conf.d directories (Nginx)?
- What’s the best way to check if a volume is mounted in a Bash script?
- Job scheduling using crontab, what will happen when computer is shutdown during that time?
- Mount CIFS Host is down
- GPG does not have enough entropy
- df says disk is full, but it is not
- Why don’t EC2 ubuntu images have swap?
- Heartbleed: how to reliably and portably check the OpenSSL version?
- Is there a proper way to clear logs?
- What is the debian-sys-maint MySQL user (and more)?
- How should an IT department choose a standard Linux distribution?
- Command line program to test DHCP service
- What’s a .sh file?
- How to fix ‘sudo: no tty present and no askpass program specified’ error?
- ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: YES)
- How do I grep recursively?
- What does pss mean in /proc/pid/smaps
- How do I grep recursively?
- How to extract C source code from .so file?
- How to substitute shell variables in complex text files
- How to exclude a directory in find . command
- How can I find all *.js file in directory recursively in Linux?
- Argument list too long error for rm, cp, mv commands
- Difference between using “chmod a+x” and “chmod 755”
- How to restart remote MySQL server running on Ubuntu linux?
- ssh: Could not resolve hostname [hostname]: nodename nor servname provided, or not known
- Python subprocess.Popen “OSError: [Errno 12] Cannot allocate memory”
- Given two directory trees, how can I find out which files differ by content?
- -bash: fork: Cannot allocate memory
- Explanation of polkitd Unregistered Authentication Agent
- Bash script: bad interpreter
- PHP and mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
- How to grep and replace
- What does “&” at the end of a linux command mean?
- How to recursively download a folder via FTP on Linux
- error : storage class specified for parameter
- Wait for user input in C?
- How do I write stderr to a file while using “tee” with a pipe?
- WordPress Update – This is usually due to inconsistent file permissions.: wp-admin/includes/update-core.php
- How to run a server on port 80 as a normal user on Linux?
- Copying a large directory tree locally? cp or rsync?
- Check if port is open or closed on a Linux server?
- Moving an already-running process to Screen
- When does `cron.daily` run?
- Permission denied (publickey). SSH from local Ubuntu to Amazon EC2 server
- How to run a command multiple times, using bash shell?
- LVM dangers and caveats
- How to reconnect to a disconnected ssh session
- Should I quit using Ifconfig?
- How to know from which yum repository a package has been installed?
- SSL Certificate Location on UNIX/Linux
- What is “-bash: !”: event not found”
- tar – Remove leading directory components on extraction
- Keeping a linux process running after I logout
- Force dig to resolve without using cache
- How to list Apache enabled modules?
- How to forcibly close a socket in TIME_WAIT?
- How to check if an RSA public / private key pair match
- Colors in bash after piping through less?
- How can I monitor hard disk load on Linux?
- Why does sudo command take long to execute?
- “POSSIBLE BREAK-IN ATTEMPT!” in /var/log/secure — what does this mean?
- What’s the reverse DNS command line utility?
- How to add a security group to a running EC2 Instance?
- How bad is it really to install Linux on one big partition?
- How do I extract login history?
- SSH from A through B to C, using private key on B [closed]
- Is it possible to reboot a Linux OS without rebooting the hardware?
- Does the “bs” option in “dd” really improve the speed?
- What solutions exist to allow the use of revision control for server configuration files? [closed]
- Is there a way to do a remote “ls” much like “scp” does a remote copy?
- Dump a linux process’s memory to file
- What is the difference between /sbin/nologin and /bin/false?