Linux Community by Let's FOSS 🐧
41 subscribers
58 photos
2 videos
4 links
Join Discussion ➡️ @TalkFOSS
Download Telegram
You can use the tree command to visualize the folder structure

Tree commands accept different arguments

If you want to visualize only Directories you have to pass the command like this

tree -d

If you want to visualize the tree along with filesize just pass

tree -h

You 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

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 Ctrl+R key when the terminal is open.

This will bring up bck-i-search: utility

Here you can start typing the command. It'll show the previously entered commands from the .bash_history file

You 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 ❤️
Linux is Power 💥 @letsfoss
Whenever I install Kali Linux.. I end up breaking the GTK theme somehow 🥺

Do you have similar experience? Join the Discussion 😢

@letsfoss
Might be helpful for someone. Do share 💯🙏

Via @letsfoss
Which command do you use frequently?

Mine: cd and ls

What's yours?

Join @TalkFOSS to comment yours
Linus Torvalds ❤️ @letsfoss
I use Arch btw 😅

Sent by @letsfoss
Are you using Green Ubuntu? 😂 @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

sudo apt install bat && mkdir -p ~/.local/bin && ln -s /usr/bin/batcat ~/.local/bin/bat

Once done. Instead of cat filename.txt you can do bat filename.txt

Which shows beautifully with syntax highlighting

You can also do multiple files in the same directory

bat *.txt

Will show all the files with .txt extension

Hope you like it.

@letsfoss