Useful tips for everyday
What is the command to create a file in your current directory? Solution The touch command generates a new file called my_file. txt in your…
How do I know if a script is Posix compliant? However, you can explicitly check your scripts running then with bash –posix ./your_script.sh or using…
How do you give read and write permissions to a folder in Linux? chmod ugo+rwx foldername to give read, write, and execute to everyone….The command…
How do I fix my MAC binding? Step 1 Open the web browser and type the IP address of the router (default is 192.168. Step…
How are serial ports different from parallel ports? A serial port is able to transmit a single stream of data at a time. A parallel…
How can I apt upgradable? So just make sure you apt-get -s upgrade . If you want to upgrade certain packages, just apt-get install and…
How does rsync sync files and directories in Linux? Rsync is a useful Linux command-line tool that syncs and copies files and directories. You can…
How do I zip all folders? Zipping Multiple Files Use “Windows Explorer” or “My Computer” (“File Explorer” on Windows 10) to locate the files you…
Which utility displays the first 10 lines of a file? head command The head command, as the name implies, print the top N number of…
How to restart the rsyslog service after updating? You need to restart the rsyslog service after updating the rsyslog.conf You have a messages as shown…