ncal Command in Linux with Examples Last Updated : 19 Aug, 2024 Comments Improve Suggest changes Like Article Like Report ncal is a command-line tool to view a calendar on the terminal in Linux. It is similar to the cal command in Linux. The major difference between both the commands is the output they display. It shows the current month calendar of the current year with the date highlighted. But with command options, you could even change the month and year. Working with ncal Command1. To view calendar. ncalThis command will display a vertical calendar in the terminal. 2. To remove the highlighting from the current date. ncal -hThis command will not highlight the current date in the output. 3. To display calendar of a specific month of the current year. ncal -m3This command will display the calendar for the month of March of this year which is 2020. 4. To display calendar of a specific year ncal -y 2016This command will display the calendar for the year 2016. 5. To display preceding and upcoming month. ncal -3This command will print the current month calendar along with the calendar of the previous and upcoming months. 6. To print week number below every week. ncal -w This command will print the week number below every week. 7. To print specific months before the current month. ncal -B2This command will display 2 months preceding the current month. 8. To print specific month after the current month. ncal -A2This command will display 2 upcoming months from the current month. 9. To display calendar in horizontal mode. ncal -CThis command will display the calendar in the horizontal mode or in the way cal command displays it. 10. To print a specific month of a specific year. ncal -d 2015-04This command will print the April month of the 2015 year. Comment More infoAdvertise with us Next Article ncal Command in Linux with Examples M manav014 Follow Improve Article Tags : Technical Scripter Linux-Unix linux-command Linux-system-commands Similar Reads ln command in Linux with Examples The 'ln' command in Linux is a powerful utility that allows you to create links between files. These links can either be hard links or soft (symbolic) links. If you're unfamiliar with these concepts, check out our detailed guide on Hard and Soft Links in Linux to understand their differences, use ca 3 min read Nmap Command in Linux with Examples Nmap is Linux command-line tool for network exploration and security auditing. This tool is generally used by hackers and cybersecurity enthusiasts and even by network and system administrators. It is used for the following purposes: Real time information of a networkDetailed information of all the 6 min read nproc Command in Linux with Examples nproc It is a simple Unix command which is used to print the number of processing units available in the system or to the current process. This command could be used in system diagnostics and related purposes. It is part of GNU Core utils, so it comes pre-installed with all modern Linux operating sy 3 min read uname command in Linux with Examples Linux, renowned for its open-source flexibility and powerful performance, offers a range of commands that reveal the inner workings of your system. Among these, the 'uname' command stands out as a versatile tool that provides key details about your Linux machine. Here, we will learn the basics of th 4 min read rcp Command in Linux with examples When working in a Linux environment, there often comes a time when you need to transfer files from one computer to another. While more secure options like scp or rsync exist, the rcp (Remote Copy Protocol) command offers a simple and efficient way to copy files between systems, especially for beginn 5 min read Like