{"id":29,"date":"2013-05-07T15:29:41","date_gmt":"2013-05-07T15:29:41","guid":{"rendered":"https:\/\/code4reference.com\/?p=29"},"modified":"2013-05-07T15:29:41","modified_gmt":"2013-05-07T15:29:41","slug":"code4referenceubuntu-commands-that-developers-should-know","status":"publish","type":"post","link":"https:\/\/code4reference.com\/?p=29","title":{"rendered":"Code4ReferenceUbuntu commands that developers should know"},"content":{"rendered":"<h2><a href=\"http:\/\/code4reference.com\/2012\/10\/ubunutu-commands-developer-know\/\">Ubuntu Commands that developer should know<\/a><\/h2>\n<ul>\n<li><code>cp \u00a0<\/code><br \/>\nCopies the file<\/li>\n<li><code>scp<\/code><br \/>\nCopies file from one host machine to another host machine.<\/li>\n<li><code>mv<\/code><br \/>\nMoves the file\/folder from one place to other.<\/li>\n<li><code>touch<\/code><br \/>\nCreates the file<\/li>\n<li><code>mkdir<\/code><br \/>\nCreates the directory. If you want to create a chain of parent and child directory you can use with \u2018-p\u2019 option. e.g\u00a0 <code>mkdir -p code\/reference<\/code>, this command will create <code>reference<\/code> directory under <code>code<\/code> directory.<\/li>\n<li><code>rm<\/code><br \/>\nDeletes the file. If use with -r option, it recursively deletes the file and child directory<\/li>\n<li><code>rmdir<\/code><br \/>\nDeletes the empty directory.<\/li>\n<li><code>grep<\/code><br \/>\nLooks for the pattern in given file.<\/li>\n<li><code>cat<\/code><br \/>\nPrints the content of the file on the console.<\/li>\n<li><code>find kill -9<br \/>\nKills the specified process.<\/code><\/li>\n<\/ul>\n<ul>\n<li><code><code>xcalc<\/code><br \/>\nif you are on GNOME; Shows the calculator.<\/code><\/li>\n<li><code>cal<\/code><br \/>\nShows the Calendar<\/li>\n<li><code>date<\/code><br \/>\nShows the current date and time<\/li>\n<\/ul>\n<ul>\n<li><code>apt-get moo<\/code><br \/>\nCheckout yourself what it does.<\/li>\n<li><code>cowsay \"\"<\/code><br \/>\nIf the command is not found then install it using this command <code>sudo apt-get install cowsay<\/code><\/li>\n<li><code>alt+f2 \"free the fish\"<\/code><br \/>\nIf you use GNOME. This command doesn\u2019t work if you are using Ubuntu 12.04 or 12.10<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Ubuntu Commands that developer should know cp \u00a0 Copies the file scp Copies file from one host machine to another host machine. mv Moves the file\/folder from one place to other. touch Creates the file mkdir Creates the directory. If you want to create a chain of parent and child directory you can use with [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-29","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/code4reference.com\/index.php?rest_route=\/wp\/v2\/posts\/29","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/code4reference.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/code4reference.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/code4reference.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/code4reference.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=29"}],"version-history":[{"count":0,"href":"https:\/\/code4reference.com\/index.php?rest_route=\/wp\/v2\/posts\/29\/revisions"}],"wp:attachment":[{"href":"https:\/\/code4reference.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=29"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/code4reference.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=29"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/code4reference.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=29"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}