![]() |
This site is currently Under Construction |
...soon to be...![]() |
|---|
|
Commandline Tools (Linux/Unix) Last updated: 2009-06-31 === Manual Info: OS Version: OS Version and CPU: Process Statistics - Sorted by CPU utilization System Statistics - Sorted by CPU utilization Adding a user: Remove a user: Checking disk usage: Restart OpenSSH without rebooting: Using netstat: Checking network usage statistics: Check disk usage of the home directories: Finding a file, searching the entire directory structure: Adding a user to a group: List Open Files: Partition/Disk Info of Mounted Partitions: Locate File Anywhere: Update Locate Database: Locate file in cached database: Copying a File: Renaming a File: Removing a File: Creating a Directory: Moving or Copying Files Into a Directory: Renaming a Directory: Copying a Directory: Removing a Directory(s) if empty: Remove Directory plus All Files and Tree of Directories below: Creates a Symbolic (Soft) Link to a file: Creates a Hard Link to a file: List Symbolic Links Only: Export: Unset: Shutdown and Reboot: Shutdown and Halt: Reboot: === Return Command Result to Variable: # <variable>=$(<command_string>) Examples: # INT1=$(ls) # INT1=$(ip route show | grep 192.168.1.0 | cut -d ' ' -f 3) === Echo Variable to a File: If you need to echo a variable to a file, you can either send the variable value to the file or the variable name, depending on your needs. Simply preceed the "$" with the backslash "\" to escape the $ creating the variable value in your file. Examples: # INT1=test # INT1=test === Reference Links: http://www.pixelbeat.org/cmdline.html ===
|