You can use the
Tree commands accept different arguments
If you want to visualize only Directories you have to pass the command like this
🤩 Join @letsfoss for more Linux tips & tricks
tree
command to visualize the folder structureTree commands accept different arguments
If you want to visualize only Directories you have to pass the command like this
tree -dIf you want to visualize the tree along with filesize just pass
tree -hYou can read more about this using man pages using the below command
man tree😀 If you find this useful, Share with your Friends.
🤩 Join @letsfoss for more Linux tips & tricks
You can check your Terminal command history using the below command
If you find this useful, consider joining @letsfoss ❤️
cat ~/.bash_history
If you find this useful, consider joining @letsfoss ❤️
You can easily find the previous command in terminal with the help of Reverse Search
All you have to do is Press
This will bring up
Here you can start typing the command. It'll show the previously entered commands from the
You can go backward through alternative commands by pressing
Can't understand? Just try it once.
If you find this useful, consider joining @letsfoss ❤️
All you have to do is Press
Ctrl+R
key when the terminal is open.This will bring up
bck-i-search:
utilityHere you can start typing the command. It'll show the previously entered commands from the
.bash_history
fileYou can go backward through alternative commands by pressing
Ctrl + R
repeatedly or If you want to go in forward, Press Ctrl + S
key.Can't understand? Just try it once.
If you find this useful, consider joining @letsfoss ❤️
Whenever I install Kali Linux.. I end up breaking the GTK theme somehow 🥺
Do you have similar experience? Join the Discussion 😢
@letsfoss
Do you have similar experience? Join the Discussion 😢
@letsfoss
👆 Example screenshot
Bat command is a good alternative for cat command which comes with lot of extra features
In Ubuntu you can simple install by the below command
You can also do multiple files in the same directory
Hope you like it.
@letsfoss ✨
Bat command is a good alternative for cat command which comes with lot of extra features
In Ubuntu you can simple install by the below command
sudo apt install bat && mkdir -p ~/.local/bin && ln -s /usr/bin/batcat ~/.local/bin/batOnce done. Instead of
cat filename.txt
you can do bat filename.txt
Which shows beautifully with syntax highlightingYou can also do multiple files in the same directory
bat *.txt
Will show all the files with .txt
extensionHope you like it.
@letsfoss ✨