Linux is a family of open-source operating systems used widely today. It originated from Linus Torvalds' development of the Linux kernel in 1991. There are many Linux distributions that package the kernel along with other software, and each has its own philosophy and uses. The document discusses key aspects of Linux including common commands, desktop environments, shells, files systems, users and permissions, package managers and more. It provides a high-level overview of the basics of using and working with the Linux operating system.
Linux has become integral part of Embedded systems. This three part presentation gives deeper perspective of Linux from system programming perspective. Stating with basics of Linux it goes on till advanced aspects like thread and IPC programming.
Linux is an operating system or a kernel. It is distributed under an open source license. Its functionality list is quite like UNIX. Linux is an operating system or a kernel which germinated as an idea in the mind of young and bright Linus Torvalds when he was a computer science student. The main advantage of Linux was that programmers were able to use the Linux Kernel to design their own custom operating systems. With time, a new range of user-friendly OS's stormed the computer world. Now, Linux is one of the most popular and widely used Kernel, and it is the backbone of popular operating systems like Debian, Knoppix, Ubuntu, and Fedora.
Getting started with setting up embedded platform requires audience to understand some of the key aspects of Linux. This presentation deals with basics of Linux as an OS, Linux commands, vi editor, Shell features like redirection, pipes and shell scripting
Getting started with setting up embedded platform requires audience to understand some of the key aspects of Linux. Starting with basics of Linux this presentation talks about basic commands, vi editor, shell scripting and advanced commands
Linux has become integral part of Embedded systems. This three part presentation gives deeper perspective of Linux from system programming perspective. Stating with basics of Linux it goes on till advanced aspects like thread and IPC programming.
Linux is an operating system or a kernel. It is distributed under an open source license. Its functionality list is quite like UNIX. Linux is an operating system or a kernel which germinated as an idea in the mind of young and bright Linus Torvalds when he was a computer science student. The main advantage of Linux was that programmers were able to use the Linux Kernel to design their own custom operating systems. With time, a new range of user-friendly OS's stormed the computer world. Now, Linux is one of the most popular and widely used Kernel, and it is the backbone of popular operating systems like Debian, Knoppix, Ubuntu, and Fedora.
Getting started with setting up embedded platform requires audience to understand some of the key aspects of Linux. This presentation deals with basics of Linux as an OS, Linux commands, vi editor, Shell features like redirection, pipes and shell scripting
Getting started with setting up embedded platform requires audience to understand some of the key aspects of Linux. Starting with basics of Linux this presentation talks about basic commands, vi editor, shell scripting and advanced commands
This Slide was presented as an introduction to Linux . Students with little experience in free operating systems were encouraged to take up Linux based operating systems.
NanoCdac Providing linux administration training in Hyderabad. Training includes Linux Internals and Device Drivers,Real -Time Operating System (RTLinux) Programming,Linux System programming,Linux Device Drivers Programming.Our aim is to quality training to the students and professionals Call Us-040 -23754144,+91- 9640648777
This Slide was presented as an introduction to Linux . Students with little experience in free operating systems were encouraged to take up Linux based operating systems.
NanoCdac Providing linux administration training in Hyderabad. Training includes Linux Internals and Device Drivers,Real -Time Operating System (RTLinux) Programming,Linux System programming,Linux Device Drivers Programming.Our aim is to quality training to the students and professionals Call Us-040 -23754144,+91- 9640648777
A Strategic Approach: GenAI in EducationPeter Windle
Artificial Intelligence (AI) technologies such as Generative AI, Image Generators and Large Language Models have had a dramatic impact on teaching, learning and assessment over the past 18 months. The most immediate threat AI posed was to Academic Integrity with Higher Education Institutes (HEIs) focusing their efforts on combating the use of GenAI in assessment. Guidelines were developed for staff and students, policies put in place too. Innovative educators have forged paths in the use of Generative AI for teaching, learning and assessments leading to pockets of transformation springing up across HEIs, often with little or no top-down guidance, support or direction.
This Gasta posits a strategic approach to integrating AI into HEIs to prepare staff, students and the curriculum for an evolving world and workplace. We will highlight the advantages of working with these technologies beyond the realm of teaching, learning and assessment by considering prompt engineering skills, industry impact, curriculum changes, and the need for staff upskilling. In contrast, not engaging strategically with Generative AI poses risks, including falling behind peers, missed opportunities and failing to ensure our graduates remain employable. The rapid evolution of AI technologies necessitates a proactive and strategic approach if we are to remain relevant.
Introduction to AI for Nonprofits with Tapp NetworkTechSoup
Dive into the world of AI! Experts Jon Hill and Tareq Monaur will guide you through AI's role in enhancing nonprofit websites and basic marketing strategies, making it easy to understand and apply.
Safalta Digital marketing institute in Noida, provide complete applications that encompass a huge range of virtual advertising and marketing additives, which includes search engine optimization, virtual communication advertising, pay-per-click on marketing, content material advertising, internet analytics, and greater. These university courses are designed for students who possess a comprehensive understanding of virtual marketing strategies and attributes.Safalta Digital Marketing Institute in Noida is a first choice for young individuals or students who are looking to start their careers in the field of digital advertising. The institute gives specialized courses designed and certification.
for beginners, providing thorough training in areas such as SEO, digital communication marketing, and PPC training in Noida. After finishing the program, students receive the certifications recognised by top different universitie, setting a strong foundation for a successful career in digital marketing.
This presentation was provided by Steph Pollock of The American Psychological Association’s Journals Program, and Damita Snow, of The American Society of Civil Engineers (ASCE), for the initial session of NISO's 2024 Training Series "DEIA in the Scholarly Landscape." Session One: 'Setting Expectations: a DEIA Primer,' was held June 6, 2024.
The simplified electron and muon model, Oscillating Spacetime: The Foundation...RitikBhardwaj56
Discover the Simplified Electron and Muon Model: A New Wave-Based Approach to Understanding Particles delves into a groundbreaking theory that presents electrons and muons as rotating soliton waves within oscillating spacetime. Geared towards students, researchers, and science buffs, this book breaks down complex ideas into simple explanations. It covers topics such as electron waves, temporal dynamics, and the implications of this model on particle physics. With clear illustrations and easy-to-follow explanations, readers will gain a new outlook on the universe's fundamental nature.
Biological screening of herbal drugs: Introduction and Need for
Phyto-Pharmacological Screening, New Strategies for evaluating
Natural Products, In vitro evaluation techniques for Antioxidants, Antimicrobial and Anticancer drugs. In vivo evaluation techniques
for Anti-inflammatory, Antiulcer, Anticancer, Wound healing, Antidiabetic, Hepatoprotective, Cardio protective, Diuretics and
Antifertility, Toxicity studies as per OECD guidelines
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Dr. Vinod Kumar Kanvaria
Exploiting Artificial Intelligence for Empowering Researchers and Faculty,
International FDP on Fundamentals of Research in Social Sciences
at Integral University, Lucknow, 06.06.2024
By Dr. Vinod Kumar Kanvaria
Macroeconomics- Movie Location
This will be used as part of your Personal Professional Portfolio once graded.
Objective:
Prepare a presentation or a paper using research, basic comparative analysis, data organization and application of economic information. You will make an informed assessment of an economic climate outside of the United States to accomplish an entertainment industry objective.
A review of the growth of the Israel Genealogy Research Association Database Collection for the last 12 months. Our collection is now passed the 3 million mark and still growing. See which archives have contributed the most. See the different types of records we have, and which years have had records added. You can also see what we have for the future.
3. What Is Linux?
● Linux is a family of open-source
operating systems.
● Released in September 17, 1991 by
Linus Torvalds.
● Developed based on the Intel x86
architecture.
● Has been ported to more platforms
than any other operating system.
● Runs on Android, Embedded Systems,
Supercomputers and powers over
96.4% servers of the world.
5. Linux or GNU/Linux?
● Operating systems consist of many components
● The kernel provides the most basic level of control over
all of the computer's hardware devices.
● It manages the RAM, the CPU and the devices connected to
it.
6. Linux or GNU/Linux?
● “Linux” refers to the kernel
● All the supporting system
software and libraries were
provided by the GNU Project.
● GNU Project - Founded by Richard
Stallman, first publicly
announced on September 27,
1983.
● He was the originator of the
many ideas about ‘Free Software’
● The Free Software Foundation
emphasises on the use of
“GNU/Linux” but today most
people simply call it ‘Linux’
8. How It All Started
Ken Thompson (sitting) and Dennis
Ritchie working together at a PDP-11
>ken thompson, dennis ritchie, douglas
mcilroy, and joe ossanna - exist
>got bored and made unix in 1969 at
at&t bell labs
>completely written in assembly
>dennis realizes “oopsie assembly not very
portable, brb lemme make C”
>starts selling unix as proprietary
product
>unix stonks go brr
>stallman enters the chat
>stallman goes “ples make unix compatible
free software”
>by 1990s most gnu software was complete
but they still needed a kernel
9. How It All Started
>minix enters the chat
>made by andrew s tanenbaum in 1987
>was made for educational purposes
>its licensing didnt allow it to be
called ‘free software’
>linus exists
>linus sadge
>makes open source and free kernel
>also makes git since that wasnt
enough
12. Linux Distributions
● A Linux distribution (commonly called a distro) is any
operating system that makes use of the Linux kernel
● It can be thought of as the many different flavours it
comes in.
● Each distro is unique and has its own set of philosophies
and communities supporting it.
● Its free and open source nature allows it to be modified
and tailored to different use cases.
13. Linux Distributions
● Some distros are used for
pen-testing, and some are
tailored to work efficiently
on servers
● While other distros are just
designed for everyday normal
tasks.
Fedora Linux
Pop!_OS
17. The UNIX philosophy
● All the core UNIX system tools were designed so that they
could operate together.
● Using this philosophy programmers avoided writing some
parts of their program that had already been written by
someone else, and could instead recycle the code.
● This philosophy lives on today in GNU/Linux.
18. The UNIX philosophy
Monolithic Design
● One big thing
● Does a lot of things
● Does nothing it’s designed to do well
● Difficult to add features without a
design overhaul
Modular Design
● Made up of simple pieces
● Each piece does one thing well
● Every piece is well designed
● Adding features is trivial
19. The UNIX philosophy
The core UNIX philosophy can be summarised as follows:
● Write programs that Do One Thing And Do It Well (DOTADIW)
● Write programs to work together.
● Write programs to handle text streams, because that is a
universal interface.
21. Desktop Environment
● Components that provides GUI
elements, like toolbar,
wallpaper etc.
● Unlike Windows and MacOS,
Linux has a modular Desktop
Environment, separate from
the OS itself
● Allows extensive
customisation and the
ability to choose a desktop
environment that you like.
24. The Shell
● Shell, terminal, console,
command line.
● Olden days of Linux, all you
had to work with was the shell.
● System admins, programmers, and
users all sat at something
called a Linux console
terminal.
● The command line allowed text
input only and could display
only text and rudimentary
graphics output.
25. Types of Terminals
● Graphical Terminals
Terminal emulators that simulate
working on a console terminal but
within a graphical desktop
window.
● Console Terminals
○ Also called a tty
○ Takes linux out of graphical
mode
○ Emulates the old days of a
26. Bash
● Bash(Bourne Again Shell), written by Brian Fox for
the GNU Project as a free software replacement for
the Bourne shell.
● Was one of the first programs Linus Torvalds ported
to Linux, alongside GCC.
● The default shell used in many Linux distributions
● Other shells - Zsh and Fish, more feature rich than
bash, provide syntax highlighting, auto-correction
features and have tons of plugins.
28. The LINUX File System
● Logical collection of files on a partition or disk
● It manages the file name, file size, creation date, and
much more information about a file.
"On a UNIX system, everything is a file; if something is not
a file, it is a process."
● Just like UNIX, Linux makes no difference between a file
and a directory. A directory is just a file containing
names of other files.
● Programs, services, and input and output devices are also
considered to be files, according to the system.
30. The LINUX File System
Key Features:
● Hierarchical file structure : root directory (/)
● Forward slash (/) in path
● No drive letters
● Case Sensitive
● File Extensions : Not necessary. File type is decoded from
its contents.
● Hidden files - eg configuration file
49. Environment Variables
● Defines your Linux shell experience.
● Programs and scripts use environment variables to obtain
system information and store temporary data and
configuration information
● There are two environment variable types in the bash
shell
1. Global Variables
2. Local Variables
50. Environment Variables
● Global environment variables are visible from the shell
session and from any spawned child subshells.
● Local variables are available only in the shell that
creates them
● printenv, env, echo
● set displays all environment variables
● Global vars - Uppercase
● Local vars - Lowercase
51. Environment Variables
● A local variable created in parent shell does not pass
down to a child shell
● A local variable set within the child shell doesn’t exist
after a return to the parent shell
● export - exports a local variable as a global variable
● A global variable’s value can be read by a child shell,
but its value can’t be changed even with export.
● unset - remove environment variable
52. The PATH Environment Variable
● Contains the paths to programs and commands separated
with :
● When a command is entered, the shell searches for the
program in all the paths defined in the PATH variable
● If a new program is installed in a directory not
mentioned in PATH then a new entry needs to be added
● PATH=$PATH:<enter new path>
● The changes made to environment variables don’t persist
between reboots
● .bashrc,.zshrc,.profile
54. Shell Special Characters
$ variable substitution or expand value of variable
> output redirection
>> output redirection to append
* match any number of characters
? match one character
`cmd`
$(cmd)
execute command cmd
| pipe the output of one command to the input of another
escape interpretation of a character
56. Users, Groups and Permissions
● Linux is designed for multiple users to have access to
the same system at the same time
● Managing access to resources is a fundamental task
● Linux divides authorization into two:
1. Ownership
2. Permission
57. Users, Groups and Permissions
What is a “user”?
Entity that can access the resources of the system.
Types of users:
1. Root user
2. Regular user
3. Service account
A user can belong to one or more groups.
58. Users, Groups and Permissions
What is a “group”?
● Collection of users.
● Primary group: automatically associated with each user
● A user can also be part of zero or more secondary groups.
● Many distros add the standard user to some useful
secondary groups by default.
59. Users, Groups and Permissions
Some standard groups:
● sudo
● dialout
● adm
● plugdev
● lpadmin
● audio, video
62. Users, Groups and Permissions
File Directory
read read contents
list the contents of the
directory
write modify contents
create, delete and rename
files in the directory
execute run as a program
enter the directory, and
access files and
directories inside
63. Users, Groups and Permissions
chown,chgrp
chown master file.txt
change owner of file to the user “master”
chown :group1 file.txt
chgrp group1 file.txt
change group owner of file to the group
“group1”
chown master:group1 file.txt
67. Package Managers
● Allows users to install,
remove, upgrade,
configure and manage
software packages on an
operating system.
● May be a graphical or a
command line tool
● Packages used to be built
from source but now
package managers are used
68. Package Managers
● Packaging formats - .deb,
.rpm, .tar.gz
● Different methods of
install for a distro -
dpkg -i, apt install,
pacman -Syu, dnf install
● Repositories - ensure
integrity and
authenticity using
checksums and digital
signatures
● AUR
● Dependency hell
70. Commonly Used Softwares in Linux
Softwares like...
● Spotify
● Discord
● Visual Studio Code
...are available on Linux.
Open Source softwares like...
● GNU Image Manipulation Program (GIMP), Inkscape, Krita
● LibreOffice, OpenOffice
● GNOME and KDE utilities
● VLC Media Player
● Firefox
...natively support Linux.
71. WINE
● Wine Is Not an Emulator
● Compatibility layer that allows softwares
developed for Windows to run on Linux
● Can be used to install and run softwares
like
○ Adobe Photoshop
○ MS Office
○ Games
on Linux
Bottles : A modern graphical front-end
for wine
72. Getting Help
● --help
● man <command>
● Google search
● Online forums:
○ StackOverflow
○ Ubuntu Forums
● wiki.archlinux.org, and similar wikis of other distros
● Blogs like ‘It’s FOSS’
● Reddit
78. Exercises
Clone the repository of AutoJoomer: https://github.com/vishal-lokare/AutoJoomer
“cd” into the repository.
1. List all the files and directories in the directory and save it to a file named "contents".
2. Read the file "contents" using the terminal. You should see the names of files.
3. Now, use the "sort" command to sort the names of files in descending order and save the
output to a file named "contents_desc".
4. Change working directory to “src/pages/login”. Search for files "js" in the name using ls,
grep and pipe (|).
5. Challenging: Change working directory to src/pages/login. Search for "AutoJoomer" in the
contents of all the file in the directory. Hint: Use grep and wildcards.
6. Install neofetch and htop through the terminal. (Use the apt commands if you are on Ubuntu).
7. Search for "scientific calculator" in your package manager (apt, if you are using Ubuntu).
79. References
● Linux Command Line and Shell Scripting
● Package Managers - It’s Foss
● Users, Groups and Permissions - Medium
● File Permissions - Guru 99