<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-35430862</id><updated>2026-06-27T04:01:29.239+05:30</updated><category term="linux"/><category term="ubuntu"/><category term="vim"/><category term="windows 7"/><category term="MySQL"/><category term="android"/><category term="c program"/><category term="802.11"/><category term="Wi-Fi"/><category term="Wireless"/><category term="RF"/><category term="phpbb"/><category term="Joomla"/><category term="cassandra"/><category term="command prompt"/><category term="ctags"/><category term="excel"/><category term="git"/><category term="mobile"/><category term="php"/><category term="skype"/><category term="tmux"/><category term="virtual box"/><category term="xampp"/><category term="Access Point"/><category term="CQL"/><category term="Microsoft Excel"/><category term="Microsoft Word"/><category term="VM"/><category term="Windows"/><category term="adb"/><category term="aptana"/><category term="cibonfire"/><category term="diff"/><category term="embedded system"/><category term="general"/><category term="google apps"/><category term="iperf"/><category term="mantis"/><category term="number"/><category term="patch"/><category term="perl"/><category term="phpMyAdmin"/><category term="scp"/><category term="script"/><category term="softAP"/><category term="subversion(svn)"/><category term="telnet"/><category term="tftp"/><category term="vi"/><category term="virtual machine"/><category term="vxworks"/><title type='text'>Technical blog</title><subtitle type='html'>Tips and tutorials on Wi-Fi(802.11), Windows, Linux, PHP, MySQL, Codeigniter, Android</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://dinomycle.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://dinomycle.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Dino</name><uri>http://www.blogger.com/profile/03109667773998688312</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>91</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-35430862.post-4719041122657169418</id><published>2022-01-04T04:01:00.008+05:30</published><updated>2022-01-04T04:07:04.235+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="tmux"/><title type='text'>tmux enabling mouse interaction</title><content type='html'>&lt;p&gt;Add the below line to the ~/.tmux.conf&lt;/p&gt;&lt;p&gt;&lt;b&gt;setw -g mouse on&lt;/b&gt;&lt;/p&gt;&lt;p&gt;save the file and exit from the tmux shell, you should be able to use your mouse to resize the windows&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://dinomycle.blogspot.com/feeds/4719041122657169418/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinomycle.blogspot.com/2022/01/tmux-enabling-mouse-interaction.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/4719041122657169418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/4719041122657169418'/><link rel='alternate' type='text/html' href='http://dinomycle.blogspot.com/2022/01/tmux-enabling-mouse-interaction.html' title='tmux enabling mouse interaction'/><author><name>Dino</name><uri>http://www.blogger.com/profile/03109667773998688312</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35430862.post-3873309562180739958</id><published>2021-08-10T00:14:00.003+05:30</published><updated>2021-08-10T00:15:24.382+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="tmux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>tmux saving the scrollback content to a file</title><content type='html'>&lt;p&gt;Follow as below, i tried this in Ubuntu 18.04 LTS&lt;/p&gt;&lt;p&gt;All commands to be execute without quotes&amp;nbsp;&lt;/p&gt;&lt;p&gt;1) Use &quot;prefix + :&quot;&lt;/p&gt;&lt;p&gt;2) Type &quot;capture-pane -S -5000 + Return&quot;&lt;/p&gt;&lt;p&gt;Replace -5000 with the number of lines you&#39;d like to save, or with - for all lines. This copies those lines into a buffer.&lt;/p&gt;&lt;p&gt;3) To save the buffer to a file, type &quot;prefix + :&quot;&lt;/p&gt;&lt;p&gt;4) Type in &quot;save-buffer filename.txt + return&quot;.&lt;/p&gt;&lt;p&gt;By default Prefix is Ctrl+B for tmux&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://dinomycle.blogspot.com/feeds/3873309562180739958/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinomycle.blogspot.com/2021/08/tmux-saving-scrollback-content-to-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/3873309562180739958'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/3873309562180739958'/><link rel='alternate' type='text/html' href='http://dinomycle.blogspot.com/2021/08/tmux-saving-scrollback-content-to-file.html' title='tmux saving the scrollback content to a file'/><author><name>Dino</name><uri>http://www.blogger.com/profile/03109667773998688312</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35430862.post-230484811684437808</id><published>2020-08-22T04:08:00.003+05:30</published><updated>2020-08-22T04:08:37.353+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>How to enable Remote Desktop in Ubuntu</title><content type='html'>&lt;p&gt;Below tested on Ubuntu 18.04&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Refer the Screenshot, by default Ubuntu uses vino-server&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSk-55Uoa6zyABarup5AHcxX4HraIbiExEtk-nb7U8lPaChjoFfXWNPShKja6wSRsBDMOHMkqDa72sGIwXYovBd4_71b8r8EQXCAQYiF37VATFOZHasmQ9Iw9QYcPuf8a1GgAeig/s839/ubutnu+18+enable+remote+desktop.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;602&quot; data-original-width=&quot;839&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSk-55Uoa6zyABarup5AHcxX4HraIbiExEtk-nb7U8lPaChjoFfXWNPShKja6wSRsBDMOHMkqDa72sGIwXYovBd4_71b8r8EQXCAQYiF37VATFOZHasmQ9Iw9QYcPuf8a1GgAeig/s640/ubutnu+18+enable+remote+desktop.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&amp;nbsp;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;1) Click on Ubuntu Settings&lt;/p&gt;&lt;p&gt;2) Click on Sharing&lt;/p&gt;&lt;p&gt;3) Click on the screen sharing&lt;/p&gt;&lt;p&gt;4) turn on the screen sharing button on the pop up window&lt;/p&gt;&lt;p&gt;5) set the options as shown above, set a password for the connection&lt;/p&gt;&lt;p&gt;6) disable encryption&lt;/p&gt;&lt;p&gt;&amp;nbsp;sudo gsettings set org.gnome.Vino require-encryption false&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://dinomycle.blogspot.com/feeds/230484811684437808/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinomycle.blogspot.com/2020/08/how-to-enable-remote-desktop-in-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/230484811684437808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/230484811684437808'/><link rel='alternate' type='text/html' href='http://dinomycle.blogspot.com/2020/08/how-to-enable-remote-desktop-in-ubuntu.html' title='How to enable Remote Desktop in Ubuntu'/><author><name>Dino</name><uri>http://www.blogger.com/profile/03109667773998688312</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSk-55Uoa6zyABarup5AHcxX4HraIbiExEtk-nb7U8lPaChjoFfXWNPShKja6wSRsBDMOHMkqDa72sGIwXYovBd4_71b8r8EQXCAQYiF37VATFOZHasmQ9Iw9QYcPuf8a1GgAeig/s72-c/ubutnu+18+enable+remote+desktop.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35430862.post-354018656392629140</id><published>2020-06-13T01:26:00.002+05:30</published><updated>2020-10-28T21:46:46.196+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="script"/><title type='text'>Ubuntu 18.04 running script at boot</title><content type='html'>&lt;div&gt;Ubuntu 18 is using systemd, and there are three things we need to do&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1) Create a service file and put it in /etc/systemd/system/&lt;/div&gt;&lt;div&gt;&amp;nbsp; let say the file be board-init.service, with the below content&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;pre&gt;[Unit]&lt;br /&gt;Description=Board initializations&lt;br /&gt;DefaultDependencies=no&lt;/pre&gt;&lt;pre&gt;&lt;br /&gt;[Service]&lt;br /&gt;Type=oneshot&lt;br /&gt;ExecStart=/etc/board-init.sh&lt;/pre&gt;&lt;pre&gt;&lt;br /&gt;[Install]&lt;br /&gt;WantedBy=sysinit.target&lt;/pre&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;2) create your board-init.sh script file, and put it in /etc/&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;3) Create a soft link in the /etc/systemd/system/sysinit.target.wants to the service file w created&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;cd /etc/systemd/system/sysinit.target.wants&lt;/div&gt;&lt;div&gt;ln -s /etc/systemd/system/board-init.service board-init.service&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;reboot the board. To see the output of the script type&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;pre style=&quot;text-align: left;&quot;&gt;&lt;b&gt;journalctl -u board-init -b&lt;/b&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://dinomycle.blogspot.com/feeds/354018656392629140/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinomycle.blogspot.com/2020/06/ubuntu-1804-running-script-at-boot.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/354018656392629140'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/354018656392629140'/><link rel='alternate' type='text/html' href='http://dinomycle.blogspot.com/2020/06/ubuntu-1804-running-script-at-boot.html' title='Ubuntu 18.04 running script at boot'/><author><name>Dino</name><uri>http://www.blogger.com/profile/03109667773998688312</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35430862.post-2161339423503972725</id><published>2019-09-13T21:15:00.003+05:30</published><updated>2024-07-17T22:43:41.204+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="vi"/><category scheme="http://www.blogger.com/atom/ns#" term="vim"/><title type='text'>dinomycle vimrc file</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&quot;show status bar&lt;br /&gt;
set laststatus=2&lt;br /&gt;
&lt;br /&gt;
&quot;Highlight search&lt;br /&gt;
set hlsearch&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&quot;Turning off expandtab in VIM for editing makefile&lt;br /&gt;
let _curfile = expand(&quot;%:t&quot;)&lt;br /&gt;
if _curfile =~ &quot;Makefile&quot; || _curfile =~ &quot;makefile&quot; || _curfile =~ &quot;.*\.mk&quot;&lt;br /&gt;
set noexpandtab&lt;br /&gt;
else&lt;br /&gt;
set expandtab&lt;br /&gt;
set tabstop=4&lt;br /&gt;
set shiftwidth=4&lt;br /&gt;
endif&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&quot;showing all opened files in vim&lt;br /&gt;
map &amp;lt;F4&amp;gt; :ls&amp;lt;CR&amp;gt;:buffer&amp;lt;space&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&quot;showing the status bar with extra info&lt;br /&gt;
set statusline=%F%m%r%h%w\ [FORMAT=%{&amp;amp;ff}]\ [TYPE=%Y]\ [ASCII=\%03.3b]\ [HEX=\%02.2B]\ [POS=%04l,%04v][%p%%]\ [LEN=%L]&lt;br /&gt;
set background=dark&lt;br /&gt;
set autoindent&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dinomycle.blogspot.com/feeds/2161339423503972725/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinomycle.blogspot.com/2019/09/dinomycle-vimrc-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/2161339423503972725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/2161339423503972725'/><link rel='alternate' type='text/html' href='http://dinomycle.blogspot.com/2019/09/dinomycle-vimrc-file.html' title='dinomycle vimrc file'/><author><name>Dino</name><uri>http://www.blogger.com/profile/03109667773998688312</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35430862.post-8093844607065929879</id><published>2019-03-13T21:40:00.000+05:30</published><updated>2019-03-13T21:40:21.296+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Ubuntu/Linux showing DNS settings</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
type the below command, tried in Ubuntu 16.04&lt;br /&gt;
&lt;b&gt;nmcli dev show&lt;/b&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dinomycle.blogspot.com/feeds/8093844607065929879/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinomycle.blogspot.com/2019/03/ubuntulinux-showing-dns-settings.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/8093844607065929879'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/8093844607065929879'/><link rel='alternate' type='text/html' href='http://dinomycle.blogspot.com/2019/03/ubuntulinux-showing-dns-settings.html' title='Ubuntu/Linux showing DNS settings'/><author><name>Dino</name><uri>http://www.blogger.com/profile/03109667773998688312</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35430862.post-5308039056284574956</id><published>2018-02-04T05:57:00.001+05:30</published><updated>2018-02-04T05:57:46.998+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="virtual box"/><category scheme="http://www.blogger.com/atom/ns#" term="virtual machine"/><category scheme="http://www.blogger.com/atom/ns#" term="VM"/><title type='text'>Oracle Virtual Machine Creating Shared Folder and its Permission in Ubuntu guest</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Explaining the Steps for sharing a folder on Oracle VM with Windows Host and Ubuntu Guest&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
VirtualBox’s Shared Folders feature works with both Windows and Linux guest operating systems.&lt;br /&gt;
Steps to follow to do this is as follows&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1)&amp;nbsp;&lt;b&gt;Install VirtualBox’s Guest Additions in the guest virtual machine.&lt;/b&gt;&lt;br /&gt;
After the guest os(Ubuntu) is booted,&lt;br /&gt;
click the “Devices” menu and choose the&lt;br /&gt;
“Insert Guest Additions CD image” option.&lt;br /&gt;
This inserts a virtual CD that you can use within the guest operating system to install the Guest Additions.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;2) we need to reboot the VM Guest&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;3) Creating a shared folder&lt;/b&gt;&lt;br /&gt;
from the menu&lt;br /&gt;
&lt;br /&gt;
Devices -&amp;gt; Shared Folder -&amp;gt; Shared Folder Settings&lt;br /&gt;
&lt;br /&gt;
Select a folder to be shared between Windows and Ubuntu&lt;br /&gt;
Reboot the VM&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;4) Now we should be able to see the shared folder in /media/sf_*****&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;5) Setting Permission&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;But now when you click using browser or change directory you will see permission issue. For this we need to run the below command in terminal&lt;br /&gt;
&lt;br /&gt;
sudo adduser &amp;lt;your_user_name&amp;gt; vboxsf&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
sudo adduser `whoami` vboxsf&lt;br /&gt;
&lt;br /&gt;
Logout the current user and login again or reboot the Ubuntu guest, After logging in you will be to access the shared folder from the Ubuntu&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dinomycle.blogspot.com/feeds/5308039056284574956/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinomycle.blogspot.com/2018/02/oracle-virtual-machine-creating-shared.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/5308039056284574956'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/5308039056284574956'/><link rel='alternate' type='text/html' href='http://dinomycle.blogspot.com/2018/02/oracle-virtual-machine-creating-shared.html' title='Oracle Virtual Machine Creating Shared Folder and its Permission in Ubuntu guest'/><author><name>Dino</name><uri>http://www.blogger.com/profile/03109667773998688312</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35430862.post-2819420224730078551</id><published>2018-01-04T21:50:00.000+05:30</published><updated>2020-04-25T03:00:10.437+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="adb"/><category scheme="http://www.blogger.com/atom/ns#" term="android"/><title type='text'>Using adb shell for dialing and receiving calls in android</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: white; border: medium none; font-family: &amp;quot;Trebuchet MS&amp;quot;, &amp;quot;Liberation Sans&amp;quot;, &amp;quot;DejaVu Sans&amp;quot;, sans-serif; font-size: 13px; line-height: 18.2px; margin-bottom: 13px; max-width: 700px; padding: 0px;&quot;&gt;
You have to enable the Developer Options and also the USB debugging&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: medium none; font-family: &amp;quot;Trebuchet MS&amp;quot;, &amp;quot;Liberation Sans&amp;quot;, &amp;quot;DejaVu Sans&amp;quot;, sans-serif; font-size: 13px; line-height: 18.2px; margin-bottom: 13px; max-width: 700px; padding: 0px;&quot;&gt;
We can use adb to trigger a call, receive incoming call, see the below adb commands&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: medium none; font-family: &amp;quot;Trebuchet MS&amp;quot;, &amp;quot;Liberation Sans&amp;quot;, &amp;quot;DejaVu Sans&amp;quot;, sans-serif; font-size: 13px; line-height: 18.2px; margin-bottom: 13px; max-width: 700px; padding: 0px;&quot;&gt;
&lt;strong&gt;For dialing a call using activity manager&lt;/strong&gt;&amp;nbsp;adb shell am start -a android.intent.action.CALL -d tel:123456789&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: medium none; line-height: 18.2px; margin-bottom: 13px; max-width: 700px; padding: 0px;&quot;&gt;
&lt;strong style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot;, &amp;quot;liberation sans&amp;quot;, &amp;quot;dejavu sans&amp;quot;, sans-serif; font-size: 13px;&quot;&gt;accept/&lt;/strong&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , &amp;quot;liberation sans&amp;quot; , &amp;quot;dejavu sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;b&gt;receiving&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot;, &amp;quot;liberation sans&amp;quot;, &amp;quot;dejavu sans&amp;quot;, sans-serif; font-size: 13px;&quot;&gt;&amp;nbsp;an incoming call:&lt;/strong&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , &amp;quot;liberation sans&amp;quot; , &amp;quot;dejavu sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&amp;nbsp;adb shell input keyevent 5&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: medium none; font-family: &amp;quot;Trebuchet MS&amp;quot;, &amp;quot;Liberation Sans&amp;quot;, &amp;quot;DejaVu Sans&amp;quot;, sans-serif; font-size: 13px; line-height: 18.2px; margin-bottom: 13px; max-width: 700px; padding: 0px;&quot;&gt;
&lt;strong&gt;hang up/stop phone call:&lt;/strong&gt;&amp;nbsp;adb shell input keyevent 6&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dinomycle.blogspot.com/feeds/2819420224730078551/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinomycle.blogspot.com/2018/01/using-adb-shell-for-dialing-and.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/2819420224730078551'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/2819420224730078551'/><link rel='alternate' type='text/html' href='http://dinomycle.blogspot.com/2018/01/using-adb-shell-for-dialing-and.html' title='Using adb shell for dialing and receiving calls in android'/><author><name>Dino</name><uri>http://www.blogger.com/profile/03109667773998688312</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35430862.post-8999320810285609208</id><published>2016-12-20T19:46:00.000+05:30</published><updated>2016-12-20T19:46:44.737+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="MySQL"/><title type='text'>Mysql Uninstall from Ubuntu 16.04</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Follow the steps&lt;br /&gt;
&lt;br /&gt;
1) sudo apt-get remove dbconfig-mysql&lt;br /&gt;
2) sudo apt-get remove --purge mysql-server mysql-client mysql-common&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dinomycle.blogspot.com/feeds/8999320810285609208/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinomycle.blogspot.com/2016/12/mysql-uninstall-from-ubuntu-1604.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/8999320810285609208'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/8999320810285609208'/><link rel='alternate' type='text/html' href='http://dinomycle.blogspot.com/2016/12/mysql-uninstall-from-ubuntu-1604.html' title='Mysql Uninstall from Ubuntu 16.04'/><author><name>Dino</name><uri>http://www.blogger.com/profile/03109667773998688312</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35430862.post-197286093247162208</id><published>2016-12-06T03:46:00.000+05:30</published><updated>2016-12-15T00:41:28.504+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="iperf"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>iperf3 compilation for ARM in Ubuntu</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
For compiling for ARM target board&lt;br /&gt;
&lt;br /&gt;
Get the cross compiler details and pass it as argument to the configure script. I used&amp;nbsp;iperf-3.1.3&lt;br /&gt;
Below method is for building iperf3 as static, so that we need to push only the iperf3 binary , without any shared libraries&lt;br /&gt;
&lt;br /&gt;
First this assumes you had set the ARM compiler in the path&lt;br /&gt;
&lt;br /&gt;
cd iperf-3.1.3/&lt;br /&gt;
&lt;br /&gt;
1) ./configure --host=arm-linux-gnueabi CC=arm-linux-gnueabi-gcc CXX=arm-linux-gnueabi-g++ CFLAGS=-static CXXFLAGS=-static --enable-static --prefix=`pwd`/output&lt;br /&gt;
&lt;br /&gt;
2) make install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
the binary will be available inside output/bin/&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dinomycle.blogspot.com/feeds/197286093247162208/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinomycle.blogspot.com/2016/12/iperf3-compilation-for-arm-in-ubuntu.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/197286093247162208'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/197286093247162208'/><link rel='alternate' type='text/html' href='http://dinomycle.blogspot.com/2016/12/iperf3-compilation-for-arm-in-ubuntu.html' title='iperf3 compilation for ARM in Ubuntu'/><author><name>Dino</name><uri>http://www.blogger.com/profile/03109667773998688312</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35430862.post-5524603289301378582</id><published>2016-09-22T23:55:00.002+05:30</published><updated>2016-09-27T00:44:55.515+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Increasing the linux terminal console column width and number of rows</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
very useful tip for embedded Linux engineers and those who work with Linux Console using minicom or teraterm&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
very useful tip for embedded Linux engineers and those who
work with Linux Console using minicom or teraterm&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
normally if we type ps in serial console, it will show the
process , if the length is more than 80 character(which is default) we cannot
see the string after 80 characters in the consol,&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
with the below command you can adjust the width of the
terminal with &lt;b&gt;cols&lt;/b&gt; argument and
number of &lt;b&gt;rows&lt;/b&gt; using the &amp;nbsp;argument rows to the command&lt;b&gt; stty&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;stty cols 160 rows 40&lt;/b&gt;&lt;/h2&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
this can be used separate also&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
stty cols 160&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
stty rows 50&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
Hope this help in ps and htop command when u run and other
applications&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dinomycle.blogspot.com/feeds/5524603289301378582/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinomycle.blogspot.com/2016/09/increasing-linux-terminal-console.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/5524603289301378582'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/5524603289301378582'/><link rel='alternate' type='text/html' href='http://dinomycle.blogspot.com/2016/09/increasing-linux-terminal-console.html' title='Increasing the linux terminal console column width and number of rows'/><author><name>Dino</name><uri>http://www.blogger.com/profile/03109667773998688312</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35430862.post-326602535114492018</id><published>2016-09-02T01:31:00.002+05:30</published><updated>2016-09-12T21:25:22.858+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>accessing serial port in linux/ubuntu as a normal user</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;pre&gt;&lt;code&gt;For accessing serial port in linux/ubuntu as a normal user,&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;we need to add the user to the dialout group&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;follow the below commands &lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;sudo adduser second_user dialout&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;or&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;sudo adduser `whoami` dialout &lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dinomycle.blogspot.com/feeds/326602535114492018/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinomycle.blogspot.com/2016/09/accessing-serial-port-in-linuxubuntu-as.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/326602535114492018'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/326602535114492018'/><link rel='alternate' type='text/html' href='http://dinomycle.blogspot.com/2016/09/accessing-serial-port-in-linuxubuntu-as.html' title='accessing serial port in linux/ubuntu as a normal user'/><author><name>Dino</name><uri>http://www.blogger.com/profile/03109667773998688312</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35430862.post-7885978017393848219</id><published>2016-08-28T00:28:00.002+05:30</published><updated>2016-08-28T00:28:57.362+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Linux File Permission in octal format in terminal or command line</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
To see the file permission in Linux terminal use the below command&lt;br /&gt;
&lt;br /&gt;
stat -c &quot;%a %n&quot; *&lt;br /&gt;
&lt;br /&gt;
* = will list and show all files , replace with the fie name if you want to know only for one filename&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dinomycle.blogspot.com/feeds/7885978017393848219/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinomycle.blogspot.com/2016/08/linux-file-permission-in-octal-format.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/7885978017393848219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/7885978017393848219'/><link rel='alternate' type='text/html' href='http://dinomycle.blogspot.com/2016/08/linux-file-permission-in-octal-format.html' title='Linux File Permission in octal format in terminal or command line'/><author><name>Dino</name><uri>http://www.blogger.com/profile/03109667773998688312</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35430862.post-8865572400502778850</id><published>2016-08-16T20:20:00.001+05:30</published><updated>2016-08-16T20:20:47.991+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="virtual box"/><title type='text'>virtual machine shared folder permission</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
When using Ubuntu on Virtual Box, you can share a folder between Windows Hosta and Ubunut Guest, after doing the sharing, you need to set the permission so that it can be accessed using the normal user login&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You need to type the followinf command to add the permission for the normal user to access it&lt;br /&gt;
&lt;br /&gt;
sudo usermod -aG vboxsf &amp;lt;youruser_name&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
sudo usermod -aG vboxsf `whoami`&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dinomycle.blogspot.com/feeds/8865572400502778850/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinomycle.blogspot.com/2016/08/virtual-machine-shared-folder-permission.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/8865572400502778850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/8865572400502778850'/><link rel='alternate' type='text/html' href='http://dinomycle.blogspot.com/2016/08/virtual-machine-shared-folder-permission.html' title='virtual machine shared folder permission'/><author><name>Dino</name><uri>http://www.blogger.com/profile/03109667773998688312</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35430862.post-6280074034456497155</id><published>2016-08-16T20:14:00.002+05:30</published><updated>2024-04-09T23:35:12.937+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="802.11"/><category scheme="http://www.blogger.com/atom/ns#" term="Access Point"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Wi-Fi"/><category scheme="http://www.blogger.com/atom/ns#" term="Wireless"/><title type='text'>Wi-Fi command line commands</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Wi-Fi(IEEE 802.11) command line useful commands&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Wi-Fi AP Mode&lt;/b&gt;&lt;br /&gt;
1) Scan the network&lt;br /&gt;
&lt;br /&gt;&lt;blockquote&gt;
iw dev wlan0 scan or&lt;br /&gt;
iw dev wlan0 scan ap-force&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
2) Connected Devices to the Wi-Fi Access Point (wifi AP mode)&lt;br /&gt;
&lt;br /&gt;
Using hostapd cli: &amp;nbsp;hostapd_cli all_sta&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;using iw: iw dev wlan0 station dump&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Wi-Fi Station/Client Mode&lt;/b&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;b&gt;1) To Scan network&lt;/b&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;blockquote&gt;
iw dev wlan0 scan&amp;nbsp;&lt;/blockquote&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;to show only the SSID from the ouput&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;blockquote&gt;iw dev wlan0 scan | grep SSID&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dinomycle.blogspot.com/feeds/6280074034456497155/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinomycle.blogspot.com/2016/08/wi-fi-command-line-commands.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/6280074034456497155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/6280074034456497155'/><link rel='alternate' type='text/html' href='http://dinomycle.blogspot.com/2016/08/wi-fi-command-line-commands.html' title='Wi-Fi command line commands'/><author><name>Dino</name><uri>http://www.blogger.com/profile/03109667773998688312</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35430862.post-4565060361926769013</id><published>2016-08-16T20:12:00.001+05:30</published><updated>2016-08-16T20:13:05.994+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="ctags"/><category scheme="http://www.blogger.com/atom/ns#" term="php"/><title type='text'>using ctag with PHP</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
ctags-exuberant -f php.tags --languages=PHP -R&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dinomycle.blogspot.com/feeds/4565060361926769013/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinomycle.blogspot.com/2016/08/using-ctag-with-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/4565060361926769013'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/4565060361926769013'/><link rel='alternate' type='text/html' href='http://dinomycle.blogspot.com/2016/08/using-ctag-with-php.html' title='using ctag with PHP'/><author><name>Dino</name><uri>http://www.blogger.com/profile/03109667773998688312</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35430862.post-3904208200059677928</id><published>2016-07-23T01:35:00.006+05:30</published><updated>2023-03-06T21:12:13.924+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>ubuntu showing menu always</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
15.04 and baove has the ability to toggle the global menu as well as the local integrated menus (Via System Settings - Appearance - Behaviour tab) to be permanently on or off.&lt;br /&gt;
&lt;br /&gt;
If you are running a fully up-to-date version of 14.04, this same ability has been backported.&lt;br /&gt;
&lt;br /&gt;
To switch on permanently:&lt;br /&gt;
&lt;br /&gt;
gsettings set com.canonical.Unity always-show-menus true&lt;br /&gt;
&lt;br /&gt;
To switch off i.e. to autohide:&lt;br /&gt;
&lt;br /&gt;
gsettings set com.canonical.Unity always-show-menus false&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dinomycle.blogspot.com/feeds/3904208200059677928/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinomycle.blogspot.com/2016/07/ubunut-showing-menu-always.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/3904208200059677928'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/3904208200059677928'/><link rel='alternate' type='text/html' href='http://dinomycle.blogspot.com/2016/07/ubunut-showing-menu-always.html' title='ubuntu showing menu always'/><author><name>Dino</name><uri>http://www.blogger.com/profile/03109667773998688312</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35430862.post-2049694687674240417</id><published>2016-06-24T03:35:00.001+05:30</published><updated>2016-06-24T03:35:33.328+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Highlighting or making prominent the active Terminal tab in Ubuntu Linux</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
For highlighting or making prominent the active tab of the Terminal in Ubuntu Linux&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;create a file named ~/.config/gtk-3.0/gtk.css&lt;br /&gt;
&lt;br /&gt;
and paste the below content, You can change the color as you want. Hope this helps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;TerminalWindow .notebook tab:active {&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; background-color: #b0c0f0;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;}&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dinomycle.blogspot.com/feeds/2049694687674240417/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinomycle.blogspot.com/2016/06/highlighting-or-making-prominent-active.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/2049694687674240417'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/2049694687674240417'/><link rel='alternate' type='text/html' href='http://dinomycle.blogspot.com/2016/06/highlighting-or-making-prominent-active.html' title='Highlighting or making prominent the active Terminal tab in Ubuntu Linux'/><author><name>Dino</name><uri>http://www.blogger.com/profile/03109667773998688312</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35430862.post-2001128549450107671</id><published>2016-03-31T08:19:00.000+05:30</published><updated>2016-03-31T08:19:00.913+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="git"/><title type='text'>git drop all local changes and commit and sync to remote server</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
There are times while working with git, you want to drop all your local changes and commit and sync the files to be same as the git server. The steps to follow are&lt;br /&gt;
1) fetch the latest history from the server&lt;br /&gt;
2) pointing your local master branch at it like this&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;git fetch origin&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;git reset --hard origin/master&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
if you want to do this for a branch, change the master with the branch name&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dinomycle.blogspot.com/feeds/2001128549450107671/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinomycle.blogspot.com/2016/03/git-drop-all-local-changes-and-commit.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/2001128549450107671'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/2001128549450107671'/><link rel='alternate' type='text/html' href='http://dinomycle.blogspot.com/2016/03/git-drop-all-local-changes-and-commit.html' title='git drop all local changes and commit and sync to remote server'/><author><name>Dino</name><uri>http://www.blogger.com/profile/03109667773998688312</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35430862.post-737407743351055583</id><published>2016-02-18T19:39:00.000+05:30</published><updated>2016-02-18T19:40:06.086+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="android"/><title type='text'>Android Showing IP address and Route Table</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
For checking the IP address and Routing Table in Android using command line mode in the linux console is below. For this you need to root the device or it should be engineering build which engineers use for development.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;To Show IP Address, MAC address and Interface Status&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
Type &amp;nbsp;netcfg &amp;nbsp;or ip addr&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;To See The Routing Table&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
cat /proc/net/route &amp;nbsp; OR &amp;nbsp; ip route show&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;To show DNS IP Addresss&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
getprop net.dns1&lt;br /&gt;
getprop net.dns2&lt;br /&gt;
&lt;br /&gt;
net.dns1 for the Primary DNS and net.dns2 for the Secondary DNS&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;For changing the DNS IP Address:&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
setprop net.dns1 111.111.111.111&lt;br /&gt;
setprop net.dns2 222.222.222.222&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dinomycle.blogspot.com/feeds/737407743351055583/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinomycle.blogspot.com/2016/02/android-showing-ip-address-and-route.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/737407743351055583'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/737407743351055583'/><link rel='alternate' type='text/html' href='http://dinomycle.blogspot.com/2016/02/android-showing-ip-address-and-route.html' title='Android Showing IP address and Route Table'/><author><name>Dino</name><uri>http://www.blogger.com/profile/03109667773998688312</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35430862.post-7442894522257645986</id><published>2015-09-18T17:06:00.000+05:30</published><updated>2015-09-18T17:06:01.990+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="c program"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>end of line sequences in different OS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;b&gt;end of line sequences&lt;/b&gt;
&lt;b&gt;Windows end of line sequence:  \r\n
Unix end of line sequence: \n
Mac end of line sequence: \r&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dinomycle.blogspot.com/feeds/7442894522257645986/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinomycle.blogspot.com/2015/09/end-of-line-sequences-in-different-os.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/7442894522257645986'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/7442894522257645986'/><link rel='alternate' type='text/html' href='http://dinomycle.blogspot.com/2015/09/end-of-line-sequences-in-different-os.html' title='end of line sequences in different OS'/><author><name>Dino</name><uri>http://www.blogger.com/profile/03109667773998688312</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35430862.post-1145200709141390603</id><published>2015-09-11T10:32:00.001+05:30</published><updated>2015-09-11T10:32:26.903+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="c program"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>Recovering moved or deleted files in Linux</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I was developing one C program which I spend 1 day writing with&amp;nbsp;around&amp;nbsp;&amp;nbsp;500 lines of code in Ubuntu 12.04&amp;nbsp;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
for compiling in GCC, I used the below command&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;# gcc server.c -o server.c&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
instead of giving&amp;nbsp;&lt;b&gt;gcc server.c -o server&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
now my whole source code was replaced with the binary file :( :( &amp;nbsp;, a simple mistake which caused my whole source code got deleted or replaced. I had a habit of pressing  for auto completing the file names.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
After searching for some time googling, i got a solution which worked for me and saved my 9 hours of work.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
I got the help form this below link&lt;/div&gt;
&lt;div&gt;
http://www.cyberciti.biz/tips/linuxunix-recover-deleted-files.html&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
repeating what is said there and which i tried and worked for me&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
in the console with sudo permission&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;b&gt;sudo grep -a -B[size before] -A[size after] &#39;filename or unique content&#39; /dev/[your_partition] &amp;gt; file.txt&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;-i : Ignore case distinctions in both the PATTERN and the input files i.e. match both uppercase and lowercase character.&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;-a : Process a binary file as if it were text&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;-B Print number lines/size of leading context before matching lines.&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;-A: Print number lines/size of trailing context after matching lines.&lt;/i&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
my command was&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;sudo grep -a -B10 -A1000 &#39;UNIQUE_SERVER_IP&#39; /dev/sda1 &amp;gt; file.txt&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
UNIQUE_SERVER_IP was the #define i did it in my source code. After the command is over, open the file.txt with vi or any text editor and search for the string &#39;UNIQUE_SERVER_IP&#39;. you should find your source code around the string, copy paste and save to the required file name&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
I got the my source code back in some time.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dinomycle.blogspot.com/feeds/1145200709141390603/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinomycle.blogspot.com/2015/09/recovering-moved-or-deleted-files-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/1145200709141390603'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/1145200709141390603'/><link rel='alternate' type='text/html' href='http://dinomycle.blogspot.com/2015/09/recovering-moved-or-deleted-files-in.html' title='Recovering moved or deleted files in Linux'/><author><name>Dino</name><uri>http://www.blogger.com/profile/03109667773998688312</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35430862.post-6656338596745130186</id><published>2015-09-09T14:13:00.003+05:30</published><updated>2015-09-09T14:14:36.778+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="c program"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>counting number of lines in c and include files in Linux</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
After writing source code in Linux, if you want to count the number of lines in .c and .h files&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;find . -name &#39;*.c&#39; -o -name &#39;*.h&#39; | xargs wc -l&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dinomycle.blogspot.com/feeds/6656338596745130186/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinomycle.blogspot.com/2015/09/counting-number-of-lines-in-c-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/6656338596745130186'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/6656338596745130186'/><link rel='alternate' type='text/html' href='http://dinomycle.blogspot.com/2015/09/counting-number-of-lines-in-c-and.html' title='counting number of lines in c and include files in Linux'/><author><name>Dino</name><uri>http://www.blogger.com/profile/03109667773998688312</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35430862.post-6927992588367271296</id><published>2015-09-09T12:50:00.000+05:30</published><updated>2015-09-09T12:50:41.219+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="c program"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>Converting IP Address from string in dot format to 32 bit integer</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
C program to convert IPv4 address from String formatted in dat notation like &quot;10.0.0.1&quot; to a 32 bit integer in Linux&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;#include &amp;lt;arpa/inet.h&amp;gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;main()&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;{&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; uint32_t ip;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; struct in_addr ip_addr;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; ip = inet_addr(&quot;10.0.0.1&quot;);&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; printf(&quot;IP Integer: %d\n&quot;, ip);&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; ip_addr.s_addr = ip;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; printf(&quot;The IP address is: %s\n&quot;, inet_ntoa(ip_addr));&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;}&lt;/b&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dinomycle.blogspot.com/feeds/6927992588367271296/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinomycle.blogspot.com/2015/09/converting-ip-address-from-string-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/6927992588367271296'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/6927992588367271296'/><link rel='alternate' type='text/html' href='http://dinomycle.blogspot.com/2015/09/converting-ip-address-from-string-in.html' title='Converting IP Address from string in dot format to 32 bit integer'/><author><name>Dino</name><uri>http://www.blogger.com/profile/03109667773998688312</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35430862.post-8403049304216491126</id><published>2015-09-06T13:24:00.000+05:30</published><updated>2015-10-24T12:42:33.354+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="cassandra"/><category scheme="http://www.blogger.com/atom/ns#" term="CQL"/><title type='text'>Cassandra cqlsh queries</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Below are the commands useful for querying the cassandra database .&lt;br /&gt;
These are executed by logging into the Cassandra command line interface(CLI), CQLSH&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1) &lt;/b&gt;showing the keyspaces(or databases )&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;describe keyspaces;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
2)&lt;/b&gt; Showing Tables in the keyspace(or database)&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;2.1. use &amp;lt;keyspace_name&amp;gt;;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;2.2 describe tables; &lt;/b&gt;&amp;nbsp;this will show the tables in the keyspace(database)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;3)&lt;/b&gt; Creating Index to an Exiting table with column&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&amp;nbsp;CREATE INDEX tripid_idx ON table_4(tripid);&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;4)&lt;/b&gt; To show TABLE info using cqlsh&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DESC TABLE table_1 ;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dinomycle.blogspot.com/feeds/8403049304216491126/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinomycle.blogspot.com/2015/09/cassandra-cqlsh-queries.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/8403049304216491126'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35430862/posts/default/8403049304216491126'/><link rel='alternate' type='text/html' href='http://dinomycle.blogspot.com/2015/09/cassandra-cqlsh-queries.html' title='Cassandra cqlsh queries'/><author><name>Dino</name><uri>http://www.blogger.com/profile/03109667773998688312</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>