#extend desktop sudo displayconfig-gtk #Make NTFS Disk read/write sudo apt-get install ntfs-config #what's the Ubuntu version name cat /etc/lsb_release # (?) difference between source filename and ./filename source .bashrc . .bashrc #a2enmod, /etc/apache2/mods-available/ sudo /etc/init.d/apache2 restart sudo /etc/init.d/apache2 force-reload #internet from command line: #Links2, elinks, lynx # Allowing other user to run sudo sudo adduser $username admin # Start Root Shell sudo -i # Start Root shell with keeping current shell enviornment sudo -s # a quick way to display Linux Kernel info uname -a # list installed package dpkg -l #exec, xargs (section 9.9, xargs @28.17) The difference between -exec and xargs is subtle. The first one will execute the program once per file, while xargs can handle several files with each process. However, xargs may have problems with filenames that contain embedded spaces. (Versions of xargs that support the -0 option can avoid this problem; they expect NUL characters as delimiters instead of spaces, and find's -print0 option generates output that way.) |