Linux
Linux is the name given to a series of computer operating systems which are derived from a reverse-engineered version of the UNIX kernel originally written by Linus Torvalds as part of a PhD research project.
Contents
Distributions
Debian
Ubuntu
- Ubuntu: http://www.ubuntu.com | DOWNLOAD
RedHat
- RedHat Enterprise Linux (RHEL): http://www.redhat.com/ | DOWNLOAD[5]
Fedora
CentOS
- CentOS: http://www.centos.org/ | DOWNLOAD[9]
SUSE
- Novell's SUSE: http://www.novell.com/linux/ | DOWNLOAD[11]
OpenSUSE
- OpenSUSE: https://www.opensuse.org/ | DOWNLOAD
Mandrake
- Mandrake: http://wiki.c2.com/?MandrakeLinux[12]
OpenMandriva
- OpenMandriva: https://www.openmandriva.org/ | DOWNLOAD[13][14]
xandros
- xandros: http://www.xandros.com/ | DOWNLOAD[15]
Mint
Linux Mint is known as the best distribution for Security & Penetration Testing tools.
- Linux Mint: https://linuxmint.com | DOWNLOAD
Slackware
- Slackware: http://www.slackware.com/ | DOWNLOAD
ArchLinux
- ArchLinux: https://www.archlinux.org/ | DOWNLOAD
LiMo
Linux on Mobile is a foundation and working group dedicated to spreading the use of Linux on Mobile and handheld devices of all types.
- LiMo FoundationIntellectual Property Policy: http://www.limofoundation.org/images/stories/pdf/090310_limo_ipr_policy_final%20(2).pdf
- Toward a Common Linux-based Mobile Platform: http://www.nttdocomo.co.jp/english/binary/pdf/corporate/technology/rd/technical_journal/bn/vol9_2/vol9_2_051en.pdf
Android
See also: Android
- How to Run Android Apps on Linux: https://www.howtogeek.com/760044/how-to-run-android-apps-on-linux/
Permissions
Linux's Permissions have long been considered one of its biggest strengths.
Permissions are set in the following order:
User Group Other
For instance, when "only the User/Owner of the file can Read or Write the file, no one else can access in any other way":
-rw-------
Another common setting is that "both the User/Owner and any Users in the Group owning the file can Read, Write, or Execute the file, everyone else can only Read or Execute it but not Write (modify) it":
drwxrwxr-x
- An Introduction to Linux Permissions: https://www.digitalocean.com/community/tutorials/an-introduction-to-linux-permissions
chown
Change the ownership of a file:
chown <USERNAME> <FILENAME>
Change the ownership of a set of files in a directory recursively:
chown <USERNAME> -R <DIRECTORY>
For example:
chown myuser -R /opt/SomeDir/SomeFile.txt
- chown - man pages: http://nersp.nerdc.ufl.edu/~dicke3/nerspcs/chown.html
chmod
Modify the permissions for the ways a file can be accessed by certain roles:
chmod <PERMISSIONS> <FILENAME>
For example:
chmod 755 /opt/SomeDir/SomeFile.txt
- chmod - man pages: https://ss64.com/bash/chmod.html
- CHMOD calculator: https://chmod-calculator.com
Commands
systemctl
Service Management to run applications on startup/reboots.
- systemctl man pages: https://www.commandlinux.com/man-page/man1/systemctl.1.html
- systemd Cheat Sheet: https://www.cheatography.com/tme520/cheat-sheets/systemd/[27][28]
Systemd
- Systemd Will Change How Your Linux Home Directory Works: https://www.howtogeek.com/673018/systemd-will-change-how-your-linux-home-directory-works/
tcpdump
tcpdump -A -s 0 'tcp port 80 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)' tcpdump -X -s 0 'tcp port 80 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)'
- tcpdump man pages: http://www.tcpdump.org/tcpdump_man.html[29][30]
scp
Secure-file CoPy (commonly abbreviated as scp) is a standard Linux/Windows library for copying the contents of a file. It is a rare example of a command which works in both the MS-DOS Command Prompt.
To copy from your local system to a remote directory:
scp -r <FILE_OR_FOLDER> <USERNAME>@<DOMAIN>:/some/remote/directory/
To copy from a remote directory to your local system:
scp <USERNAME>@<DOMAIN>:<FILE_OR_FOLDER> /some/local/directory/
- scp command Tutorial: https://www.garron.me/en/articles/scp.html
- Example syntax for Secure Copy (scp): http://www.hypexr.org/linux_scp_help.php (local-remote, remote-local, remote-remote)
install
- How to Copy Files Using the “install” Command on Linux: https://www.howtogeek.com/411366/how-to-copy-files-with-the-install-command-on-linux/ (tackle your cp, chmod & chown needs all in one command)
watch
Watch in real-time for updates to a particular file or folder.
watch -n 10 -d <COMMAND>
For example:
watch -n 10 -d tail -f error.log
This will listen and update every 10 seconds for a specific command. The command could be anything from "ls -l <DIRECTORY>" to watch for files being added to or changed within a given directory (say "/var/messages/"), to "tail -ef <FILE>" to listen for updates to a log file.
- watch - man pages: https://linux.die.net/man/1/watch
- Shell command to monitor changes in a file whats it called again: http://serverfault.com/a/1682
tail
Tool for viewing the "tail end" of a file, however you can also use it to view the majority of its contents (even full contents, like "cat"), depending on the arguments passed in.
tail -ef <FILENAME>
- tail - man pages: https://linux.die.net/man/1/tail
- Shell function to tail a log file for a specific string for a specific time: http://stackoverflow.com/questions/13983572/shell-function-to-tail-a-log-file-for-a-specific-string-for-a-specific-time
- Linux View / Display a Logfile In Real Time on Screen: https://www.cyberciti.biz/faq/howto-get-live-view-linux-unix-logfile/
- tail -f not tracking file changes: https://superuser.com/a/155214
grep
Global Regular Expression Printer (grep) is a tool to filter and/or search through the contents of a file from the command-line in Linux/Unix. It is commonly used on plain-text data sets for finding or "grepping out" lines that match a given regular expression
Example of finding the location of Apache Web Server from the list of running processes:
ps -ef | grep apache
- grep - man pages: https://linux.die.net/man/1/grep
- What is grep, and how do I use it?: https://kb.iu.edu/d/afiy
- HowTo -- Use grep Command In Linux / UNIX – Examples: https://www.cyberciti.biz/faq/howto-use-grep-command-in-linux-unix/
ack
- ack: https://beyondgrep.com/ | DOWNLOAD/INSTALL | DOCS | MANUAL[33]
Long-running Processes
- How to Kill Zombie Processes on Linux: https://www.howtogeek.com/701971/how-to-kill-zombie-processes-on-linux/
nohup
Long-running processes that can live outside of the terminal/command window they were called/run from are possible using a combination of nohup command prefix and the & ampersand process indicator. Using just & allows you to silence other commands that would normally get sent to that process, so you can continue working and running other commands in the same terminal while that process runs; using just nohup will prevent the hangup/kill signals from stopping your process (for instance if you use CTRL+C or CTRL+Z and intend to stop other processes while working in the same window, it will not run your process run with nohup); finally, using both nohup and & would allow a process to run after the terminal/command prompt it was run from gets closed. This is one step lower than running as an actual service, the only difference being that processes will need to be run manually (or by some additional scripted process), whereas services will run automatically immediately upon login.[34][35].
- What's the difference between nohup and ampersand: https://stackoverflow.com/questions/15595374/whats-the-difference-between-nohup-and-ampersand[36]
sar
- How to Use the sar Command on Linux: https://www.howtogeek.com/793513/how-to-use-the-sar-command-on-linux/
Tools
- Linux OS - implemented as a webapp: http://bellard.org/jslinux/
- U-NetBootIn: http://unetbootin.sourceforge.net/ (tool to format drives/USBs/CDs/DVDs to be bootable/portable Linux distros)
- chmod calculator: https://chmod-calculator.com
Samba
Samba is a free software re-implementation of the SMB/CIFS networking protocol. Samba is an important component to seamlessly integrate Linux/Unix Servers and Desktops into Active Directory environments. It can function both as a domain controller or as a regular domain member.
- wikipedia: Samba (software)
- Samba: https://www.samba.org/
- How to Use the Linux Samba Server: http://dzone.com/articles/linux-samba-server (integration suite to use a Linux server to provide file sharing, printing, and other services to other non-native Linux clients such as Microsoft Windows)
[40] (Windows; commonly abberviated SMB one flavor of which is CIFS - Common Internet File System) [41] (Linux) [42] (Mac) [43] (Novell) [44] (legacy) [45] [46] [47] [48]
scp
Secure copy a file from one host (server) to another.
- Example syntax for Secure Copy (scp): http://www.hypexr.org/linux_scp_help.php[49]
- scp from linux to windows: https://stackoverflow.com/questions/10235778/scp-from-linux-to-windows
- Linux scp command: https://www.computerhope.com/unix/scp.htm
Resources
- List of Linux distributions (by popularity): http://distrowatch.com/dwres.php?resource=popularity
- LinuxJourney (E-LEARNING Courses): https://linuxjourney.com/
- A Complete Introduction to the Linux command-line (BOOK): http://solutionsproj.net/software/The_Linux_Command_Linex.pdf
- Linux Command Directory: http://oreilly.com/linux/command-directory/
- Linux Command Line Cheat Sheet: http://www.cheatography.com/davechild/cheat-sheets/linux-command-line/[50]
- Basic Linux Commands: http://code.google.com/edu/tools101/linux/basics.html
- "grep" Unix/Linux command: http://2min2code.com/articles/grep_command_intro
- "find" Unix/Linux command - 35 most common uses: http://www.tecmint.com/35-practical-examples-of-linux-find-command/
- gcc - Linux man page: http://linux.die.net/man/1/gcc (typical run: gcc myprogram.c -g -Wall -pedantic -o myprogram, where "-g" is for Global Debugger output to link binary to source, "-Wall" displays all warnings, "-pedantic" includes basic ISO C/C++ syntax conformance checks)
- YUM commands for Red Hat Enterprise Linux (CHEAT SHEET): https://access.redhat.com/sites/default/files/attachments/rh_yum_cheatsheet_1214_jcs_print-1.pdf
- User input C Programming basic example: http://stackoverflow.com/questions/13780209/user-input-c-programming
- How to Use the 'vi' Editor: http://www.washington.edu/computing/unix/vi.html
- Basic 'vi' Commands: http://www.cs.colostate.edu/helpdocs/vi.html
- MS-DOS vs. Linux / Unix commands: http://www.computerhope.com/unix.htm
- Vi Cheat Sheet: http://www.lagmonster.org/docs/vi.html
- Emacs Cheat Sheet: http://rgrjr.com/emacs/emacs_cheat.html
- Grep commands in Linux: http://dzone.com/articles/grep-quotes-in-linux
- Linux Alternative (to win32 applications) Project: http://www.linuxalt.com/
- LinuxTV: http://linuxtv.org
- Linux family tree: http://ianmurdock.com/linuxfamilytree/
- DistroWatch Page Hit Ranking: https://www.distrowatch.com/dwres.php?resource=popularity[51][52][53]
Tutorials
- LPI -- Learn Linux and get certified. Part 1 - Hardware: http://tuxradar.com/content/lpi-learn-linux-and-get-certified-part-1-hardware
- LPI -- Learn Linux and get certified. Part 2 - Booting: http://tuxradar.com/content/lpi-learn-linux-and-get-certified-part-2-booting
- LPI -- Learn Linux and get certified. Part 3 - FileSystem Partitioning: http://tuxradar.com/content/lpi-learn-linux-and-get-certified-part-3-filesystem-layout-partitioning-and-shared-libraries
- LPI -- Learn Linux and get certified. Part 4 - Package Management: http://tuxradar.com/content/lpi-learn-linux-and-get-certified-part-2-package-managment
- LPI -- Learn Linux and get certified. Part 5 - Command Line: http://www.tuxradar.com/content/lpi-learn-linux-and-get-certified-part-5-command-line
- LPI -- Learn Linux and get certified. Part 6 - Advanced Command Line: http://tuxradar.com/content/lpi-learn-linux-and-get-certified-part-6-advanced-command-line
- Linux Command -- Show Linux Version: http://www.cyberciti.biz/faq/command-to-show-linux-version/ (several ways to get at your exact version name and distro number)
- How to check Redhat version: https://linuxconfig.org/how-to-check-redhat-version
- Linux List All Environment Variables Command: https://www.cyberciti.biz/faq/linux-list-all-environment-variables-env-command/
- Linux -- Set Environment Variable: https://www.cyberciti.biz/faq/set-environment-variable-linux/
- How to Use getopts to Parse Linux Shell Script Options: https://www.howtogeek.com/778410/how-to-use-getopts-to-parse-linux-shell-script-options/
- How to find out if httpd is running or not via command line?: (use the command service http status')
- Example for customizing "/etc/profile.d" in Unix/Linux: https://bash.cyberciti.biz/guide//etc/profile.d (to run a Shell/Bash script every time server reboots)
- What is /dev/null 2>&1?: https://stackoverflow.com/questions/10508843/what-is-dev-null-21#10508862
- How to symlink a file in Linux?: https://stackoverflow.com/questions/1951742/how-to-symlink-a-file-in-linux
- 5 ‘chattr’ Commands to Make Important Files IMMUTABLE (Unchangeable) in Linux: https://www.tecmint.com/chattr-command-examples/
- How to make undeletable files and directories in Linux: https://websistent.com/make-undeletable-files-and-directories-linux/ (using chattr +i command)
- Why do I need a tty to run sudo if I can sudo without a password?: https://unix.stackexchange.com/questions/122616/why-do-i-need-a-tty-to-run-sudo-if-i-can-sudo-without-a-password[54]
- List out recently typed commands with "history" command in Linux: https://www.linuxhelp.com/history-command-linux/
- How To Identify Date and Time of a Unix Command Execution: http://www.thegeekstuff.com/2009/10/command-line-tricks-how-to-identify-date-and-time-of-a-unix-command-execution/
- Get and Set the time and date in Linux systems: http://www.garron.me/go2linux/how-to-set-date-and-time-linux.html
- How To Format Date For Display or Use In a Shell Script: https://www.cyberciti.biz/faq/linux-unix-formatting-dates-for-display/
- Pimp my Gedit (Was: Textmate for Linux): http://grigio.org/pimp_my_gedit_was_textmate_linux (alternative to Notepad++)
- How to configure RAID in Linux - Tutorial: http://www.dedoimedo.com/computers/linux-raid.html
- Quick HOWTO - Ch26 - Linux Software RAID: http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch26_:_Linux_Software_RAID#Figure_26-1_RAID_0_And_RAID_1_Operation
- Installing And Using OpenVZ On Fedora 15: http://www.howtoforge.com/installing-and-using-openvz-on-fedora-15
- OpenVZ quick installation: http://wiki.openvz.org/Quick_installation
- Introduction To Linux Commands: http://coding.smashingmagazine.com/2012/01/23/introduction-to-linux-commands/
- Advanced Bash-Scripting Guide -- An in-depth exploration of the art of shell scripting: http://tldp.org/LDP/abs/html/
- Universal USB Installer – Easy as 1 2 3: http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/
- How to create a bootable USB stick on Windows: http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-windows
- How to install Linux Mint via USB: http://community.linuxmint.com/tutorial/view/744
- Accessing clipboard in Linux terminal: http://www.nurkiewicz.com/2012/09/accessing-clipboard-in-linux-terminal.html
- What pieces of Linux Kernel's code have remained without major modifications since its early versions?: http://www.quora.com/Linux-Kernel/What-pieces-of-Linuxs-code-have-remained-without-major-modifications-since-its-early-versions (useful "grep" and "find" UNIX commands as well for tracking down duplicates)
- 35 Practical Examples of Linux Find Command: http://www.tecmint.com/35-practical-examples-of-linux-find-command/
- Tips for using "find" in Linux: http://www.codecoffee.com/tipsforlinux/articles/21.html
- "grep" command - man pages: http://www.linuxcommand.org/man_pages/grep1.html[55]
- Linux "ls" Command: Sort Files By Size: https://www.cyberciti.biz/faq/linux-ls-command-sort-by-file-size/ (ANSWER: type ls -S -l)
- Linux locate command examples: http://alvinalexander.com/blog/post/linux-unix/use-linux-locate-command
- Example Uses Of The Linux grep Command: http://linux.about.com/od/commands/tp/Example-Uses-Of-The-Linux-grep-Command.htm
- How To Use grep Command In Linux/UNIX (Examples): http://www.cyberciti.biz/faq/howto-use-grep-command-in-linux-unix/
- Creating Unattended FTP Scripts: http://www.robvanderwoude.com/ftp.php#UnattendedFTP
- Linux Log Files Location And How Do I View Logs Files on Linux?: http://www.cyberciti.biz/faq/linux-log-files-location-and-how-do-i-view-logs-files/
- How to display a list of recent commands in Ubuntu Linux: http://www.howtogeek.com/howto/ubuntu/how-to-display-a-list-of-recent-commands-in-ubuntu-linux/
- command-line history: http://www.tldp.org/LDP/GNU-Linux-Tools-Summary/html/x1712.htm
- Linux find the files have been changed in last 24 hours (in a specific directory): http://stackoverflow.com/questions/16085958/scripts-find-the-files-have-been-changed-in-last-24-hours
- Linux command to check disk space: https://www.linux.com/blog/linux-101-check-disk-space-command
- Linux - No space left on device: https://stackoverflow.com/questions/24671621/no-space-left-on-device#24672438
- How to Stop and Disable Unwanted Services from Linux System: http://www.tecmint.com/remove-unwanted-services-from-linux/
- How to delete history of last 10 commands in shell?: http://stackoverflow.com/questions/14750650/how-to-delete-history-of-last-10-commands-in-shell
- How to switch between users on one terminal?: http://unix.stackexchange.com/questions/3568/how-to-switch-between-users-on-one-terminal#3572
- 7 CHMOD Command Examples for Beginners: http://www.thegeekstuff.com/2010/06/chmod-command-examples
- Why the need for 755 permissions for /var/www/? Why not 700 after chown?: https://stackoverflow.com/questions/23805266/why-the-need-for-755-permissions-for-var-www-why-not-700-after-chown
- Practical Examples For The Linux Unzip Command: https://www.lifewire.com/examples-linux-unzip-command-2201157
- Linux unzip command - Option to force overwrite?: https://superuser.com/questions/100656/linux-unzip-command-option-to-force-overwrite
- How do I unzip a tar gz archive to a specific destination?: https://superuser.com/questions/348205/how-do-i-unzip-a-tar-gz-archive-to-a-specific-destination
- Creating A tar File in Linux Via Command Line Options: https://www.cyberciti.biz/faq/creating-a-tar-file-linux-command-line/
- How to untar a .tar file and/or gzip-bz2 tar file: http://how-to.wikia.com/wiki/How_to_untar_a_tar_file_or_gzip-bz2_tar_file[56]
- Verify File exists and execute command: https://www.unix.com/shell-programming-and-scripting/154901-verify-file-exists-execute-command.html
- Move folder content up one level: https://unix.stackexchange.com/questions/19344/move-folder-content-up-one-level
- How do I remove a full directory in Linux?: https://www.computerhope.com/issues/ch000798.htm
- Copy directory to another directory: https://stackoverflow.com/questions/14549967/centos-copy-directory-to-another-directory
- How to have the cp command create any necessary folders for copying a file to a destination: https://stackoverflow.com/questions/947954/how-to-have-the-cp-command-create-any-necessary-folders-for-copying-a-file-to-a
- How to Manage Processes from the Linux Terminal -- 10 Commands You Need to Know: https://www.howtogeek.com/107217/how-to-manage-processes-from-the-linux-terminal-10-commands-you-need-to-know/
- How to Kill a Process from the Command Line: https://www.linux.com/learn/intro-to-linux/2017/5/how-kill-process-command-line[57]
- How to list all users in linux? (local, remote, real and all users): http://www.lostsaloon.com/technology/how-to-list-all-users-in-linux/
- RHEL -- Creating a User Account: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/4/html/Step_by_Step_Guide/s1-starting-create-account.html (GUI & command-line instructions)
- Take Control of your Linux -- sudoers file - How to with Examples: https://www.garron.me/en/linux/visudo-command-sudoers-file-sudo-default-editor.html
- How do I run specific sudo commands without a password?: https://askubuntu.com/questions/159007/how-do-i-run-specific-sudo-commands-without-a-password#159009 (use NOPASSWD directive entry in visudoers)
- HowTo -- Clear or Remove Last Login History in Linux: https://www.shellhacks.com/clear-remove-last-login-history-linux/
- How to remove a single line from history?: https://unix.stackexchange.com/questions/49214/how-to-remove-a-single-line-from-history#49216
- Bash Shell -- Replace a String With Another String In All Files Using sed and Perl -pie Options: https://www.cyberciti.biz/faq/unix-linux-replace-string-words-in-many-files/
- How can I replace a string in a file(s)?: https://unix.stackexchange.com/questions/112023/how-can-i-replace-a-string-in-a-files
- Replacing some characters in a string with another character: https://stackoverflow.com/questions/2871181/replacing-some-characters-in-a-string-with-another-character
- How can I copy the output of a command directly into my clipboard?: https://stackoverflow.com/questions/5130968/how-can-i-copy-the-output-of-a-command-directly-into-my-clipboard[58]
- Can linux cat command be used for writing text to file?: https://stackoverflow.com/questions/17115664/can-linux-cat-command-be-used-for-writing-text-to-file#17115925
- (SOLVED) Split a string into array in bash: https://www.linuxquestions.org/questions/linux-newbie-8/split-a-string-into-array-in-bash-869196/
- How to pipe the output of a command to file on Linux: https://stackoverflow.com/questions/2840187/how-to-pipe-the-output-of-a-command-to-file-on-linux
- How do I save terminal output to a file?: https://askubuntu.com/questions/420981/how-do-i-save-terminal-output-to-a-file[59][60]
- How to Play Your Music Collection From the Linux Command Line: https://www.howtogeek.com/779114/how-to-play-your-music-collection-from-the-linux-command-line/
- How to Determine the File Type of a File Using Linux: https://www.lifewire.com/file-linux-command-unix-command-4097142
- How to diff (two) files and output from the command?: https://unix.stackexchange.com/questions/11733/how-to-diff-a-file-and-output-from-the-command
- Values of true and false in shell: https://stackoverflow.com/questions/6436209/values-of-true-and-false-in-shell#6436322
- Bash if statement with multiple conditions throws an error: https://stackoverflow.com/questions/16203088/bash-if-statement-with-multiple-conditions-throws-an-error
- How to check if there are no parameters provided to a command?: https://unix.stackexchange.com/questions/25945/how-to-check-if-there-are-no-parameters-provided-to-a-command
- How to declare and use boolean variables in shell script?: https://stackoverflow.com/questions/2953646/how-to-declare-and-use-boolean-variables-in-shell-script
- Using the star sign in grep: https://stackoverflow.com/questions/1069302/using-the-star-sign-in-grep
- Count total number of occurrences using grep: https://unix.stackexchange.com/questions/6979/count-total-number-of-occurrences-using-grep#6985
- Why is space not being freed from disk after deleting a file in Red Hat Enterprise Linux?: https://access.redhat.com/solutions/2316
- How to check OS version in Linux command line: https://www.cyberciti.biz/faq/how-to-check-os-version-in-linux-command-line/
- Writing a Simple Linux Kernel Module: https://blog.sourcerer.io/writing-a-simple-linux-kernel-module-d9dc3762c234
- Changing the case of text in variables: https://www.shellscript.sh/tips/case/
- Null & empty string comparison in Bash: https://stackoverflow.com/questions/21407235/null-empty-string-comparison-in-bash
- Bash Shell Find Out If a Variable Is Empty Or Not: https://www.cyberciti.biz/faq/unix-linux-bash-script-check-if-variable-is-empty/
- How to Use Restricted Shell to Limit What a Linux User Can Do: https://www.howtogeek.com/718074/how-to-use-restricted-shell-to-limit-what-a-linux-user-can-do/
- How do I rm or mv a file that begins with a dash?: https://www.computerhope.com/issues/ch000651.htm
- rm fails to delete files by wildcard from a script, but works from a shell prompt: https://stackoverflow.com/questions/790195/rm-fails-to-delete-files-by-wildcard-from-a-script-but-works-from-a-shell-promp
- How to delete this files with wildcards in Ubuntu terminal: https://askubuntu.com/questions/707924/how-to-delete-this-files-with-wildcards-in-ubuntu-terminal
- Bash Shell Check Whether a Directory is Empty or Not: https://www.cyberciti.biz/faq/linux-unix-shell-check-if-directory-empty/
- How to check directory is empty?: https://unix.stackexchange.com/questions/202243/how-to-check-directory-is-empty
External Links
- wikipedia: List of Linux distributions
- wikipedia: Linux
- wikipedia: Linus Torvalds
- Top 20 Linux Advantages: http://lug-iitd.org/Articles/Read_Linux_Advantages_in_2_minute
- Nice Linux Links: http://lug-iitd.org/Nice_Linux_Links
- About the Use of Dot-Slash in Commands: http://www.linfo.org/dot_slash.html
- How to find out which process is listening upon a port: http://www.debian-administration.org/article/How_to_find_out_which_process_is_listening_upon_a_port
- The Best & Fastest Computers are Linux Computers: http://www.zdnet.com/blog/open-source/the-best-fastest-computers-are-linux-computers/9121
- How to get Kernel Source for Fedora 14 (Fedora 15 ==>Linux 4.8 adds Pi, Surface support but Linus Torvalds fumes over 'kernel-killing' bug: http://www.zdnet.com/article/linux-4-8-brings-pi-surface-support-but-linus-torvalds-fumes-over-kernel-killing-bug/ kernel-2.6.18-8.1.8.el5.src.rpm): http://forums.fedoraforum.org/showthread.php?t=256416#
- How do I install 3rd party repository manually?: http://www.cyberciti.biz/tips/rhel5-fedora-core-add-new-yum-repository.html
- Vi and Vim Editor -- 12 Powerful Find and Replace Examples: http://www.thegeekstuff.com/2009/04/vi-vim-editor-search-and-replace-examples/
- Host Instant Messaging Services with ejabberd on Fedora 13: http://library.linode.com/communications/xmpp/ejabberd/fedora-13
- How to use IRC (on Fedora): http://fedoraproject.org/wiki/Communicate/IRCHowTo
- How do I find out if I am running 64bit or 32bit Centos?: http://www.how-to-linux.com/centos-52/find-running-64bit-32bit-centos/
- How to Add or Remove User Accounts in RHEL/CentOS 5/6: http://www.linuxmail.info/how-to-add-remove-user-accounts-centos-5/
- Subversion on CentOS: http://wiki.centos.org/HowTos/Subversion
- SSH Configuration Tricks (SVN on Linux): http://svnbook.red-bean.com/nightly/en/svn.serverconfig.svnserve.html#svn.serverconfig.svnserve.sshtricks
- How do I add more Subversion Users (on Linux)?: https://support.railsmachine.com/index.php?pg=kb.page&id=50
- Installing software from RPM packages: http://www.tuxfiles.org/linuxhelp/rpminstall.html
- Ubuntu Linux heads to smartphones, tablets, and smart TVs: http://www.zdnet.com/blog/open-source/ubuntu-linux-heads-to-smartphones-tablets-and-smart-tvs/9834
- Linux No.1 Platform Among C/C++ Devs: http://www.techdrivein.com/2015/07/linux-preferred-platform-for-c-devs.html
- Acer CrystalEye Webcam on Linux / Ubuntu: http://rafeequl.wordpress.com/2007/10/15/acer-crystaleye-webcam-on-linux-ubuntu/
- Linux 4.8 adds Pi, Surface support but Linus Torvalds fumes over 'kernel-killing' bug: http://www.zdnet.com/article/linux-4-8-brings-pi-surface-support-but-linus-torvalds-fumes-over-kernel-killing-bug/
- Most Useful Linux Command Line Tricks: http://dzone.com/articles/most-useful-linux-command-line-tricks
- There's a Linux-powered car in your future: http://www.zdnet.com/article/theres-a-linux-powered-car-in-your-future/
- The Top Linux Distributions Of All Time: https://www.lifewire.com/top-linux-distributions-of-all-time-4084559
- The Best Linux Distros for 2017: https://www.linux.com/news/learn/sysadmin/best-linux-distributions-2017
- The 6 Linux Distros We’re Most Excited For in 2017: http://www.omgubuntu.co.uk/2016/12/6-linux-distributions-2017
- How to find out what version of RHEL I'm using?: https://unix.stackexchange.com/questions/57151/how-to-find-out-what-version-of-rhel-im-using
- How do I check if I have a 32-bit or a 64-bit OS?: https://askubuntu.com/questions/41332/how-do-i-check-if-i-have-a-32-bit-or-a-64-bit-os
- How to update rpm/yum database?: https://serverfault.com/questions/179900/how-to-update-rpm-yum-database
- Update package database in yum/dnf automatically?: https://ask.fedoraproject.org/en/question/50171/update-package-database-in-yumdnf-automatically/
- Install YUM Online Repositories on CentOS 7 / RHEL 7: https://www.techbrown.com/install-yum-online-repositories-on-centos-7-rhel-7.shtml
- Installing specific tools by using the rpm command: https://www.ibm.com/support/knowledgecenter/en/linuxonibm/liaau/liaau-install-from-yum-repo-rpm-specific-tools.htm
- 20 Linux YUM (Yellowdog Updater, Modified) Commands for Package Management: https://www.tecmint.com/20-linux-yum-yellowdog-updater-modified-commands-for-package-mangement/
- Is space not allowed in a filename?: https://unix.stackexchange.com/questions/148043/is-space-not-allowed-in-a-filename
- CentOS -- error - "libXext.so.6: cannot open shared object file": No such file or directory: https://stackoverflow.com/questions/29741518/centos-error-libxext-so-6-cannot-open-shared-object-file-no-such-file-or-dir
- Can't find/install libXtst.so.6?: https://stackoverflow.com/questions/17355863/cant-find-install-libxtst-so-6
- "libawt_xawt.so - libXext.so.6: cannot open shared object file: No such file or directory": https://askubuntu.com/questions/674579/libawt-xawt-so-libxext-so-6-cannot-open-shared-object-file-no-such-file-or-di/674688[63]
- Linux error while loading shared libraries -- "cannot open shared object file: No such file or directory": https://stackoverflow.com/questions/480764/linux-error-while-loading-shared-libraries-cannot-open-shared-object-file-no-s
- Shared Libraries: tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html
- Shared Object Dependencies: https://docs.oracle.com/cd/E19253-01/817-1984/chapter6-63352/index.html
- “No space left on device” when installing packages, yet I have space left: https://askubuntu.com/questions/485743/no-space-left-on-device-when-installing-packages-yet-i-have-space-left: https://askubuntu.com/questions/485743/no-space-left-on-device-when-installing-packages-yet-i-have-space-left
- The 7 Main Rules For Naming Files and Folders in Linux and Unix: http://linuxg.net/the-7-main-rules-for-naming-files-and-folders-in-linux-and-unix/
- Linux directory structure "/etc/" explained: https://www.linuxnix.com/linux-directory-structure-explainedetc-folder/
- RedHat and CentOS systems aren’t booting due to BootHole patches: https://arstechnica.com/gadgets/2020/07/red-hat-and-centos-systems-arent-booting-due-to-boothole-patches/
- IBM’s $34b USD Acquisition of Red Hat Will Trigger Tectonic Changes in The IT Landscape: https://dzone.com/articles/ibm-acquisition-of-red-hat-will-trigger-tectonic-c
- Heap-based buffer overflow in Sudo (CVE-2021-3156): https://www.openwall.com/lists/oss-security/2021/01/26/3
- Navigating Bash History with Ctrl+R: https://lornajane.net/posts/2011/navigating-bash-history-with-ctrlr
- The "Dirty Pipe" Vulnerability in Linux: https://dirtypipe.cm4all.com/#the-dirty-pipe-vulnerability
References
- ↑ DistroWatch - Top Linux Distros list: https://distrowatch.com/dwres.php?resource=major
- ↑ wikipedia: DistroWatch
- ↑ The Top Linux Distributions Of All Time: https://www.lifewire.com/top-linux-distributions-of-all-time-4084559
- ↑ Whatever happened to these (once) Red-Hot Linux Distros?: https://www.linux.com/news/whatever-happened-these-red-hot-linux-distros
- ↑ RedHat on DistroWatch: http://distrowatch.com/table.php?distribution=redhat
- ↑ RHEL docs -- Chapter 1 - Red Hat Software Collections (repos) 3.4: https://access.redhat.com/documentation/en-us/red_hat_software_collections/3/html/3.4_release_notes/chap-rhscl
- ↑ Red Hat Enterprise Linux -- (current/past version) release dates: https://access.redhat.com/articles/3078
- ↑ How To Install Wine 2.0 on CentOS, RHEL & Fedora : https://tecadmin.net/steps-install-wine-centos-rhel-fedora-systems/
- ↑ CentOS on DistroWatch: http://distrowatch.com/table.php?distribution=centos
- ↑ [HOWTO] Install phpMyAdmin in CentOS 5: http://www.khattam.info/howto-install-phpmyadmin-in-centos-5-2010-09-25.html
- ↑ SUSE on DistroWatch: http://distrowatch.com/table.php?distribution=suse
- ↑ The Perfect Setup - Mandrake/Mandriva 10.2: https://www.howtoforge.com/perfect_setup_mandrake_10_2
- ↑ wikipedia: Mandriva Linux
- ↑ Mandriva Linux is dead, but these 3 forked distros carry on its legacy: https://www.pcworld.com/article/2930369/mandriva-linux-is-dead-but-these-3-forked-distros-carry-on-its-legacy.html
- ↑ xandrOS on DistroWatch: http://distrowatch.com/table.php?distribution=xandros
- ↑ wikipedia: chown
- ↑ chmod basic tutorial: https://www.tutorialspoint.com/unix_commands/chown.htm
- ↑ Linux chown command - detailed tutorial: https://www.computerhope.com/unix/uchown.htm
- ↑ chmod guide: https://www.howtoforge.com/linux-chown-command/
- ↑ CHOWN command in Linux/Unix explained with examples: https://www.linuxnix.com/chown-command-linuxunix-explained-examples/
- ↑ 12 Linux Chown Command Examples to Change Owner and Group: http://www.thegeekstuff.com/2012/06/chown-examples
- ↑ wikipedia: chmod
- ↑ chmod guide: https://www.computerhope.com/unix/uchmod.htm
- ↑ chmod detailed tutorial: http://catcode.com/teachmod/
- ↑ chmod quick tutorial: https://www.tutorialspoint.com/unix_commands/chmod.htm
- ↑ 7 chmod Command Examples for Beginners: http://www.thegeekstuff.com/2010/06/chmod-command-examples
- ↑ Useful SystemD commands (hints for systemctl or systemctl vs chkconfig and service): https://dynacont.net/documentation/linux/Useful_SystemD_commands/
- ↑ How To Use Systemctl to Manage Systemd Services and Units: https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage-systemd-services-and-units
- ↑ Use tcpdump to get HTTP requests, response header and response body?: http://stackoverflow.com/a/16610385
- ↑ Packet Analysis - 15 TCPDUMP Command Examples: http://www.thegeekstuff.com/2010/08/tcpdump-command-examples/
- ↑ Linux 'Install' command overview: https://www.lifewire.com/install-linux-command-4091911
- ↑ Finding Apache configuration file (httpd.conf) location: http://www.commanigy.com/blog/2011/06/08/finding-apache-configuration-file-httpd-conf-location
- ↑ Tutorial -- How to Use ack & grep on Ubuntu 14.04: https://www.hostingadvice.com/blog/tutorial-use-ack-grep-linux/
- ↑ Starting Tomcat as a service on LINUX: https://stackoverflow.com/questions/9156425/starting-tomcat-as-a-service-on-linux
- ↑ Starting Tomcat as a Service on Linux: https://web.archive.org/web/20120225104407/http://www.spaceprogram.com/knowledge/tomcat_init_d.html
- ↑ details about nohup: https://www.computerhope.com/unix/unohup.htm
- ↑ /usr/local or /opt?: https://superuser.com/questions/122420/usr-local-or-opt
- ↑ What is /usr/local/bin?: https://unix.stackexchange.com/questions/4186/what-is-usr-local-bin
- ↑ Filesystem Hierarchy Standard (FHS): http://www.pathname.com/fhs/
- ↑ wikipedia: Server Message Block
- ↑ wikipedia: Network File System
- ↑ wikipedia: Apple Filing Protocol
- ↑ wikipedia: Service Advertising Protocol
- ↑ wikipedia: NetBIOS
- ↑ CIFS vs SAMBA, What are the differences: http://unix.stackexchange.com/questions/34742/cifs-vs-samba-what-are-the-differences
- ↑ Common Internet File System: https://technet.microsoft.com/en-us/library/cc939973.aspx
- ↑ Just what is SMB?: https://www.samba.org/cifs/docs/what-is-smb.html
- ↑ Linux mount CIFS Windows Share: https://www.cyberciti.biz/faq/linux-mount-cifs-windows-share/
- ↑ 12 scp command examples to transfer files on Linux: http://www.binarytides.com/linux-scp-command/
- ↑ Linux Command Line Learning Resources (comprehensive list of links to Linux guides/books/man-pages): http://ubuntuforums.org/showthread.php?t=1909108&p=11611291
- ↑ Linux distribution popularity trends plotted: http://deviceguru.com/linux-distribution-popularity-trends/
- ↑ The Top 10 Linux Distributions Of All Time: https://www.lifewire.com/top-linux-distributions-of-all-time-4084559
- ↑ 10 of the Most Popular Linux Distributions Compared: https://www.howtogeek.com/191207/10-of-the-most-popular-linux-distributions-compared/
- ↑ What is a TTY on Linux? (and How to Use the tty Command): https://www.howtogeek.com/428174/what-is-a-tty-on-linux-and-how-to-use-the-tty-command/
- ↑ Unix - Mac OS X - "grep" command man pages: https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/grep.1.html
- ↑ Untar a File in Linux/Ubuntu: http://www.hostingadvice.com/how-to/untar-file-linuxubuntu/
- ↑ A Guide to Kill, Pkill and Killall Commands to Terminate a Process in Linux: https://www.tecmint.com/how-to-kill-a-process-in-linux/
- ↑ How to pipe text from command line to the clipboard: https://superuser.com/questions/97762/how-to-pipe-text-from-command-line-to-the-clipboard
- ↑ HowTo -- Save The Output Of A Linux/Unix Command To A File: https://www.cyberciti.biz/faq/howto-save-ouput-of-linux-unix-command-to-file/
- ↑ How to copy a list of file names to text file?: https://superuser.com/questions/395836/how-to-copy-a-list-of-file-names-to-text-file
- ↑ How to check whether a directory is empty or not in Shell Scripting?: https://stackoverflow.com/questions/36245235/how-to-check-whether-a-directory-is-empty-or-not-in-shell-scripting
- ↑ Bash Shell Check Whether a Directory is Empty or Not: https://aws-labs.com/bash-shell-check-directory-empty/
- ↑ Installing the WAT on 64-bit Linux systems: https://docs.oracle.com/cd/E40520_01/wat.311/wat_install/src/t_installing_wat_on_unix.html
See Also
Unix | Ubuntu | Operating System | Server | Open Source | C | Android