Linux 4th Unit

The vi editor is a powerful and commonly used text editor in Linux and Unix systems. It is mainly used to create, edit, and manage text files such as configuration files, shell scripts, and program source code. vi works in different modes, which makes it efficient but slightly difficult for beginners.

1. Modes of vi Editor:-  vi editor works in three main modes:

(a) Command Mode:-  • Default mode when vi starts.

• Used for navigation, deleting text, copying, and saving files.

• Example commands:

...

See on Student Notes »

law exam

Appeal under the Right to Information Act, 2005 – Section 19 Section 19 of the Act lays down the entire framework for first appeal, second appeal, timelines, powers, and procedure. First Appeal – Section 19(1) A first appeal lies to an officer senior in rank to the Central/State Public Information Officer (CPIO/ SPIO) within the same public authority. Grounds for First Appeal A person may file a first appeal when: 1.No decision is received within the time prescribed under Section 7(1) or Section

...

See on Student Notes »

Hjnnvhh

सूरदास भक्ति काल के सगुण भक्ति धारा के प्रमुख कवि माने जाते हैं। उनका काव्य विशेष रूप से श्रीकृष्ण की बाल लीलाओं और माता यशोदा के वात्सल्य भाव के लिए प्रसिद्ध है। सूरदास के काव्य में वात्सल्य...

See on Wikiteka »

Bpcc 110

1️⃣ Conformity (≈200 words)

Conformity refers to a change in an individual’s behaviour, belief, or attitude due to real or imagined pressure from a group. People conform to be accepted by others or because they believe the group is correct. Solomon Asch’s line judgment experiment demonstrated that individuals often conform to group opinions even when the group is clearly wrong.

There are two main types of conformity. Normative conformity occurs when individuals conform to gain social

...

See on Wikiteka »

C code

Operators:

Arithmetic: +,-,*,/,%

Relation: ==, !=,>,<.>=,<=               

Logic: &&, || , !

Assignment: =, +=, -=,*=,/=,?= 

Increment: ++, -- 

Order of operations (),*, /,%,+,-,<>,==,!=

ASCII:

lowercase to upper : 'x' - 32

upercase to lower ; 'x' +32

Data Types example size  format
int int age = 19; 4 bytes %d
float float a = 3.7; 4 bytes %f
double double pi - 3.1415..; 8 bytes %1F
char char grader = 'a'; 1 byte %c
string char name [20] = "pierre"
...

See on Wikiteka »

physics

1. Energy & Systems (Week 3–4)

Energy is a real, quantifiable physical quantity

Exists in many forms:
Kinetic, Potential, Thermal, Electromagnetic, Nuclear, Chemical, Sound

Energy can change form, but total energy is conserved

Open system: exchanges both energy AND mass

Closed system: exchanges energy only

Isolated system: exchanges neither energy nor mass

Scale & Duration matter
A system may look isolated on short timescales but open on long ones.

2. Sound energy is described by intensity

...

See on Student Notes »

Jkwhk

Kautilya (Chanakya)

Kautilya, also known as Chanakya or Vishnugupta, was an ancient Indian polymath, philosopher, economist, jurist, and royal advisor. He served as the chief advisor to the founder of the Maurya Empire, Chandragupta Maurya (c. 375–283 BCE).

  • Key Work: The Arthashastra (c. 3rd century BCE).

  • Main Contributions:

    • Political Science and Statecraft: The Arthashastra is a seminal text on statecraft, economic policy, and military strategy. Kautilya's philosophy revolves around the

...

See on Student Notes »

cheat sheet

Atmosphere & Weather Exam Cheat Sheet (SUPER SIMPLE)

Exam-Style Guide: Questions → How to Answer (with steps)

1. Temperature Questions

Q: Convert Celsius ↔ Kelvin

How to answer: 1. If going from °C → K: add 273. 2. If going from K → °C: subtract 273.

2. Insolation / Energy Questions

Q: Why is this day warmer/colder?

How to answer: 1. Look at irradiance graph. 2. Higher irradiance = more sunlight. 3. More sunlight = warmer.

3. Relative Humidity (RH) Questions

Q: Find RH using a table/

...

See on Student Notes »

gfhefdg

Powers & functions of the President.

The President of India is the constitutional head of the Union and exercises powers either directly or through officers subordinate to him/her. Although the office is largely ceremonial, the President performs vital functions as provided by the Constitution.

1. Executive Powers

  • The President is the formal executive head, and all executive actions of the Government of India are taken in his/her name.

  • Appoints the Prime Minister, other Union Ministers, Governors
...

See on Wikiteka »