{"id":76382,"date":"2024-11-24T02:20:15","date_gmt":"2024-11-24T02:20:15","guid":{"rendered":"http:\/\/bangla.sitestree.com\/?p=76382"},"modified":"2024-12-04T03:47:41","modified_gmt":"2024-12-04T03:47:41","slug":"linux-script-read-data-from-user-and-show-some-columns","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=76382","title":{"rendered":"Linux Script: Read Data from User and Show Some Columns"},"content":{"rendered":"\n<p>read -p &#8220;Give me some data: &#8221; user_data<\/p>\n\n\n\n<p> echo $user_data<\/p>\n\n\n\n<p> echo $user_data | cut -d &#8216; &#8216; -f 1,3<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>read -p &#8220;Give me some data: &#8221; user_data echo $user_data echo $user_data | cut -d &#8216; &#8216; -f 1,3<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1968,1,1345],"tags":[],"class_list":["post-76382","post","type-post","status-publish","format-standard","hentry","category-operating-systems","category-root","category----operating-systems","item-wrap"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":68158,"url":"http:\/\/bangla.sitestree.com\/?p=68158","url_meta":{"origin":76382,"position":0},"title":"introduction to mac operating systems (Disk Operations, Management, and Maintenance) #By Sayed Ahmed","author":"Author-Check- Article-or-Video","date":"July 30, 2021","format":false,"excerpt":"From: http:\/\/sitestree.com\/?p=2602 Categories:By Sayed AhmedTags:management, mac, operating system, Disk Operation, Maintenance Post Data:2015-10-17 00:02:27 Shop Online: <a href='https:\/\/www.ShopForSoul.com\/' target='new' rel=\"noopener\">https:\/\/www.ShopForSoul.com\/<\/a> (Big Data, Cloud, Security, Machine Learning): Courses: <a href='http:\/\/Training.SitesTree.com' target='new' rel=\"noopener\"> http:\/\/Training.SitesTree.com<\/a> In Bengali: <a href='http:\/\/Bangla.SaLearningSchool.com' target='new' rel=\"noopener\">http:\/\/Bangla.SaLearningSchool.com<\/a> <a href='http:\/\/SitesTree.com' target='new' rel=\"noopener\">http:\/\/SitesTree.com<\/a> 8112223 Canada Inc.\/JustEtc: <a href='http:\/\/JustEtc.net' target='new' rel=\"noopener\">http:\/\/JustEtc.net (Software\/Web\/Mobile\/Big-Data\/Machine\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":70189,"url":"http:\/\/bangla.sitestree.com\/?p=70189","url_meta":{"origin":76382,"position":1},"title":"Sensor Network Operating Systems #111","author":"Author-Check- Article-or-Video","date":"August 29, 2021","format":false,"excerpt":"<b>Sensor Network Operating Systems<\/b> <ul> <li> TinyOS <\/li><li> SOS <\/li><li> MagnetOS <\/li><\/ul> <b>TinyOS<\/b> Mica2 sensors run the TinyOS [Levis:04] operating system. TinyOS is an open-source operating system especially designed for wireless sensor networks. It is a component-based operating system, hence programmers can integrate only the needed components to keep the\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":70195,"url":"http:\/\/bangla.sitestree.com\/?p=70195","url_meta":{"origin":76382,"position":2},"title":"Sensor Network Operating Systems #111","author":"Author-Check- Article-or-Video","date":"August 29, 2021","format":false,"excerpt":"Sensor Network Operating Systems <ul> <li> TinyOS <\/li><li> SOS <\/li><li> MagnetOS <\/li><\/ul> <h2>TinyOS<\/h2> <p> Mica2 sensors run the TinyOS [Levis:04] operating system. TinyOS is an open-source operating system especially designed for wireless sensor networks. It is a component-based operating system, hence programmers can integrate only the needed components to keep\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":70251,"url":"http:\/\/bangla.sitestree.com\/?p=70251","url_meta":{"origin":76382,"position":3},"title":"Windows Operating Systems #1","author":"Author-Check- Article-or-Video","date":"August 30, 2021","format":false,"excerpt":"Most recent version: Vista, upgraded from XP Windows XP (Professional, Home), Windows server : server 2003, server 2000 Embedded: Windows CE, Windows Embedded Home for details please check: http:\/\/www.microsoft.com\/windows\/default.mspx From: http:\/\/sitestree.com\/?p=4709 Categories:1Tags: Post Data:2007-06-17 23:26:43 Shop Online: <a href='https:\/\/www.ShopForSoul.com\/' target='new' rel=\"noopener\">https:\/\/www.ShopForSoul.com\/<\/a> (Big Data, Cloud, Security, Machine Learning): Courses: <a href='http:\/\/Training.SitesTree.com'\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":76384,"url":"http:\/\/bangla.sitestree.com\/?p=76384","url_meta":{"origin":76382,"position":4},"title":"Misc. on Power Shell Script","author":"sayedjustetc","date":"November 25, 2024","format":false,"excerpt":"Misc. on Power Shell Script How to read data from users? Read-Host How to write\/print output data\/text to the user: Write-Output How to Check if a file exists? Test-Path $filePath How to append data to a file? Add-Content -Path $filePath -Value \"x: $x, y: $y\" How to create a file?\u2026","rel":"","context":"In &quot;Operating Systems&quot;","block_context":{"text":"Operating Systems","link":"http:\/\/bangla.sitestree.com\/?cat=1968"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":69258,"url":"http:\/\/bangla.sitestree.com\/?p=69258","url_meta":{"origin":76382,"position":5},"title":"Scalability: SQL Server 2005 #38","author":"Author-Check- Article-or-Video","date":"August 16, 2021","format":false,"excerpt":"Scalability: SQL Server 2005After you have optimized your database design and the application design, you can improve the scalability of SQL Server in two ways1.Scaling Up2.Scaling OutScaling Up: Improve performance by 1. Adding more processors, memory, and storage capacity2. Replacing existing hardware with faster hardwareNote: You also need the right\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/76382","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=76382"}],"version-history":[{"count":1,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/76382\/revisions"}],"predecessor-version":[{"id":76383,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/76382\/revisions\/76383"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=76382"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=76382"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=76382"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}