Linux
cp → copy files
mv → move or rename files
cat → view file contents
locate → quickly find files by name
SPRING vs SPRINGBOOT
JAVA
#Find ASCII value of a character
public class AsciiValue {
public static void main(String[] args) {
char ch = 'a';
int ascii = ch;
// You can also cast char to int
int castAscii = (int) ch;
System.out.println("The ASCII value of " + ch + " is: " + ascii);
System.out.println("The ASCII value of " + ch + " is: " + castAscii);
}
}
Output
The ASCII value of a is: 97
The ASCII value of a is: 97
SQL
| Type | Full Form | Common Commands | Purpose |
|---|---|---|---|
| DDL | Data Definition Language | CREATE, ALTER, DROP, TRUNCATE | Define/modify database structure |
| DML | Data Manipulation Language | INSERT, UPDATE, DELETE, MERGE | Manage data inside tables |
| DQL | Data Query Language | SELECT | Retrieve data |
| DCL | Data Control Language | GRANT, REVOKE | Manage user permissions |
| TCL | Transaction Control Language | COMMIT, ROLLBACK, SAVEPOINT | Control transactions |
Reference :
https://www.geeksforgeeks.org/sql/sql-ddl-dql-dml-dcl-tcl-commands/?utm_source=copilot.com
https://www.geeksforgeeks.org/linux-unix/basic-linux-commands/

Top comments (0)