{"id":65,"date":"2026-03-06T05:17:12","date_gmt":"2026-03-06T05:17:12","guid":{"rendered":"https:\/\/gigz.pk\/sql\/?post_type=lesson&#038;p=65"},"modified":"2026-03-16T18:48:32","modified_gmt":"2026-03-16T18:48:32","slug":"aliases","status":"publish","type":"lesson","link":"https:\/\/gigz.pk\/sql\/lesson\/aliases\/","title":{"rendered":"\u00a0Aliases"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>Aliases<\/strong> are alternative names used for a command, file, or function. They allow a user to run a long or complex command by typing a shorter and easier name. Aliases help save time and make work more efficient when using a computer or command line.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>What is an Alias<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">An alias works like a shortcut. Instead of typing the full command every time, the user can create a short name that performs the same task.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Where Aliases are Used<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Aliases are commonly used in operating systems, programming environments, and command line interfaces such as Linux or Unix.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Example of Alias<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">For example, a user may create an alias so that typing <code>ll<\/code> shows a detailed list of files instead of typing the full listing command.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Saving Aliases<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Aliases are temporary unless they are saved in a configuration file. When saved, they load automatically each time the system starts or the terminal is opened.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Benefits of Aliases<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Benefits of using aliases include faster work, easier command usage, and improved productivity. They are especially helpful for frequently used commands.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Conclusion<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In simple words, an alias is a custom shortcut name created by the user to make commands quicker and easier to use.<\/p>\n\n\n<div class=\"yoast-breadcrumbs\"><span><span><a href=\"https:\/\/gigz.pk\/sql\/\">Home<\/a><\/span> \u00bb <span class=\"breadcrumb_last\" aria-current=\"page\">SQL Foundations Program (SQL-101) > Basic Queries > Aliases<\/span><\/span><\/div>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"menu_order":13,"template":"","class_list":["post-65","lesson","type-lesson","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u00a0Aliases - SQL Learning Hub<\/title>\n<meta name=\"description\" content=\"Learn what an alias is in Linux and Unix. Create command shortcuts to save time, simplify terminal tasks, and boost productivity.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/gigz.pk\/sql\/lesson\/aliases\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u00a0Aliases - SQL Learning Hub\" \/>\n<meta property=\"og:description\" content=\"Learn what an alias is in Linux and Unix. Create command shortcuts to save time, simplify terminal tasks, and boost productivity.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/gigz.pk\/sql\/lesson\/aliases\/\" \/>\n<meta property=\"og:site_name\" content=\"SQL Learning Hub\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-16T18:48:32+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/gigz.pk\\\/sql\\\/lesson\\\/aliases\\\/\",\"url\":\"https:\\\/\\\/gigz.pk\\\/sql\\\/lesson\\\/aliases\\\/\",\"name\":\"\u00a0Aliases - SQL Learning Hub\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/gigz.pk\\\/sql\\\/#website\"},\"datePublished\":\"2026-03-06T05:17:12+00:00\",\"dateModified\":\"2026-03-16T18:48:32+00:00\",\"description\":\"Learn what an alias is in Linux and Unix. Create command shortcuts to save time, simplify terminal tasks, and boost productivity.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/gigz.pk\\\/sql\\\/lesson\\\/aliases\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/gigz.pk\\\/sql\\\/lesson\\\/aliases\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/gigz.pk\\\/sql\\\/lesson\\\/aliases\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/gigz.pk\\\/sql\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SQL Foundations Program (SQL-101) > Basic Queries > Aliases\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/gigz.pk\\\/sql\\\/#website\",\"url\":\"https:\\\/\\\/gigz.pk\\\/sql\\\/\",\"name\":\"SQL Learning Hub\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/gigz.pk\\\/sql\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u00a0Aliases - SQL Learning Hub","description":"Learn what an alias is in Linux and Unix. Create command shortcuts to save time, simplify terminal tasks, and boost productivity.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/gigz.pk\/sql\/lesson\/aliases\/","og_locale":"en_US","og_type":"article","og_title":"\u00a0Aliases - SQL Learning Hub","og_description":"Learn what an alias is in Linux and Unix. Create command shortcuts to save time, simplify terminal tasks, and boost productivity.","og_url":"https:\/\/gigz.pk\/sql\/lesson\/aliases\/","og_site_name":"SQL Learning Hub","article_modified_time":"2026-03-16T18:48:32+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/gigz.pk\/sql\/lesson\/aliases\/","url":"https:\/\/gigz.pk\/sql\/lesson\/aliases\/","name":"\u00a0Aliases - SQL Learning Hub","isPartOf":{"@id":"https:\/\/gigz.pk\/sql\/#website"},"datePublished":"2026-03-06T05:17:12+00:00","dateModified":"2026-03-16T18:48:32+00:00","description":"Learn what an alias is in Linux and Unix. Create command shortcuts to save time, simplify terminal tasks, and boost productivity.","breadcrumb":{"@id":"https:\/\/gigz.pk\/sql\/lesson\/aliases\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/gigz.pk\/sql\/lesson\/aliases\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/gigz.pk\/sql\/lesson\/aliases\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/gigz.pk\/sql\/"},{"@type":"ListItem","position":2,"name":"SQL Foundations Program (SQL-101) > Basic Queries > Aliases"}]},{"@type":"WebSite","@id":"https:\/\/gigz.pk\/sql\/#website","url":"https:\/\/gigz.pk\/sql\/","name":"SQL Learning Hub","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/gigz.pk\/sql\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/gigz.pk\/sql\/wp-json\/wp\/v2\/lesson\/65","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gigz.pk\/sql\/wp-json\/wp\/v2\/lesson"}],"about":[{"href":"https:\/\/gigz.pk\/sql\/wp-json\/wp\/v2\/types\/lesson"}],"wp:attachment":[{"href":"https:\/\/gigz.pk\/sql\/wp-json\/wp\/v2\/media?parent=65"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}