Bookmarks tagged [shell]
https://stackoverflow.com/questions/8529181/which-terminal-command-to-get-just-ip-address-and-nothin...
On OSX, if you know the interface, you could use - $ ipconfig getifaddr en0
You can write a script that only return the IP like: ...
- tags: shell, osx, linux, ipaddress, networking
https://github.com/alebcay/awesome-shell#readme
A curated list of awesome command-line frameworks, toolkits, guides and gizmos. Inspired by awesome-php. - alebcay/awesome-shell
- tags: awesome-list, shell
- source code
https://askubuntu.com/questions/522051/how-to-list-all-symbolic-links-in-a-directory
find . -type l -ls
To only process the current directory:
find . -maxdepth 1 -type l -ls
Oh-My-Zsh is a delightful, open source, community-driven framework for managing your ZSH configuration.
- tags: shell, zsh, tools
- source code
https://stackoverflow.com/questions/1951742/how-to-symlink-a-file-in-linux
To create a new symlink (will fail if symlink exists already):
https://askubuntu.com/questions/468901/how-to-show-only-hidden-files-in-terminal
The command to show only hidden files:
https://stackoverflow.com/questions/11304895/how-to-scp-a-folder-from-remote-to-local
scp -r [email protected]:/path/to/foo /home/user/Desktop/
-r
Recursively copy entire directories
https://www.telecom.uff.br/pet/petws/downloads/apostilas/LINUX.pdf
(PDF)
http://aurelio.net/shell/apostila-introducao-shell.pdf
Aurelio Marinho Jargas (PDF)
http://billie66.github.io/TLCL/book/zh
https://github.com/qinjx/30min_guides/blob/master/shell.md
http://wiki.ubuntu.org.cn/Shell%E7%BC%96%E7%A8%8B%E5%9F%BA%E7%A1%80
http://me.52fhy.com/shell-book/
http://stackoverflow.com/questions/16956810/how-to-find-all-files-containing-specific-text-on-linux
grep -rnw '/path/to/somewhere/' -e "pattern"
-r
or-R
is recursive,-n
is line number, and-w
stands for match the whole word.-l
(lower-case L) can be added to just give th...- tags: linux, shell