Important Linux Commands (leave, diff, cal, ncal, locate and ln) Last Updated : 06 Aug, 2020 Comments Improve Suggest changes Like Article Like Report Linux provides some important tricks. Here are a few and important one's: leave — remind you when you have to leave Syntax: leave +hhmm leave waits until the specified time (within the next 12 hours), then reminds you that you have to leave by writing to the TTY that you executed leave on. You are reminded 5 minutes and 1 minute before the actual time, at the time, and every minute thereafter. Options: hhmm The time of day is in the form hhmm where hh is a time in hours (on a 12 or 24 hour clock), and mm are minutes. diff - compare files line by line Syntax: diff file1 file2 Compare FILES line by line. diff -q file1 file2 report only when files differ cal, ncal — displays a calendar and the date of Easter Syntax: cal The cal utility displays a simple calendar in traditional format and ncal offers an alternative layout, more options and the date of Easter. The new format is a little cramped but it makes a year fit on a 25x80 terminal. If arguments are not specified, the current month is displayed. locate - find files by name Syntax: locate file_name locate reads one or more databases prepared by updatedb(8) and writes file names matching at least one of the PATTERNs to standard output, one per line. passwd - change user password Syntax: passwd The passwd command changes passwords for user accounts. A normal user may only change the password for his/her own account, while the superuser may change the password for any account. passwd also changes the account or associated password validity period. ln - make links between files Syntax: ln existing_file_name file2_name create a link to TARGET with the name specified Comment More infoAdvertise with us Next Article Important Linux Commands (leave, diff, cal, ncal, locate and ln) K kartik Improve Article Tags : Operating Systems Linux-Unix linux-command Similar Reads Difference between locate, which and find Command in Linux In Linux, there are multiple utilities available to locate files efficiently within a system. Three of the most commonly used commands for this purpose are:findlocatewhichEach command serves a similar function but differs in the way they search and the data they return. In this article, we'll explor 5 min read chattr and lsattr commands in Linux with examples In the world of Linux, managing file permissions and attributes is crucial for maintaining a secure and organized system. Two powerful commands that help control file and directory attributes are 'chattr' and 'lsattr'. These commands are essential for administrators and advanced users who need to pr 8 min read Basic Shell Commands in Linux: Complete List Anyone using Linux should become an expert in the essential shell commands, as they form the backbone of working with the Linux terminal. These commands enable you to navigate the system, manage files, handle processes, and configure settings effectively.The Linux shell serves as an interface for us 5 min read locate command in Linux with Examples locate command in Linux is used to find the files by name. There are two most widely used file-searching utilities accessible to users called to find and locate. The locate utility works better and faster than the find command counterpart because instead of searching the file system when a file sear 6 min read Network configuration and troubleshooting commands in Linux Computers are often connected to each other on a network. They send requests to each other in the form of packets that travel from the host to the destination. Linux provides various commands from network configuration and troubleshooting. Network Configuration and Troubleshooting Commands in Linux 5 min read Like