Bash Shell: Display All Hidden Dot Files In a Directory
Bash Shell: Display All Hidden Dot Files In a Directory |
Bash Shell: Display All Hidden Dot Files In a Directory
Saturday, August 01, 2015
3:12 AM
≡ Menu
Linux and Unix tutorials for new and seasoned sysadmin.
Bash Shell: Display All Hidden Dot Files In a Directory
by Vivek Gite on October 29, 2006
How do I display only hidden (dot) files names under Linux / UNIX / Apple OS X / *BSD family operating systems?
You can view only hidden files or directories in the current directory, using ls command and shell patterns.
Bash list only hidden files
Use ls -a command to display all hidden dot files. The -a option do not hide entries starting with . in the current directory or given path. Type the following command:
$ ls -a
Sample outputs:
gimp.txt .viminfo
.gnome vivek-feed.xml
.gnome2 .vlc
.gnome2_private .vmware
.gnome-desktop .wine
.gnome_private Woh Lamhe - 2006-MP3-VBR-128Kbps
go.html .Xauthority
As you see output includes all the files including hidden dot files. To just display dot files use any one of the following command:
$ ls -a | egrep '^\.'
$ ls -A | egrep '^\.'
OR
$ ls -l ~/.[^.]* | less
OR
$ ls -ld ~/.[^.]*
OR
$ ls -l ~/.??*
OR
$ ls -ld ~/.??*
Sample outputs:
You can create an alias and put into your ~/.bash_profile or ~/.bashrc file:
$ vi ~/.bash_profile
Append the following line:
alias lh='ls -a | egrep "^\."'
OR
alias lh='ls -l .??*'
alias lhd='ls -ld .??*'
Save and close the file. Now you can use lh or lhd commands to display only hidden dot files under Unix like operating systems.
$ lh
OR
$ lhd
Sample outputs:
Fig.01: HowTo: use terminal ls command to see hidden dot files
Tweet itFacebook itGoogle+ itPDF itFound an error/typo on this page?
{ 7 comments… add one }
- James April 2, 2009, 5:17 pm
If you use grep you will lose formatting (multi-column) and colour.
If you use “ls -Ad .*", it will show you all hidden (dot) files and retain the formatting and colour. The “-d" argument is used to only show the top-level files and not contents of hidden directories.
Thanks for the tip, I didn’t know about the -A argument.
Reply Link - Jamie August 26, 2012, 9:14 am
I have some files I hid using ‘chflags hidden MyHiddenFolder’. When using ‘ls -la’ the hidden files and folders show a @ symbol next to it. After doing some research I found out that is for signifying Extended Attributes.
When doing a ‘ls -@’ you can see that the files I changed with ‘chflags’ to hidden have a “com.apple.FinderInfo". Do you know a way to ‘ls’ for files with Extended Attributes and more specifically just the ones that are hidden? Other files can have Extended Attributes and not be hidden.
Basically I wanted to clean up my Finder views by hiding files and folders I don’t use often and don’t want to see. However, I want to have a way to find all files/folders I have done that to so I have a way to go over which ones I have done that to.
Reply Link - sama July 31, 2013, 11:19 pm
Is there a way we can see this in nautilus ( ubuntu file browser ) ? how can i see all files i.e init.d files in gui !
Reply Link - Donavon January 26, 2014, 3:21 pm
$ ls -a display all hidden dot files
Reply Link - Belmondo June 7, 2014, 5:50 pm
what does this do differently to $ls -a ?
$ls -a .*
Reply Link - Christoffer Aasted September 9, 2014, 4:49 pm
ls -d .*
Another great and short one.
Reply Link
Leave a Comment
Name *
Email *
Website
Comment
Next post: Host a domain without CPanel or Plesk Control Panel
Previous post: Monitor Linux user activity in real time
Featured Articles:
- 30 Cool Open Source Software I Discovered in 2013
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012
- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop
©2000-2015 nixCraft. All rights reserved. Privacy Policy - Terms of Service - Questions or Comments
The content is copyrighted to nixCraft and may not be reproduced on other websites.
Apache Thrift
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Chrome to Safari port
Michael Gundlach (gundlach@gmail.com)
https://code.google.com/p/adblockforchrome/source/browse/trunk/port.js
Licensed under the MIT License. A copy of the License can be obtained at http://opensource.org/licenses/MIT
Crypto-JS
© 2009 – 2012 by Jeff Mott. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Date-Util.js
© 2011 by Jerry Sievert
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
FileSaver.js
Copyright © 2011 Eli Grey
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Hammer.js
Copyright (C) 2013 by Jorik Tangelder (Eight Media)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
jabsorb - a Java to JavaScript Advanced Object Request Broker
Copyright 2007-2009 The jabsorb team
Copyright (c) 2005 Michael Clark, Metaparadigm Pte Ltd
Copyright (c) 2003-2004 Jan-Klaas Kollhof
This code is based on original code from the json-rpc-java library which was originally based on Jan-Klaas' JavaScript o lait library (jsolait).
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
jQuery
Copyright 2013 jQuery Foundation and other contributors
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
log4javascript
Copyright 2013 Tim Down
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
pointerevents.js
Copyright (c) 2013 The Polymer Authors. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PDF.JS
Copyright 2012 Mozilla Foundation
https://mozillalabs.com/en-US/pdfjs/
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
This has been modified by Evernote Corporation.
RequireJS
Copyright (c) 2010-2011, The Dojo Foundation
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
SparkMD5
Copyright (C) 2004 Sam Hocevar (sam@hocevar.net)
https://github.com/satazor/SparkMD5
StackBlur
Copyright (c) 2010 Mario Klingemann
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
' ; // get html // ======== var _html = _response; // normalize // ========= _html = _html.replace(//gi, '>'); _html = _html.replace(/\s+\/>/gi, '/>'); // remove // ====== _html = _html.replace(/]*?>([\s\S]*?)/gi, ''); _html = _html.replace(/]*?\/>/gi, ''); _html = _html.replace(/]*?>([\s\S]*?)/gi, ''); _html = _html.replace(/< 100): case ($R.levenshteinDistance(_firstFragment, $R.nextPage__firstFragment__lastPage) < 100): // mark $R.debugPrint('NextPage', 'false'); // mark again if ($R.debug) { $('#debugOutput__value__NextPage').html('false'); } // pop page $R.nextPage__loadedPages.pop(); // break return false; default: // add to first fragemnts $R.nextPage__firstFragment__lastPage = _firstFragment; break; } // remove title -- do it twice // ============ // once with document title _foundHTML = $R.getContent__find__isolateTitleInHTML(_foundHTML, ($R.document.title > '' ? $R.document.title : '')); _foundHTML = _foundHTML.replace(_removeTitleRegex, ''); // once with article title _foundHTML = $R.getContent__find__isolateTitleInHTML(_foundHTML, $R.articleTitle); _foundHTML = _foundHTML.replace(_removeTitleRegex, ''); // display // ======= $R.displayPageHTML(_foundHTML, _pageNr, _pageWindow.location.href); // next // ==== $R.getContent__nextPage__find(_pageWindow, _found._links); }; // rewrites // ======== // rewrite displayPageHTML -- for multi-page articles // ======================= $R.displayPageHTML = function (_processedPageHTML, _pageNr, _pageURL) { // skip first if (_pageNr > 1); else { return; } // push to pages $C._nextPages.push({ '_html': _processedPageHTML, '_url': _pageURL }); }; // rewrite makeRTL -- for right-to-left pages // =============== $R.makeRTL = function () { $R.rtl = true; }; $R.makeNotRTL = function () { $R.rtl = false; } // set component object // ==================== window.ClearlyComponent = $C; window.$readable = $R; } ', ' ', ' ', ' ", ' ', '
", "
', '
', '
', " Filters:", ' trace', ' debug', ' info', ' warn', ' error', ' fatal', ' all', "
", '
', ' Search: ', ' ', ' Regex', ' Match case', ' Disable', '
', ' ', ' ', ' Filter', ' Highlight all', "
", "
", '
', " Options:", ' Log', ' Wrap', ' Newest at the top', ' Scroll to latest', ' ', ' ', ' ', "
", "
", "
", '
', '
', '
', ' ', ' ', "
", "
", "
", ""] }, i = []; ConsoleAppender = function () {}; var o = 1; ConsoleAppender.prototype = new Appender, ConsoleAppender.prototype.create = function (t, e, r, s, a, l, c, h) { function u(t, e) { this.loggingEvent = t, this.levelName = t.level.name, this.formattedMessage = e } function p(t, e) { this.name = t, this.initiallyExpanded = e } function d() {} var f = this, g = !1, m = !1, y = !1, v = !1, x = [], w = !0, b = o++; s = extractBooleanFromParam(s, this.defaults.initiallyMinimized), r = extractBooleanFromParam(r, this.defaults.lazyInit), a = extractBooleanFromParam(a, this.defaults.useDocumentWrite); var A = this.defaults.newestMessageAtTop, T = this.defaults.scrollToLatestMessage; l = l ? l : this.defaults.width, c = c ? c : this.defaults.height; var C = this.defaults.maxMessages, E = this.defaults.showCommandLine, S = this.defaults.commandLineObjectExpansionDepth, k = this.defaults.showHideButton, D = this.defaults.showCloseButton; this.defaults.showLogEntryDeleteButtons, this.setLayout(this.defaults.layout); var L, B, M, R, P, I = t ? "InPageAppender" : "PopUpAppender", O = function (t) { return m ? (handleError(I + ": configuration option '" + t + "' may not be set after the appender has been initialized"), !1) : !0 }, F = function () { return y && w && !v }; this.isNewestMessageAtTop = function () { return A }, this.setNewestMessageAtTop = function (t) { A = bool(t), F() && R().setNewestAtTop(A) }, this.isScrollToLatestMessage = function () { return T }, this.setScrollToLatestMessage = function (t) { T = bool(t), F() && R().setScrollToLatest(T) }, this.getWidth = function () { return l }, this.setWidth = function (t) { O("width") && (l = extractStringFromParam(t, l)) }, this.getHeight = function () { return c }, this.setHeight = function (t) { O("height") && (c = extractStringFromParam(t, c)) }, this.getMaxMessages = function () { return C }, this.setMaxMessages = function (t) { C = extractIntFromParam(t, C), F() && R().setMaxMessages(C) }, this.isShowCommandLine = function () { return E }, this.setShowCommandLine = function (t) { E = bool(t), F() && R().setShowCommandLine(E) }, this.isShowHideButton = function () { return k }, this.setShowHideButton = function (t) { k = bool(t), F() && R().setShowHideButton(k) }, this.isShowCloseButton = function () { return D }, this.setShowCloseButton = function (t) { D = bool(t), F() && R().setShowCloseButton(D) }, this.getCommandLineObjectExpansionDepth = function () { return S }, this.setCommandLineObjectExpansionDepth = function (t) { S = extractIntFromParam(t, S) }; var N = s; this.isInitiallyMinimized = function () { return s }, this.setInitiallyMinimized = function (t) { O("initiallyMinimized") && (s = bool(t), N = s) }, this.isUseDocumentWrite = function () { return a }, this.setUseDocumentWrite = function (t) { O("useDocumentWrite") && (a = bool(t)) }, u.prototype.append = function () { R().log(this.levelName, this.formattedMessage) }, p.prototype.append = function () { R().group(this.name, this.initiallyExpanded) }, d.prototype.append = function () { R().groupEnd() }; var z = function () { M(), g ? v && ee && B() : L(), M() && U() }; this.append = function (t) { if (w) { var e = f.getLayout().format(t); this.getLayout().ignoresThrowable() && (e += t.getThrowableStrRep()), x.push(new u(t, e)), z() } }, this.group = function (t, e) { w && (x.push(new p(t, e)), z()) }, this.groupEnd = function () { w && (x.push(new d), z()) }; var U = function () { for (; x.length > 0;) x.shift().append(); h && R().focus() }; this.setAddedToLogger = function (t) { this.loggers.push(t), enabled && !r && L() }, this.clear = function () { F() && R().clearLog(), x.length = 0 }, this.focus = function () { F() && R().focus() }, this.focusCommandLine = function () { F() && R().focusCommandLine() }, this.focusSearch = function () { F() && R().focusSearch() }; var H = window; this.getCommandWindow = function () { return H }, this.setCommandWindow = function (t) { H = t }, this.executeLastCommand = function () { F() && R().evalLastCommand() }; var q = new PatternLayout("%m"); this.getCommandLayout = function () { return q }, this.setCommandLayout = function (t) { q = t }, this.evalCommandAndAppend = function (t) { var e = { appendResult: !0, isError: !1 }, n = ""; try { var i, o; !H.eval && H.execScript && H.execScript("null"); var r = {}; for (o = 0, len = j.length; len > o; o++) r[j[o][0]] = j[o][1]; var s = [], a = function (t) { s.push([t, H[t]]) }; a("appender"), H.appender = f, a("commandReturnValue"), H.commandReturnValue = e, a("commandLineFunctionsHash"), H.commandLineFunctionsHash = r; var l = function (t) { a(t), H[t] = function () { return this.commandLineFunctionsHash[t](f, arguments, e) } }; for (o = 0, len = j.length; len > o; o++) l(j[o][0]); for (H === window && H.execScript ? (a("evalExpr"), a("result"), window.evalExpr = t, H.execScript("window.result=eval(window.evalExpr);"), i = window.result) : i = H.eval(t), n = isUndefined(i) ? i : formatObjectExpansion(i, S), o = 0, len = s.length; len > o; o++) H[s[o][0]] = s[o][1] } catch (c) { n = "Error evaluating command: " + getExceptionStringRep(c), e.isError = !0 } if (e.appendResult) { var h = ">>> " + t; isUndefined(n) || (h += newLine + n); var u = e.isError ? Level.ERROR : Level.INFO, p = new LoggingEvent(null, new Date, u, [h], null), d = this.getLayout(); this.setLayout(q), this.append(p), this.setLayout(d) } }; var j = i.concat([]); this.addCommandLineFunction = function (t, e) { j.push([t, e]) }; var K = "log4javascriptCommandHistory"; this.storeCommandHistory = function (t) { setCookie(K, t.join(",")) }; var V = function (t) { var e = n(); t.open(); for (var i = 0, o = e.length; o > i; i++) t.writeln(e[i]); t.close() }; this.setEventTypes(["load", "unload"]); var G = function () { var t = R(); t.setAppender(f), t.setNewestAtTop(A), t.setScrollToLatest(T), t.setMaxMessages(C), t.setShowCommandLine(E), t.setShowHideButton(k), t.setShowCloseButton(D), t.setMainWindow(window); var e = getCookie(K); e && (t.commandHistory = e.split(","), t.currentCommandIndex = t.commandHistory.length), f.dispatchEvent("load", { win: t }) }; this.unload = function () { logLog.debug("unload " + this + ", caller: " + this.unload.caller), v || (logLog.debug("really doing unload " + this), v = !0, y = !1, m = !1, f.dispatchEvent("unload", {})) }; var Y = function (t, e, n, i) { function o() { try { v && clearInterval(r), t(R()) && (clearInterval(r), n()) } catch (e) { clearInterval(r), w = !1, handleError(i, e) } } var r = setInterval(o, e) }, X = function () { var t = document.domain != location.hostname; return a ? "" : getBaseUrl() + "console_uncompressed.html" + (t ? "?log4javascript_domain=" + escape(document.domain) : "") }; if (t) { var Q = null, W = []; this.addCssProperty = function (t, e) { O("cssProperties") && W.push([t, e]) }; var J, Z = !1, _ = uniqueId + "_InPageAppender_" + b; this.hide = function () { g && m && (F() && R().Evernote.JQuery("command").blur(), J.style.display = "none", N = !0) }, this.show = function () { g && (m ? (J.style.display = "block", this.setShowCommandLine(E), N = !1) : Z || B(!0)) }, this.isVisible = function () { return !N && !v }, this.close = function (t) { v || t && !confirm("This will permanently remove the console from the page. No more messages will be logged. Do you wish to continue?") || (J.parentNode.removeChild(J), this.unload()) }, P = function () { function t() { try { s || f.show(), G(), y = !0, U() } catch (t) { w = !1, handleError(n, t) } } function e() { try { var e = function (t) { return isLoaded(t) }; a && V(R().document), e(R()) ? t() : Y(e, 100, t, n) } catch (i) { w = !1, handleError(n, i) } } var n = "InPageAppender.open: unable to create console iframe"; N = !1, J = Q.appendChild(document.createElement("div")), J.style.width = l, J.style.height = c, J.style.border = "solid gray 1px"; for (var i = 0, o = W.length; o > i; i++) J.style[W[i][0]] = W[i][1]; var r = a ? "" : " src='" + X() + "'"; J.innerHTML = "", v = !1; var h = function (t) { try { return bool(t) && bool(t.document) } catch (e) { return !1 } }; h(R()) ? e() : Y(h, 100, e, n), m = !0 }, B = function (t) { if (t || !s) { var n = function () { if (e) try { var t = document.getElementById(e); 1 == t.nodeType && (Q = t), P() } catch (n) { handleError("InPageAppender.init: invalid container element '" + e + "' supplied", n) } else Q = document.createElement("div"), Q.style.position = "fixed", Q.style.left = "0", Q.style.right = "0", Q.style.bottom = "0", document.body.appendChild(Q), f.addCssProperty("borderWidth", "1px 0 0 0"), f.addCssProperty("zIndex", 1e6), P() }; pageLoaded && e && e.appendChild ? (Q = e, P()) : pageLoaded ? n() : log4javascript.addEventListener("load", n), Z = !0 } }, L = function () { B(), g = !0 }, R = function () { var t = window.frames[_]; return t ? t : void 0 }, M = function () { return w && !v ? (m && !y && R() && isLoaded(R()) && (y = !0), y) : !1 } } else { var $ = f.defaults.useOldPopUp, te = f.defaults.complainAboutPopUpBlocking, ee = this.defaults.reopenWhenClosed; this.isUseOldPopUp = function () { return $ }, this.setUseOldPopUp = function (t) { O("useOldPopUp") && ($ = bool(t)) }, this.isComplainAboutPopUpBlocking = function () { return te }, this.setComplainAboutPopUpBlocking = function (t) { O("complainAboutPopUpBlocking") && (te = bool(t)) }, this.isFocusPopUp = function () { return h }, this.setFocusPopUp = function (t) { h = bool(t) }, this.isReopenWhenClosed = function () { return ee }, this.setReopenWhenClosed = function (t) { ee = bool(t) }, this.close = function () { logLog.debug("close " + this); try { ne.close(), this.unload() } catch (t) {} }, this.hide = function () { logLog.debug("hide " + this), F() && this.close() }, this.show = function () { logLog.debug("show " + this), m || P() }, this.isVisible = function () { return M() }; var ne; P = function () { function t() { R().setCloseIfOpenerCloses(!$ || !a), G(), y = !0, U(), Y(s, 500, h, "PopUpAppender.checkPopUpClosed: error checking pop-up window") } var e = "width=" + l + ",height=" + c + ",status,resizable", n = ""; try { var i = window.frameElement; i && (n = "_" + i.tagName + "_" + (i.name || i.id || "")) } catch (o) { n = "_inaccessibleParentFrame" } var r = "PopUp_" + location.host.replace(/[^a-z0-9]/gi, "_") + "_" + b + n; $ && a || (r = r + "_" + uniqueId); var s = function (t) { if (v) return !0; try { return bool(t) && t.closed } catch (e) {} return !1 }, h = function () { v || f.unload() }; try { if (ne = window.open(X(), r, e), v = !1, m = !0, ne && ne.document) if (a && $ && isLoaded(ne)) ne.mainPageReloaded(), t(); else { a && V(ne.document); var u = function (t) { return bool(t) && isLoaded(t) }; isLoaded(ne) ? t() : Y(u, 100, t, "PopUpAppender.init: unable to create console window") } else w = !1, logLog.warn("PopUpAppender.init: pop-ups blocked, please unblock to use PopUpAppender"), te && handleError("log4javascript: pop-up windows appear to be blocked. Please unblock them to use pop-up logging.") } catch (p) { handleError("PopUpAppender.init: error creating pop-up", p) } }, B = function () { s || P() }, L = function () { B(), g = !0 }, R = function () { return ne }, M = function () { if (w && !isUndefined(ne) && !v) { if (ne.closed || y && isUndefined(ne.closed)) return f.unload(), logLog.debug("PopUpAppender: pop-up closed"), !1; !y && isLoaded(ne) && (y = !0) } return w && y && !v } } this.getConsoleWindow = R }, ConsoleAppender.addGlobalCommandLineFunction = function (t, e) { i.push([t, e]) }, t.prototype = new ConsoleAppender, t.prototype.defaults = { layout: new PatternLayout("%d{HH:mm:ss} %-5p - %m{1}%n"), initiallyMinimized: !1, focusPopUp: !1, lazyInit: !0, useOldPopUp: !0, complainAboutPopUpBlocking: !0, newestMessageAtTop: !1, scrollToLatestMessage: !0, width: "600", height: "400", reopenWhenClosed: !1, maxMessages: null, showCommandLine: !0, commandLineObjectExpansionDepth: 1, showHideButton: !1, showCloseButton: !0, showLogEntryDeleteButtons: !0, useDocumentWrite: !0 }, t.prototype.toString = function () { return "PopUpAppender" }, log4javascript.PopUpAppender = t, e.prototype = new ConsoleAppender, e.prototype.defaults = { layout: new PatternLayout("%d{HH:mm:ss} %-5p - %m{1}%n"), initiallyMinimized: !1, lazyInit: !0, newestMessageAtTop: !1, scrollToLatestMessage: !0, width: "100%", height: "220px", maxMessages: null, showCommandLine: !0, commandLineObjectExpansionDepth: 1, showHideButton: !1, showCloseButton: !1, showLogEntryDeleteButtons: !0, useDocumentWrite: !0 }, e.prototype.toString = function () { return "InPageAppender" }, log4javascript.InPageAppender = e, log4javascript.InlineAppender = e }(), function () { function t(t) { var e = 0; for (var n in t) e = Math.max(toStr(n).length, e); var i = []; for (n in t) { var o, r = " " + padWithSpaces(toStr(n), e + 2); try { o = splitIntoLines(toStr(t[n])).join(padWithSpaces(newLine, e + 6)) } catch (s) { o = "[Error obtaining property. Details: " + getExceptionMessage(s) + "]" } i.push(r + o) } return i.join(newLine) } function e(t, n, i, l, c) { function h(t) { return t.nodeType == o.TEXT_NODE && /^[ \t\r\n]*$/.test(t.nodeValue) } function u(t) { return t.toString().replace(/&/g, "&").replace(/]*>", "i"); if (e.test(t.outerHTML)) return RegExp.$1.toLowerCase() } return "" } n = "undefined" == typeof n ? !0 : !! n, "string" != typeof i && (i = ""), l = !! l, c = !! c; var f, g = "<", m = ">"; if (!n || t.nodeType == o.DOCUMENT_FRAGMENT_NODE) { f = ""; for (var y = 0, v = t.childNodes.length; v > y; y++) f += e(t.childNodes[y], !0, i + a); return f } switch (t.nodeType) { case o.ELEMENT_NODE: var x = t.tagName.toLowerCase(); f = l ? newLine + i : "", f += g; var w = d(t), b = !! w; for (b && (f += w + ":"), f += x, y = 0, v = t.attributes.length; v > y; y++) { var A = t.attributes[y]; A.specified && null !== A.nodeValue && "style" !== A.nodeName.toLowerCase() && "string" == typeof A.nodeValue && 0 !== A.nodeName.indexOf("_moz") && (f += " " + A.nodeName.toLowerCase() + '="', f += u(A.nodeValue), f += '"') } if (t.style.cssText) { var T = p(t); "" !== T && (f += ' style="' + p(t) + '"') } if (array_contains(s, x) || b && !t.hasChildNodes()) f += "/" + m; else { f += m; for (var C = !(1 === t.childNodes.length && t.childNodes[0].nodeType === o.TEXT_NODE), E = array_contains(r, x), y = 0, v = t.childNodes.length; v > y; y++) f += e(t.childNodes[y], !0, i + a, C, E); var S = g + "/" + x + m; f += C ? newLine + i + S : S } return f; case o.TEXT_NODE: if (h(t)) f = ""; else { if (c) f = t.nodeValue; else { for (var k = splitIntoLines(trim(t.nodeValue)), D = [], y = 0, v = k.length; v > y; y++) D[y] = trim(k[y]); f = D.join(newLine + i) } l && (f = newLine + i + f) } return f; case o.CDATA_SECTION_NODE: return "
Inserted from <http://www.cyberciti.biz/faq/bash-shell-display-only-hidden-dot-files/>
Created with Microsoft OneNote 2013.
Bash Shell: Display All Hidden Dot Files In a Directory |
Bash Shell: Display All Hidden Dot Files In a Directory
Saturday, August 01, 2015
3:12 AM
≡ Menu
Linux and Unix tutorials for new and seasoned sysadmin.
Bash Shell: Display All Hidden Dot Files In a Directory
by Vivek Gite on October 29, 2006
How do I display only hidden (dot) files names under Linux / UNIX / Apple OS X / *BSD family operating systems?
You can view only hidden files or directories in the current directory, using ls command and shell patterns.
Bash list only hidden files
Use ls -a command to display all hidden dot files. The -a option do not hide entries starting with . in the current directory or given path. Type the following command:
$ ls -a
Sample outputs:
gimp.txt .viminfo
.gnome vivek-feed.xml
.gnome2 .vlc
.gnome2_private .vmware
.gnome-desktop .wine
.gnome_private Woh Lamhe - 2006-MP3-VBR-128Kbps
go.html .Xauthority
As you see output includes all the files including hidden dot files. To just display dot files use any one of the following command:
$ ls -a | egrep '^\.'
$ ls -A | egrep '^\.'
OR
$ ls -l ~/.[^.]* | less
OR
$ ls -ld ~/.[^.]*
OR
$ ls -l ~/.??*
OR
$ ls -ld ~/.??*
Sample outputs:
You can create an alias and put into your ~/.bash_profile or ~/.bashrc file:
$ vi ~/.bash_profile
Append the following line:
alias lh='ls -a | egrep "^\."'
OR
alias lh='ls -l .??*'
alias lhd='ls -ld .??*'
Save and close the file. Now you can use lh or lhd commands to display only hidden dot files under Unix like operating systems.
$ lh
OR
$ lhd
Sample outputs:
Fig.01: HowTo: use terminal ls command to see hidden dot files
Tweet itFacebook itGoogle+ itPDF itFound an error/typo on this page?
{ 7 comments… add one }
- James April 2, 2009, 5:17 pm
If you use grep you will lose formatting (multi-column) and colour.
If you use “ls -Ad .*", it will show you all hidden (dot) files and retain the formatting and colour. The “-d" argument is used to only show the top-level files and not contents of hidden directories.
Thanks for the tip, I didn’t know about the -A argument.
Reply Link - Jamie August 26, 2012, 9:14 am
I have some files I hid using ‘chflags hidden MyHiddenFolder’. When using ‘ls -la’ the hidden files and folders show a @ symbol next to it. After doing some research I found out that is for signifying Extended Attributes.
When doing a ‘ls -@’ you can see that the files I changed with ‘chflags’ to hidden have a “com.apple.FinderInfo". Do you know a way to ‘ls’ for files with Extended Attributes and more specifically just the ones that are hidden? Other files can have Extended Attributes and not be hidden.
Basically I wanted to clean up my Finder views by hiding files and folders I don’t use often and don’t want to see. However, I want to have a way to find all files/folders I have done that to so I have a way to go over which ones I have done that to.
Reply Link - sama July 31, 2013, 11:19 pm
Is there a way we can see this in nautilus ( ubuntu file browser ) ? how can i see all files i.e init.d files in gui !
Reply Link - Donavon January 26, 2014, 3:21 pm
$ ls -a display all hidden dot files
Reply Link - Belmondo June 7, 2014, 5:50 pm
what does this do differently to $ls -a ?
$ls -a .*
Reply Link - Christoffer Aasted September 9, 2014, 4:49 pm
ls -d .*
Another great and short one.
Reply Link
Leave a Comment
Name *
Email *
Website
Comment
Next post: Host a domain without CPanel or Plesk Control Panel
Previous post: Monitor Linux user activity in real time
Featured Articles:
- 30 Cool Open Source Software I Discovered in 2013
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012
- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop
©2000-2015 nixCraft. All rights reserved. Privacy Policy - Terms of Service - Questions or Comments
The content is copyrighted to nixCraft and may not be reproduced on other websites.
Apache Thrift
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Chrome to Safari port
Michael Gundlach (gundlach@gmail.com)
https://code.google.com/p/adblockforchrome/source/browse/trunk/port.js
Licensed under the MIT License. A copy of the License can be obtained at http://opensource.org/licenses/MIT
Crypto-JS
© 2009 – 2012 by Jeff Mott. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Date-Util.js
© 2011 by Jerry Sievert
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
FileSaver.js
Copyright © 2011 Eli Grey
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Hammer.js
Copyright (C) 2013 by Jorik Tangelder (Eight Media)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
jabsorb - a Java to JavaScript Advanced Object Request Broker
Copyright 2007-2009 The jabsorb team
Copyright (c) 2005 Michael Clark, Metaparadigm Pte Ltd
Copyright (c) 2003-2004 Jan-Klaas Kollhof
This code is based on original code from the json-rpc-java library which was originally based on Jan-Klaas' JavaScript o lait library (jsolait).
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
jQuery
Copyright 2013 jQuery Foundation and other contributors
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
log4javascript
Copyright 2013 Tim Down
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
pointerevents.js
Copyright (c) 2013 The Polymer Authors. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PDF.JS
Copyright 2012 Mozilla Foundation
https://mozillalabs.com/en-US/pdfjs/
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
This has been modified by Evernote Corporation.
RequireJS
Copyright (c) 2010-2011, The Dojo Foundation
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
SparkMD5
Copyright (C) 2004 Sam Hocevar (sam@hocevar.net)
https://github.com/satazor/SparkMD5
StackBlur
Copyright (c) 2010 Mario Klingemann
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
' ; // get html // ======== var _html = _response; // normalize // ========= _html = _html.replace(//gi, '>'); _html = _html.replace(/\s+\/>/gi, '/>'); // remove // ====== _html = _html.replace(/]*?>([\s\S]*?)/gi, ''); _html = _html.replace(/]*?\/>/gi, ''); _html = _html.replace(/]*?>([\s\S]*?)/gi, ''); _html = _html.replace(/< 100): case ($R.levenshteinDistance(_firstFragment, $R.nextPage__firstFragment__lastPage) < 100): // mark $R.debugPrint('NextPage', 'false'); // mark again if ($R.debug) { $('#debugOutput__value__NextPage').html('false'); } // pop page $R.nextPage__loadedPages.pop(); // break return false; default: // add to first fragemnts $R.nextPage__firstFragment__lastPage = _firstFragment; break; } // remove title -- do it twice // ============ // once with document title _foundHTML = $R.getContent__find__isolateTitleInHTML(_foundHTML, ($R.document.title > '' ? $R.document.title : '')); _foundHTML = _foundHTML.replace(_removeTitleRegex, ''); // once with article title _foundHTML = $R.getContent__find__isolateTitleInHTML(_foundHTML, $R.articleTitle); _foundHTML = _foundHTML.replace(_removeTitleRegex, ''); // display // ======= $R.displayPageHTML(_foundHTML, _pageNr, _pageWindow.location.href); // next // ==== $R.getContent__nextPage__find(_pageWindow, _found._links); }; // rewrites // ======== // rewrite displayPageHTML -- for multi-page articles // ======================= $R.displayPageHTML = function (_processedPageHTML, _pageNr, _pageURL) { // skip first if (_pageNr > 1); else { return; } // push to pages $C._nextPages.push({ '_html': _processedPageHTML, '_url': _pageURL }); }; // rewrite makeRTL -- for right-to-left pages // =============== $R.makeRTL = function () { $R.rtl = true; }; $R.makeNotRTL = function () { $R.rtl = false; } // set component object // ==================== window.ClearlyComponent = $C; window.$readable = $R; } ', ' ', ' ', ' ", ' ', '
", "
', '
', '
', " Filters:", ' trace', ' debug', ' info', ' warn', ' error', ' fatal', ' all', "
", '
', ' Search: ', ' ', ' Regex', ' Match case', ' Disable', '
', ' ', ' ', ' Filter', ' Highlight all', "
", "
", '
', " Options:", ' Log', ' Wrap', ' Newest at the top', ' Scroll to latest', ' ', ' ', ' ', "
", "
", "
", '
', '
', '
', ' ', ' ', "
", "
", "
", ""] }, i = []; ConsoleAppender = function () {}; var o = 1; ConsoleAppender.prototype = new Appender, ConsoleAppender.prototype.create = function (t, e, r, s, a, l, c, h) { function u(t, e) { this.loggingEvent = t, this.levelName = t.level.name, this.formattedMessage = e } function p(t, e) { this.name = t, this.initiallyExpanded = e } function d() {} var f = this, g = !1, m = !1, y = !1, v = !1, x = [], w = !0, b = o++; s = extractBooleanFromParam(s, this.defaults.initiallyMinimized), r = extractBooleanFromParam(r, this.defaults.lazyInit), a = extractBooleanFromParam(a, this.defaults.useDocumentWrite); var A = this.defaults.newestMessageAtTop, T = this.defaults.scrollToLatestMessage; l = l ? l : this.defaults.width, c = c ? c : this.defaults.height; var C = this.defaults.maxMessages, E = this.defaults.showCommandLine, S = this.defaults.commandLineObjectExpansionDepth, k = this.defaults.showHideButton, D = this.defaults.showCloseButton; this.defaults.showLogEntryDeleteButtons, this.setLayout(this.defaults.layout); var L, B, M, R, P, I = t ? "InPageAppender" : "PopUpAppender", O = function (t) { return m ? (handleError(I + ": configuration option '" + t + "' may not be set after the appender has been initialized"), !1) : !0 }, F = function () { return y && w && !v }; this.isNewestMessageAtTop = function () { return A }, this.setNewestMessageAtTop = function (t) { A = bool(t), F() && R().setNewestAtTop(A) }, this.isScrollToLatestMessage = function () { return T }, this.setScrollToLatestMessage = function (t) { T = bool(t), F() && R().setScrollToLatest(T) }, this.getWidth = function () { return l }, this.setWidth = function (t) { O("width") && (l = extractStringFromParam(t, l)) }, this.getHeight = function () { return c }, this.setHeight = function (t) { O("height") && (c = extractStringFromParam(t, c)) }, this.getMaxMessages = function () { return C }, this.setMaxMessages = function (t) { C = extractIntFromParam(t, C), F() && R().setMaxMessages(C) }, this.isShowCommandLine = function () { return E }, this.setShowCommandLine = function (t) { E = bool(t), F() && R().setShowCommandLine(E) }, this.isShowHideButton = function () { return k }, this.setShowHideButton = function (t) { k = bool(t), F() && R().setShowHideButton(k) }, this.isShowCloseButton = function () { return D }, this.setShowCloseButton = function (t) { D = bool(t), F() && R().setShowCloseButton(D) }, this.getCommandLineObjectExpansionDepth = function () { return S }, this.setCommandLineObjectExpansionDepth = function (t) { S = extractIntFromParam(t, S) }; var N = s; this.isInitiallyMinimized = function () { return s }, this.setInitiallyMinimized = function (t) { O("initiallyMinimized") && (s = bool(t), N = s) }, this.isUseDocumentWrite = function () { return a }, this.setUseDocumentWrite = function (t) { O("useDocumentWrite") && (a = bool(t)) }, u.prototype.append = function () { R().log(this.levelName, this.formattedMessage) }, p.prototype.append = function () { R().group(this.name, this.initiallyExpanded) }, d.prototype.append = function () { R().groupEnd() }; var z = function () { M(), g ? v && ee && B() : L(), M() && U() }; this.append = function (t) { if (w) { var e = f.getLayout().format(t); this.getLayout().ignoresThrowable() && (e += t.getThrowableStrRep()), x.push(new u(t, e)), z() } }, this.group = function (t, e) { w && (x.push(new p(t, e)), z()) }, this.groupEnd = function () { w && (x.push(new d), z()) }; var U = function () { for (; x.length > 0;) x.shift().append(); h && R().focus() }; this.setAddedToLogger = function (t) { this.loggers.push(t), enabled && !r && L() }, this.clear = function () { F() && R().clearLog(), x.length = 0 }, this.focus = function () { F() && R().focus() }, this.focusCommandLine = function () { F() && R().focusCommandLine() }, this.focusSearch = function () { F() && R().focusSearch() }; var H = window; this.getCommandWindow = function () { return H }, this.setCommandWindow = function (t) { H = t }, this.executeLastCommand = function () { F() && R().evalLastCommand() }; var q = new PatternLayout("%m"); this.getCommandLayout = function () { return q }, this.setCommandLayout = function (t) { q = t }, this.evalCommandAndAppend = function (t) { var e = { appendResult: !0, isError: !1 }, n = ""; try { var i, o; !H.eval && H.execScript && H.execScript("null"); var r = {}; for (o = 0, len = j.length; len > o; o++) r[j[o][0]] = j[o][1]; var s = [], a = function (t) { s.push([t, H[t]]) }; a("appender"), H.appender = f, a("commandReturnValue"), H.commandReturnValue = e, a("commandLineFunctionsHash"), H.commandLineFunctionsHash = r; var l = function (t) { a(t), H[t] = function () { return this.commandLineFunctionsHash[t](f, arguments, e) } }; for (o = 0, len = j.length; len > o; o++) l(j[o][0]); for (H === window && H.execScript ? (a("evalExpr"), a("result"), window.evalExpr = t, H.execScript("window.result=eval(window.evalExpr);"), i = window.result) : i = H.eval(t), n = isUndefined(i) ? i : formatObjectExpansion(i, S), o = 0, len = s.length; len > o; o++) H[s[o][0]] = s[o][1] } catch (c) { n = "Error evaluating command: " + getExceptionStringRep(c), e.isError = !0 } if (e.appendResult) { var h = ">>> " + t; isUndefined(n) || (h += newLine + n); var u = e.isError ? Level.ERROR : Level.INFO, p = new LoggingEvent(null, new Date, u, [h], null), d = this.getLayout(); this.setLayout(q), this.append(p), this.setLayout(d) } }; var j = i.concat([]); this.addCommandLineFunction = function (t, e) { j.push([t, e]) }; var K = "log4javascriptCommandHistory"; this.storeCommandHistory = function (t) { setCookie(K, t.join(",")) }; var V = function (t) { var e = n(); t.open(); for (var i = 0, o = e.length; o > i; i++) t.writeln(e[i]); t.close() }; this.setEventTypes(["load", "unload"]); var G = function () { var t = R(); t.setAppender(f), t.setNewestAtTop(A), t.setScrollToLatest(T), t.setMaxMessages(C), t.setShowCommandLine(E), t.setShowHideButton(k), t.setShowCloseButton(D), t.setMainWindow(window); var e = getCookie(K); e && (t.commandHistory = e.split(","), t.currentCommandIndex = t.commandHistory.length), f.dispatchEvent("load", { win: t }) }; this.unload = function () { logLog.debug("unload " + this + ", caller: " + this.unload.caller), v || (logLog.debug("really doing unload " + this), v = !0, y = !1, m = !1, f.dispatchEvent("unload", {})) }; var Y = function (t, e, n, i) { function o() { try { v && clearInterval(r), t(R()) && (clearInterval(r), n()) } catch (e) { clearInterval(r), w = !1, handleError(i, e) } } var r = setInterval(o, e) }, X = function () { var t = document.domain != location.hostname; return a ? "" : getBaseUrl() + "console_uncompressed.html" + (t ? "?log4javascript_domain=" + escape(document.domain) : "") }; if (t) { var Q = null, W = []; this.addCssProperty = function (t, e) { O("cssProperties") && W.push([t, e]) }; var J, Z = !1, _ = uniqueId + "_InPageAppender_" + b; this.hide = function () { g && m && (F() && R().Evernote.JQuery("command").blur(), J.style.display = "none", N = !0) }, this.show = function () { g && (m ? (J.style.display = "block", this.setShowCommandLine(E), N = !1) : Z || B(!0)) }, this.isVisible = function () { return !N && !v }, this.close = function (t) { v || t && !confirm("This will permanently remove the console from the page. No more messages will be logged. Do you wish to continue?") || (J.parentNode.removeChild(J), this.unload()) }, P = function () { function t() { try { s || f.show(), G(), y = !0, U() } catch (t) { w = !1, handleError(n, t) } } function e() { try { var e = function (t) { return isLoaded(t) }; a && V(R().document), e(R()) ? t() : Y(e, 100, t, n) } catch (i) { w = !1, handleError(n, i) } } var n = "InPageAppender.open: unable to create console iframe"; N = !1, J = Q.appendChild(document.createElement("div")), J.style.width = l, J.style.height = c, J.style.border = "solid gray 1px"; for (var i = 0, o = W.length; o > i; i++) J.style[W[i][0]] = W[i][1]; var r = a ? "" : " src='" + X() + "'"; J.innerHTML = "", v = !1; var h = function (t) { try { return bool(t) && bool(t.document) } catch (e) { return !1 } }; h(R()) ? e() : Y(h, 100, e, n), m = !0 }, B = function (t) { if (t || !s) { var n = function () { if (e) try { var t = document.getElementById(e); 1 == t.nodeType && (Q = t), P() } catch (n) { handleError("InPageAppender.init: invalid container element '" + e + "' supplied", n) } else Q = document.createElement("div"), Q.style.position = "fixed", Q.style.left = "0", Q.style.right = "0", Q.style.bottom = "0", document.body.appendChild(Q), f.addCssProperty("borderWidth", "1px 0 0 0"), f.addCssProperty("zIndex", 1e6), P() }; pageLoaded && e && e.appendChild ? (Q = e, P()) : pageLoaded ? n() : log4javascript.addEventListener("load", n), Z = !0 } }, L = function () { B(), g = !0 }, R = function () { var t = window.frames[_]; return t ? t : void 0 }, M = function () { return w && !v ? (m && !y && R() && isLoaded(R()) && (y = !0), y) : !1 } } else { var $ = f.defaults.useOldPopUp, te = f.defaults.complainAboutPopUpBlocking, ee = this.defaults.reopenWhenClosed; this.isUseOldPopUp = function () { return $ }, this.setUseOldPopUp = function (t) { O("useOldPopUp") && ($ = bool(t)) }, this.isComplainAboutPopUpBlocking = function () { return te }, this.setComplainAboutPopUpBlocking = function (t) { O("complainAboutPopUpBlocking") && (te = bool(t)) }, this.isFocusPopUp = function () { return h }, this.setFocusPopUp = function (t) { h = bool(t) }, this.isReopenWhenClosed = function () { return ee }, this.setReopenWhenClosed = function (t) { ee = bool(t) }, this.close = function () { logLog.debug("close " + this); try { ne.close(), this.unload() } catch (t) {} }, this.hide = function () { logLog.debug("hide " + this), F() && this.close() }, this.show = function () { logLog.debug("show " + this), m || P() }, this.isVisible = function () { return M() }; var ne; P = function () { function t() { R().setCloseIfOpenerCloses(!$ || !a), G(), y = !0, U(), Y(s, 500, h, "PopUpAppender.checkPopUpClosed: error checking pop-up window") } var e = "width=" + l + ",height=" + c + ",status,resizable", n = ""; try { var i = window.frameElement; i && (n = "_" + i.tagName + "_" + (i.name || i.id || "")) } catch (o) { n = "_inaccessibleParentFrame" } var r = "PopUp_" + location.host.replace(/[^a-z0-9]/gi, "_") + "_" + b + n; $ && a || (r = r + "_" + uniqueId); var s = function (t) { if (v) return !0; try { return bool(t) && t.closed } catch (e) {} return !1 }, h = function () { v || f.unload() }; try { if (ne = window.open(X(), r, e), v = !1, m = !0, ne && ne.document) if (a && $ && isLoaded(ne)) ne.mainPageReloaded(), t(); else { a && V(ne.document); var u = function (t) { return bool(t) && isLoaded(t) }; isLoaded(ne) ? t() : Y(u, 100, t, "PopUpAppender.init: unable to create console window") } else w = !1, logLog.warn("PopUpAppender.init: pop-ups blocked, please unblock to use PopUpAppender"), te && handleError("log4javascript: pop-up windows appear to be blocked. Please unblock them to use pop-up logging.") } catch (p) { handleError("PopUpAppender.init: error creating pop-up", p) } }, B = function () { s || P() }, L = function () { B(), g = !0 }, R = function () { return ne }, M = function () { if (w && !isUndefined(ne) && !v) { if (ne.closed || y && isUndefined(ne.closed)) return f.unload(), logLog.debug("PopUpAppender: pop-up closed"), !1; !y && isLoaded(ne) && (y = !0) } return w && y && !v } } this.getConsoleWindow = R }, ConsoleAppender.addGlobalCommandLineFunction = function (t, e) { i.push([t, e]) }, t.prototype = new ConsoleAppender, t.prototype.defaults = { layout: new PatternLayout("%d{HH:mm:ss} %-5p - %m{1}%n"), initiallyMinimized: !1, focusPopUp: !1, lazyInit: !0, useOldPopUp: !0, complainAboutPopUpBlocking: !0, newestMessageAtTop: !1, scrollToLatestMessage: !0, width: "600", height: "400", reopenWhenClosed: !1, maxMessages: null, showCommandLine: !0, commandLineObjectExpansionDepth: 1, showHideButton: !1, showCloseButton: !0, showLogEntryDeleteButtons: !0, useDocumentWrite: !0 }, t.prototype.toString = function () { return "PopUpAppender" }, log4javascript.PopUpAppender = t, e.prototype = new ConsoleAppender, e.prototype.defaults = { layout: new PatternLayout("%d{HH:mm:ss} %-5p - %m{1}%n"), initiallyMinimized: !1, lazyInit: !0, newestMessageAtTop: !1, scrollToLatestMessage: !0, width: "100%", height: "220px", maxMessages: null, showCommandLine: !0, commandLineObjectExpansionDepth: 1, showHideButton: !1, showCloseButton: !1, showLogEntryDeleteButtons: !0, useDocumentWrite: !0 }, e.prototype.toString = function () { return "InPageAppender" }, log4javascript.InPageAppender = e, log4javascript.InlineAppender = e }(), function () { function t(t) { var e = 0; for (var n in t) e = Math.max(toStr(n).length, e); var i = []; for (n in t) { var o, r = " " + padWithSpaces(toStr(n), e + 2); try { o = splitIntoLines(toStr(t[n])).join(padWithSpaces(newLine, e + 6)) } catch (s) { o = "[Error obtaining property. Details: " + getExceptionMessage(s) + "]" } i.push(r + o) } return i.join(newLine) } function e(t, n, i, l, c) { function h(t) { return t.nodeType == o.TEXT_NODE && /^[ \t\r\n]*$/.test(t.nodeValue) } function u(t) { return t.toString().replace(/&/g, "&").replace(/]*>", "i"); if (e.test(t.outerHTML)) return RegExp.$1.toLowerCase() } return "" } n = "undefined" == typeof n ? !0 : !! n, "string" != typeof i && (i = ""), l = !! l, c = !! c; var f, g = "<", m = ">"; if (!n || t.nodeType == o.DOCUMENT_FRAGMENT_NODE) { f = ""; for (var y = 0, v = t.childNodes.length; v > y; y++) f += e(t.childNodes[y], !0, i + a); return f } switch (t.nodeType) { case o.ELEMENT_NODE: var x = t.tagName.toLowerCase(); f = l ? newLine + i : "", f += g; var w = d(t), b = !! w; for (b && (f += w + ":"), f += x, y = 0, v = t.attributes.length; v > y; y++) { var A = t.attributes[y]; A.specified && null !== A.nodeValue && "style" !== A.nodeName.toLowerCase() && "string" == typeof A.nodeValue && 0 !== A.nodeName.indexOf("_moz") && (f += " " + A.nodeName.toLowerCase() + '="', f += u(A.nodeValue), f += '"') } if (t.style.cssText) { var T = p(t); "" !== T && (f += ' style="' + p(t) + '"') } if (array_contains(s, x) || b && !t.hasChildNodes()) f += "/" + m; else { f += m; for (var C = !(1 === t.childNodes.length && t.childNodes[0].nodeType === o.TEXT_NODE), E = array_contains(r, x), y = 0, v = t.childNodes.length; v > y; y++) f += e(t.childNodes[y], !0, i + a, C, E); var S = g + "/" + x + m; f += C ? newLine + i + S : S } return f; case o.TEXT_NODE: if (h(t)) f = ""; else { if (c) f = t.nodeValue; else { for (var k = splitIntoLines(trim(t.nodeValue)), D = [], y = 0, v = k.length; v > y; y++) D[y] = trim(k[y]); f = D.join(newLine + i) } l && (f = newLine + i + f) } return f; case o.CDATA_SECTION_NODE: return "
Inserted from <http://www.cyberciti.biz/faq/bash-shell-display-only-hidden-dot-files/>
Created with Microsoft OneNote 2016.


comments powered by Disqus