Quick Linux tip:
When creating a new directory, youβll often find yourself running:
$ mkdir project
$ cd project
You can combine both steps into a single command:
$ mkdir app && cd $_
The $_ variable expands to the last argument of the previous command, which in this case is project.
A small trick that can save a few keystrokes when working in the terminal.
P.S. Learning Linux doesnβt have to be overwhelming.
I wrote First Steps With Linux, a 700+ page guide designed to take you from beginner to confident Linux user and sysadmin.
Everything you need to build real Linux skills in one place.
Get your copy:
https://t.co/OgRmA4uVd7
Quick Linux tip:
Need to clear your terminal?
Instead of running:
$ clear
Press:
Ctrl + L
It clears the screen and keeps your hands on the keyboard.
A small shortcut you'll use every day.
P.S. If you're learning Linux and want to build a solid foundation, I wrote First Steps With Linux β a beginner-friendly guide that takes you from the basics to more advanced Linux concepts.
700+ pages packed with practical examples and hands-on learning:
https://t.co/pVJcDvdiLz
Insane.
1,600 followers already. π₯
If you're new here, I post about:
π§ Linux
π§ Linux Commands
π§ Bash & Shell Scripting
π§ Linux Tips & Tricks
π§ Open Source
π§ Linux Tutorials
π§ Linux Cheatsheets
π§ Terminal Productivity
π§ Learning Linux
π§ Everything Linux
Follow along for more Linux content.
3 days ago, this account had 0 followers.
Today, we just crossed 1,000. π§
To celebrate, Iβm giving away 10 copies of First Steps With Linux.
It has everything you need to become a confident Linux user and sysadmin.
Over 700 pages. π
To enter:
β’ Repost this post
β’ Reply with π§
Iβll randomly select and DM 10 winners in 48 hours.
Quick Linux tip:
Need to create an empty file?
Most people use:
$ touch notes.txt
But you can also use shell redirection:
$ > notes.txt
If the file doesn't exist, it will be created.
A simple shortcut that saves a few keystrokes.
Note: Be careful when using "> notes.txt". If the file already exists, its contents will be replaced with an empty file.
If you're not sure whether the file already exists and want to avoid accidentally overwriting it, you can use:
$ >> notes.txt
This will create the file if it doesn't exist and preserve its contents if it does.
Quick Linux tip:
Need to create an empty file?
Most people use:
$ touch notes.txt
But you can also use shell redirection:
$ > notes.txt
If the file doesn't exist, it will be created.
A simple shortcut that saves a few keystrokes.
3 days ago, this account had 0 followers.
Today, we just crossed 1,000. π§
To celebrate, Iβm giving away 10 copies of First Steps With Linux.
It has everything you need to become a confident Linux user and sysadmin.
Over 700 pages. π
To enter:
β’ Repost this post
β’ Reply with π§
Iβll randomly select and DM 10 winners in 48 hours.
Note: Be careful when using "> notes.txt". If the file already exists, its contents will be replaced with an empty file.
If you're not sure whether the file already exists and want to avoid accidentally overwriting it, you can use:
$ >> notes.txt
This will create the file if it doesn't exist and preserve its contents if it does.
π Hello everyone
I post about:
π§ Linux
π§ Linux Commands
π§ Bash & Shell Scripting
π§ Linux Tips & Tricks
π§ Open Source
π§ Linux Tutorials
π§ Linux Cheatsheets
π§ Terminal Productivity
π§ Learning Linux
π§ Everything Linux
Follow for more Linux content.
π Hello everyone
I post about:
π§ Linux
π§ Linux Commands
π§ Bash & Shell Scripting
π§ Linux Tips & Tricks
π§ Open Source
π§ Linux Tutorials
π§ Linux Cheatsheets
π§ Terminal Productivity
π§ Learning Linux
π§ Everything Linux
Follow for more Linux content.