I’m developing a WordPress site. What should I include in .gitignore?

In the git repository for your website, there’s a .gitignore file. It lists what files you don’t want to track as part of the repository. There are different things you might want to ignore: Git is for tracking code. To protect, retrieve or reset an entire website with all its content, try a backup software/protocol/system …

Adding several options for a single terminal command

Do you want to combine several options when running a command in a terminal? Just type them in right after the command itself, before the main parameters. Remember to type the hypens, too: $ grep -r -i -l –color -a mystringtolookfor * The nice thing is that you can collapse all the options together, as …

How to use grep in a terminal to find a string in files

“grep” is a command you can use in a terminal to find sequences of characters. It can search through entire folders and find matches. If you use the right parameters, it will display all the matches it finds. Before simply typing the command, however, you should know it might need a long time to comb …