Hi Devs,
Do you want to learn most important Linux commands as a beginner.
Here is a thread for you
👇🧵
pwd - Prints Present working directory on screen
cd - stands for change directory, helps you to switch the current directory
Example in the image
ls - lists files and directories inside the given directory (it will list contents of current directory if you don't provide 1
cat - used to list the contents of a file on the standard output
cp - it is used to copy the file or director from one location to another
mv - command can be used to move(cut and paste) the files or to rename the files
mkdir - mkdir command creates a new directory
rmdir - removes existing and empty directory ( check next command to remove non-empty dir)
rm - removes existing file
Will keep on adding more to this thread.
touch - The touch command allows you to create a blank new file through the Linux command line
grep - The grep filter searches a file for a particular pattern of characters, and displays all lines that contain that pattern. It uses regex. Example in Image
sudo - this command enables you to perform tasks that require administrative or root permissions.
It generally used as a prefix of some command that only superuser are allowed to run.
df - command to get a report on the system’s disk space usage, shown in percentage and KBs
head - The head command is used to view the first lines of any text file. By default, it will show the first ten lines
tail - this helps you to print last few lines of any file on the standard output.
tar - command is the most used command to archive multiple files into an archive (tarball)
Hi Coders 👨💻👩💻
Have you just started programming?
Read on this thread to level up your programming
🧵⤵️
1. Learn By Doing, Practicing and Not Just Reading or Viewing Videos
I see a lot of programmers keep watching tutorials on Youtube or keep taking courses. That is good to start but you need to build something and then try to tinker it. That will help you learn
⤵️
2. Fundamentals will help you long term
- Whenever you start any technology, focus on basics, get them right, build something, and improve on basics.
- When there is new version of your tech, again revise basics.
- Don't get stuck in fancy shortcuts of doing anything.
⤵️
Hi Twitter,
I want to quickly share the best resources to learn Javascript.
Are you just getting started?
Read On ⤵️
Why Javascript?
* It is the language of the INTERNET
* Works on Backend as well as frontend, so if you are getting started, it keeps your options open.
* All you need is an IDE and browser to get started, no complicated setup
* Its easy to get started, has great community
How to protect our code from Bugs?
Very Simple Tips ⤵️
1. One of the best ways to do so is, of course, testing. Nothing gives us hope in better tomorrow than 100% test coverage.
2. As a professional developer, you probably think ten times before allowing a library v0.0.1 from an unknown publisher to touch your sacred Business Rules.
After all, if we want to be healthy, we stay away from form junk food.