User Tools

Site Tools


change_list_comman

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
change_list_comman [2021/02/04 15:42] – created chrischange_list_comman [2023/02/15 22:22] (current) admin
Line 1: Line 1:
-**How to change the list (ll) command**+=====How to change the list (ll) command=====
  
-If you do a ll at your command prompt you get a list of the files in the directory you are currently in. Sometimes the output is not as informative as you would like to have. +If you do a ls command at your command promptyou get a list of the files in the directory you are currently in. Sometimes the output is not as informative as you would like to have. If you use your format for example ls -la you can make a shortcut for that if you do use the command often. To do so edit the following file:
  
    nano ~/.bashrc    nano ~/.bashrc
Line 14: Line 14:
    alias lh='ls -lh'    alias lh='ls -lh'
  
 +you can add as many aliases as you like. After adding your alias save the file and reboot the machine.
 \\ \\
 \\ \\
change_list_comman.1612449772.txt.gz · Last modified: 2021/02/04 15:42 by chris