Ubuntu Reference Page
|
Linux Applications that I like to use with Ubuntu
Ubuntu Server Applications
Other Linux Applications
|
Command Line - file management
- ls list files
- ls <option>
- ls -a (include hidden files)
- ls -d (list directories only)
- lshw (list all installed hardware)
- lsusb (list usb ports)
- pwd present working directory
- cd change directory
- go to root: cd /
- go to home dir: cd~
- go up one dir: cd ..
- cp copy file
- syntax: cp Source Destination
- rm remove files and directories
- rm [OPTION]... FILE...
- Option: -R removes directories and their contents recursively
- mkdir make directory
- chmod change permissions on files
- Syntax: chmod [option] [mode] file
- Options: -v verbose, -R Recursive
- Mode: (example) 644 First digit is for users, second digit for groups, third digit for others
Value for each digit is a sum of permissions: read 4, write 2, execute 1
- chown change user and group ownership of files
- Syntax: chmod [option] [owner:group] file/directory
- Option: -R Recursive
- Example 1: sudo chown carl:carl webpage.htm
- Example 2: sudo chown carl:carl /media/share
- dd Copy a CD to a disk image
- dd if=/dev/cdrom of=image.iso
|
How I fixed...
|
Command Line - system admin
- sudo apt-cache search "search parameter" search repositories for applications
- sudo apt-cache show gthumb show attributes for specified application
- sudo apt-get install gthumb install application and dependencies
- sudo apt-get remove gthumb remove application
- sudo apt-get --purge remove gthumb removes configuration files too
- sudo apt-get update updates package list
- sudo apt-get upgrade actually updates installed packages
- both at once:
sudo apt-get update && sudo apt-get -y dist-upgrade
- aptitude package management interface for server
- shutdown [option] [when]
- options: -r (restart), -h (halt system after shutdown)
- when now, 20:15 (at 8:15 PM), 12 (in 12 minutes)
- wget download file from web
- syntax: wget http://www.site.com/filename.deb
- dpkg command line package manager
- Reference: LINK
- Example: dpkg -i somepackage.deg
-
|
Key Configuration Files
Key system log files
- /var/log/syslog general system log
- /var/log/auth.log system authentication logs
- /var/log/mail.log
- /var/log/messages
- /var/log/dmesg kernel ring buffer messages
|
Video
motion
- /etc/motion/motion.conf
- Commonly modified parameters:
- videodevice
- input
- rotate
- height
- width
- framerate
- threshold
- pre_ & post_capture
- target_dir
- Next item
- another item
|