Watch Explanation on YouTube How to use grep to find alias and validity of keystore certificate Link URL : https://youtu.be/SxMri8hvtPw Command $ keytool -list -v -keystore /usr/java/jdk1.7...
Create table $ while true; do cat system_log.txt | wc -l; sleep 60; done
Create table create table MESSAGE_STORE( message varchar2(200) whenreceived date default sysdate ); insert xml into table insert into MESSAGE_ARCHIVE (message) values ('<mess...
View all network interfaces $ ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 ...
Oracle 11 or before SELECT * FROM (SELECT COLUMN1, COLUMN2 FROM TABLE_NAME ORDER BY COLUMN1 desc) WHERE rownum =1; Oracle 12 or above SELECT COLUMN1, COLUMN2 FROM TABLE_NAME ORDER BY...
Create table create table MESSAGE_STORE( message varchar2(200) whenreceived date ); Oracle select record within a range using operator and date time SELECT WHENRECEIVED,MESSAGE ...
Changing my shell to zsh Check if I have zsh installed $ which zsh /usr/bin/zsh Verify current logged-in user $ whoami testing Change shell for current logged-in user to zsh ...
Java 8 ConcurrentHashMap.newKeySet() Java 8 Map<String, Boolean> map=new ConcurrentHashMap(); Collections.newSetFromMap(map) ConcurrentHashSet
Temporary Fix When getting ‘doesn’t support architecture’ warnings during apt update $ cd /etc/apt/sources.list.d Now open the software repository file that gave the above warning $ su...
Trying to install software using .dpkg file $ sudo dpkg -i some_software.dpkg .... ... missing dependencies error ... Use apt to remove the above broken installation (updated to use apt...