Using Ubuntu 17.10 (artful). Can't copy and paste directory in terminal.
I have a collection of files and directories with strange names, they contain spaces and the special characters \, *, ), ( and ?. All of them cause problems when I try to use them in the command line or scripts, e.g.:    $ cd space dir bash: cd: space: No such file or directory  $ cat space file cat: space: No such file or directory cat: file: No such file or directory  $ cat ( bash: syntax error near unexpected token `newline'  $ echo content &gt;\ &gt; ^C  $ ls ? (  )  *  ?  \   How do I enter file or directory names that contain special characters in the terminal?
The use of imaginary and complex values comes up in many physics and engineering derivations. I have a question about that: Is the use of complex numbers simply to make the process of derivation easier, or is it an essential ingredient, without which it would be impossible to derive some results?   I can identify two different settings where the answer may be different:   It doesn't look like it is mandatory for results in Newtonian mechanics, General Relativity and classical electrodynamics. Can we say the same thing about quantum mechanics either way for sure?   Could this be a difference in quantum mechanics over the classical picture? Error: mysqli_stmt::bind_param(): Number of elements in type definition string doesn't match number of bind variables I'm going to reset my Android tab because its internal memory is low.  Is it safe to erase the system data of my android tablet (not rooted)? If I restore the factory setting of my Android, will the uninstallable apps be also removed or only those that can be uninstalled? System of linear equations having a real solution has also a rational solution. I saw this question     Let $A ∈ M_{m\times n}(\mathbb{Q})$ and $b ∈ \mathbb{Q}^m$. Suppose   that the system of linear equations $Ax = b$ has a solution in   $\mathbb{R}^n$. Does it necessarily have a solution in $\mathbb{Q}^n$?   and I thought I'd give an interesting, possibly wrong, approach to solving it. I'm not sure if such things can be done, if not maybe you can help me refine.    I considered the form of the equality as  $$ A^{(1)}x_1+\cdots+A^{(n)}x_n=b, $$  where $A^{(i)}$ is a column vector of $A$. I then noticed that for $x_i\in\mathbb{R\setminus Q}=\mathbb{T}$ then, and this is where I think I'm doing something forbidden, each $x$ has the represenation  $$ x_1  =  k_{11}\tau_1+\cdots+k_{1p}\tau_p \\  x_2= k_{21}\tau_1+\cdots+k_{2p}\tau_p \\ \vdots \hspace{4cm} \vdots \\ x_n=k_{n1}\tau_1+\cdots+k_{np}\tau_p,$$  where $\tau_i$ is a distinct irrational number, $k_{ij}\in\mathbb{R}$, and $p$ is the number of such distinct irrational numbers. I wound this out, but there may be a discrepancy with $p$ and $m$. I feel this method can lead me to the answer, but I'm not sure where to go from here.  EDIT$^1$:  I end up getting something like this, I believe, after substitution:  $$ A(k^{(1)}\tau_1+\cdots+k^{(p)}\tau_p)=b$$  Here, $k^{(i)}$ is the vector  $$\begin{pmatrix} k_{1i} \\ \vdots \\ k_{ni} \end{pmatrix}.$$  EDIT$^2$:  I think there is no discrepancy with $p$ and $m$ because $A\in M_{m\times n}(\mathbb{Q})$, $K\in M_{n\times p}(\mathbb{R})$, and $\tau\in M_{p\times 1}(\mathbb{T})$, so  $$ (m\times n)\cdot (n\times p)\cdot (p\times 1) = m\times 1. $$ How do I get the number of days between two dates in JavaScript? A 398MB directory was only compressed to 393MB using 7Z and Normal ZIP compression. Is this normal? If so, why do people continue to use ZIP on Windows? Would the One Ring have stayed hidden if Bilbo hadn't turned up? My boot is horribly slow, and I don't know why.  $ systemd-analyze  Startup finished in 10.975s (kernel) + 49.732s (userspace) = 1min 708ms $ systemd-analyze blame           34.971s apt-daily.service          20.590s snapd.refresh.service          17.113s grub-common.service          16.033s apport.service          16.027s networking.service          15.894s ondemand.service          15.860s irqbalance.service          15.655s speech-dispatcher.service          11.695s ModemManager.service           9.772s accounts-daemon.service           8.626s NetworkManager-wait-online.service           8.058s systemd-logind.service           8.053s bluetooth.service           7.944s gpu-manager.service           7.896s alsa-restore.service           7.892s pppd-dns.service           7.882s rsyslog.service           7.860s avahi-daemon.service           7.844s dev-sda1.device           7.842s systemd-user-sessions.service           7.648s lightdm.service           7.610s teamviewerd.service           6.445s apparmor.service   Also, during boot-up, I see a message that says something like:  device descriptor read/all, error -62 ata1 softreset failed (device not ready) #most of the times error loading journal #(sometimes) Test WP failed, assume Write Enabled Asking for cache data failed     #most of the times Assuming drive cache: write through   apt-daily.service slows the boot the most. Any idea on how to tackle that?  I have Ubuntu MATE 16.04. How do you declare an interface in C++? How do I setup a class that represents an interface?  Is this just an abstract base class? What recourse do I have if I believe a moderator has abused their privileges? Help removing subsection and subsubsection numbers from Table of Contents TOC Hello I am trying to further modify my TOC.  I got an answer  as to how I could remove the \section numbers on the left side of the TOC and now I would like to expand that.  I would like to remove the left-hand numbering for \subsection and \subsubsection as well but I do not know how.  (I also want to keep these numbers out of the document and I am using \def\sectionformat{} to do that)  Also, my TOC is slightly over one page and so I would like to adjust the spacing from 2 to 1.5,  is there any way to do this?    \documentclass[12pt, a4paper, twoside]{article}     \usepackage{baskervald}     \usepackage[margin=1in,bindingoffset=15.5mm,heightrounded]{geometry}     \usepackage[T1]{fontenc}     \usepackage[notes]{biblatex-chicago}     \usepackage{filecontents}     \usepackage{microtype}     \usepackage{url}     \usepackage{makeidx}     \usepackage{indentfirst}     \usepackage{setspace}     \usepackage{chngcntr}\counterwithin*{footnote}{section}     \newcommand*{\textsubscript}[1]{$#1{}$}     \DefineBibliographyStrings{english}{references = {Works Cited}}     \DeclareBibliographyCategory{primary}     \makeindex     \addbibresource{bibliography.bib}     \makeatletter     \let\latexl@section\l@section     \def\l@section#1#2{\begingroup\let\numberline\@gobble\latexl@section{#1}{#2}\endgroup}     \def\@seccntformat#1{\ifcsname #1format\endcsname\else\csname the#1\endcsname\quad\fi}     \def\sectionformat{}     \def\subsectionformat{}     \def\subsubsectionformat{}     \makeatother     \author{}     \title{\vspace*{36 pt}\textbf{\emph{\Huge{Big Important Title}}}\vfill}     \date{}     \begin{document}     \tableofcontents     \section{Part I}     Hello World     \end{document} finding $\int_0^\infty \dfrac{dx}{1+x^4}$ through complex analysis Script to Notify me when something happens on a shared directory The situation is:  I have a shared directories from many other machines where other users work on.  I need to be notified whenever a user create, modify or delete a directory or file from his local directory which I share using smb...  It looks like the folder actions in the MAC systems..  Is there a software that do that?!  If there is no such application, any help in writing a script for that is appreciated..  Thanks in advanced... I want to start an Xorg server (which should only feature a minimal xterm terminal emulator from a newly created &quot;pristine&quot; tty). I have thought this to be as simple as issuing a xinit or maybe a startx however both have failed me. Therefore the question: How to manually run/init/start a Xorg server on a different VT/TTY? here the Longer background story to the question at hand: This is the backgroud and what I have tried already: Looking at man openvt I was able to run a shell on a newly created tty (or vt, cannot tell precisly the different vt&lt;&gt;tty) like this:  $&gt; sudo openvt -s /bin/bash  the -s of causes the direct switch to that new tty/vt on that new tty I wanted to manually start a Xorg server which according to man xinit should start with a minimal xterm application. On the new shell on the switched to tty I (created via openvt) I hence issues this command:  $&gt; su -c 'xinit xterm -display :4 -- :4' - mahr &amp;&gt;/tmp/output  and I receive this output $&gt; cat /tmp/output X.Org X Server 1.19.6 Release Date: 2017-12-20 X Protocol Version 11, Revision 0 Build Operating System: Linux 4.4.0-148-generic x86_64 Ubuntu Current Operating System: Linux scitech 4.15.0-70-generic #79-Ubuntu SMP Tue Nov 12 10:36:11 UTC 2019 x86_64 Kernel command line: BOOT_IMAGE=/vmlinuz-4.15.0-70-generic root=/dev/mapper/ubuntu--vg-root ro Build Date: 03 June 2019  08:10:35AM xorg-server 2:1.19.6-1ubuntu4.3 (For technical support please see http://www.ubuntu.com/support)  Current version of pixman: 0.34.0     Before reporting problems, check http://wiki.x.org     to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting,     (++) from command line, (!!) notice, (II) informational,     (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: &quot;/home/mahr/.local/share/xorg/Xorg.4.log&quot;, Time: Thu Nov 28 10:57:53 2019 (==) Using system config directory &quot;/usr/share/X11/xorg.conf.d&quot; (EE)  Fatal server error: (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied) (EE)  (EE)  Please consult the The X.Org Foundation support       at http://wiki.x.org  for help.  (EE) Please also check the log file at &quot;/home/mahr/.local/share/xorg/Xorg.4.log&quot; for additional information. (EE)  (EE) Server terminated with error (1). Closing log file.  Session terminated, terminating shell...xinit: giving up xinit: unable to connect to X server: Connection refused xinit: unexpected signal 2  ...terminated. What follows if we fail to reject the null hypothesis? H2G2 — Teleportation Also Results in Time Travel? Why can't I pass the table name to a prepared PDO statement?  $stmt = $dbh-&gt;prepare('SELECT * FROM :table WHERE 1'); if ($stmt-&gt;execute(array(':table' =&gt; 'users'))) {     var_dump($stmt-&gt;fetchAll()); }   Is there another safe way to insert a table name into a SQL query? With safe, I mean that I don't want to do  $sql = "SELECT * FROM $table WHERE 1" How do I get the browser to reask me to integrate with a website? I'm using  and I accidentally clicked "No" when asked if I want to integrate with the website.  How can I have Firefox or Chrome reask me to integrate the site with Ubuntu? JSF returns blank/unparsed page with plain/raw XHTML/XML/EL source instead of rendered HTML output Is there an option to output a manual page in a different language? I don't want to change the computer language completely, but only specific manual pages. For example  $ man -English man Man is a manual program … $ man -Russian man Инструцтия для Unix, BSD и Linux. …