Grep lines not starting with ; or [ first ^ for start, second ^ for "not"
Updated . Posted . Visible to the public.
grep "^[^;[]" /etc/php.ini | less
Related cards:
download Oracle Java with wget from command line
wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2%2Fwww.oracle.com%2F" "http://download.oracle.com/otn-pub/java/jdk/7u51-b13/jdk-7u51-linux-i586.rpm"
Setup Pentaho ETL server Linux
Todo
- rotate logs
- startup script for carte server
Software
- Setup centos 6.5
- set hostname in /etc/hosts
- start sshd
- turn off iptables
- add EPEL repo
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release...
Rsync tips
rsync --partial --progress --rsh=ssh user@host:remote_file local_file
https://www.digitalocean.com/community/tutorials/how-to-use-rsync-to-sync-local-and-remote-directories-on-a-vps
Using the Job Control of bash to send the process into the background
- Ctrl+Z to stop (pause) the program and get back to the shell
-
bg
to run it in the background. -
disown -h [job-spec]
where [job-spec] is the job number (like %1 for the first running job; find about your number with the jobs command) so ...
Posted by Andreas Wagner to Toolbox Cash on Go's deck (2015-06-15 13:46)