This slide explores the basics of UNIX operating system - What's UNIX? What are different types of UNIX OS? What is difference between UNIX and Linux? and much more..
LInux: Basics & File System:The Unix operating system was conceived and implemented in 1969 at AT&T's Bell Laboratories in the United States by Ken Thompson, Dennis Ritchie, Douglas McIlroy, and Joe Ossanna. First released in 1971, Unix was written entirely in assembly language, as was common practice at the time. Later, in a key pioneering approach in 1973, it was rewritten in the C programming language by Dennis Ritchie (with exceptions to the kernel and I/O). The availability of a high-level language implementation of Unix made its porting to different computer platforms easier.
This slide explores the basics of UNIX operating system - What's UNIX? What are different types of UNIX OS? What is difference between UNIX and Linux? and much more..
LInux: Basics & File System:The Unix operating system was conceived and implemented in 1969 at AT&T's Bell Laboratories in the United States by Ken Thompson, Dennis Ritchie, Douglas McIlroy, and Joe Ossanna. First released in 1971, Unix was written entirely in assembly language, as was common practice at the time. Later, in a key pioneering approach in 1973, it was rewritten in the C programming language by Dennis Ritchie (with exceptions to the kernel and I/O). The availability of a high-level language implementation of Unix made its porting to different computer platforms easier.
A beginners guide to get familiar with the Linux and learn the most commonly and frequently used commands. Most of the commands are expected to run across all well known Linux distributions. Plus, there are a few commands for the advanced users as well.
Unix , Linux Commands
Unix, which is not an acronym, was developed by some of the members of the Multics team at the bell labs starting in the late 1960's by many of the same people who helped create the C programming language.
This ppt contains basic commands of UNIX operating system. This ppt is prepared by Dr. Rajiv Srivastava who is a director of SIRT, Bhopal which is a Best Engineering College in Central. India
Basic of and Unix and Command. More presentation you can find on www.scmGalaxy.com.
scmGalaxy.com is dedicated to software configuration, build and Release management. This covers CVS, VSS (Visual Source Safe),Perforce, SVN(Subversion) MKS Integrity, ClearCase,TFS,CM Synergy, Best Practices ,AnthillPro, Apache Ant, Maven, Bamboo, Cruise Control and many more tools.
here you will get basic idea about TERMINAL. you learn some basic commands. with the help of that commands you can make new folder(directory), new file with .txt or any other extension.you will learn HOW to make multiple folder in just one second. you will find Important information about the Linux terminal.
A beginners guide to get familiar with the Linux and learn the most commonly and frequently used commands. Most of the commands are expected to run across all well known Linux distributions. Plus, there are a few commands for the advanced users as well.
Unix , Linux Commands
Unix, which is not an acronym, was developed by some of the members of the Multics team at the bell labs starting in the late 1960's by many of the same people who helped create the C programming language.
This ppt contains basic commands of UNIX operating system. This ppt is prepared by Dr. Rajiv Srivastava who is a director of SIRT, Bhopal which is a Best Engineering College in Central. India
Basic of and Unix and Command. More presentation you can find on www.scmGalaxy.com.
scmGalaxy.com is dedicated to software configuration, build and Release management. This covers CVS, VSS (Visual Source Safe),Perforce, SVN(Subversion) MKS Integrity, ClearCase,TFS,CM Synergy, Best Practices ,AnthillPro, Apache Ant, Maven, Bamboo, Cruise Control and many more tools.
here you will get basic idea about TERMINAL. you learn some basic commands. with the help of that commands you can make new folder(directory), new file with .txt or any other extension.you will learn HOW to make multiple folder in just one second. you will find Important information about the Linux terminal.
Basic Information About Linux. This helps you to know about the basic details of linux, such as architecture, kernel design, process management, file management and etc.
Dear Students,
Greetings from www.etraining.guru
We provide BEST online training for IBM DB2 LUW/UDB DBA in Hyderabad by a database architect. Our DB2 Trainer comes with a working experience of 11+ years, 9+ years in DB2 and a DB2 certified professional.
DB2 LUW DBA Course Content: http://www.etraining.guru/course/dba/online-training-db2-luw-udb-dba
Course Cost: USD 300 (or) INR 18000
Number of Hours: 30 hours
If there is any opportunity, we will be very happy to serve you. Appreciate if you can explore other training opportunities in our website as well.
We can be reachable at info@etraining.guru (or) 91-996-669-2446 for any further info/details.
Regards,
Karthik
www.etraining.guru"
Dear Students,
Greetings from www.etraining.guru
We provide BEST online training for IBM DB2 LUW/UDB DBA in Hyderabad by a database architect. Our DB2 Trainer comes with a working experience of 11+ years, 9+ years in DB2 and a DB2 certified professional.
DB2 LUW DBA Course Content: http://www.etraining.guru/course/dba/online-training-db2-luw-udb-dba
Course Cost: USD 300 (or) INR 18000
Number of Hours: 30 hours
If there is any opportunity, we will be very happy to serve you. Appreciate if you can explore other training opportunities in our website as well.
We can be reachable at info@etraining.guru (or) 91-996-669-2446 for any further info/details.
Regards,
Karthik
www.etraining.guru"
"Title: Online Training in IBM DB2 LUW/UDB DBA in Hyderabad (www.etraining.guru)
Dear Students,
Greetings from www.etraining.guru
We provide BEST online training for IBM DB2 LUW/UDB DBA in Hyderabad by a database architect. Our DB2 Trainer comes with a working experience of 11+ years, 9+ years in DB2 and a DB2 certified professional.
DB2 LUW DBA Course Content: http://www.etraining.guru/course/dba/online-training-db2-luw-udb-dba
Course Cost: USD 300 (or) INR 18000
Number of Hours: 30 hours
If there is any opportunity, we will be very happy to serve you. Appreciate if you can explore other training opportunities in our website as well.
We can be reachable at info@etraining.guru (or) 91-996-669-2446 for any further info/details.
Regards,
Karthik
www.etraining.guru"
Managing user Online Training in IBM Netezza DBA Development by www.etraining...Ravikumar Nandigam
Dear Student,
Greetings from www.etraining.guru
We provide BEST online training in Hyderabad for IBM Netezza DBA and/or Development by a senior working professional. Our Netezza Trainer comes with a working experience of 10+ years, 6+ years in Netezza and an Netezza 7.1 certified professional.
DBA Course Content: http://www.etraining.guru/course/dba/online-training-ibm-netezza-puredata-dba
Development Course Content: http://www.etraining.guru/course/ibm/online-training-ibm-puredata-netezza-development
Course Cost: USD 300 (or) INR 18000
Number of Hours: 24 hours
*Please note the course also includes Netezza certification assitance.
If there is any opportunity, we will be very happy to serve you. Appreciate if you can explore other training opportunities in our website as well.
We can be reachable at info@etraining.guru (or) 91-996-669-2446 for any further info/details.
Regards,
Karthik
www.etraining.guru"
"Dear Students,
Greetings from www.etraining.guru
We provide BEST online training for IBM DB2 LUW/UDB DBA by a database architect. Our DB2 Trainer comes with a working experience of 11+ years, 9+ years in DB2 and a DB2 certified professional.
DB2 LUW DBA Course Content: http://www.etraining.guru/course/dba/online-training-db2-luw-udb-dba
Course Cost: USD 350 (or) INR 21000
Number of Hours: 30-35 hours
Regards,
Karthik
www.etraining.guru"
"Dear Students,
Greetings from www.etraining.guru
We provide BEST online training for IBM DB2 LUW/UDB DBA by a database architect. Our DB2 Trainer comes with a working experience of 11+ years, 9+ years in DB2 and a DB2 certified professional.
DB2 LUW DBA Course Content: http://www.etraining.guru/course/dba/online-training-db2-luw-udb-dba
Course Cost: USD 350 (or) INR 21000
Number of Hours: 30-35 hours
Regards,
Karthik
www.etraining.guru
IBM DB2 LUW UDB DBA Online Training by Etraining Guru In HyderabadRavikumar Nandigam
"Dear Students,
Greetings from www.etraining.guru
We provide BEST online training for IBM DB2 LUW/UDB DBA by a database architect. Our DB2 Trainer comes with a working experience of 11+ years, 9+ years in DB2 and a DB2 certified professional.
DB2 LUW DBA Course Content: http://www.etraining.guru/course/dba/online-training-db2-luw-udb-dba
Course Cost: USD 350 (or) INR 21000
Number of Hours: 30-35 hours
Regards,
Karthik
www.etraining.guru
"Dear Students,
Greetings from www.etraining.guru
We provide BEST online training for IBM DB2 LUW/UDB DBA by a database architect. Our DB2 Trainer comes with a working experience of 11+ years, 9+ years in DB2 and a DB2 certified professional.
DB2 LUW DBA Course Content: http://www.etraining.guru/course/dba/online-training-db2-luw-udb-dba
Course Cost: USD 350 (or) INR 21000
Number of Hours: 30-35 hours
Regards,
Karthik
www.etraining.guru"
"Dear Students,
Greetings from www.etraining.guru
We provide BEST online training for IBM DB2 LUW/UDB DBA by a database architect. Our DB2 Trainer comes with a working experience of 11+ years, 9+ years in DB2 and a DB2 certified professional.
DB2 LUW DBA Course Content: http://www.etraining.guru/course/dba/online-training-db2-luw-udb-dba
Course Cost: USD 350 (or) INR 21000
Number of Hours: 30-35 hours
Regards,
Karthik
www.etraining.guru"
Dear Student,
Greetings from Etraining.guru.
We provide THE BEST DB2 LUW/UDB DBA training in the Industry by THE real time expert. Our Trainer comes with 10+ years of IT working experience on open systems of project team sizes ranging from 2 to 70+.
Course Highlights:
****************
(1) 32+ hours of course content:
http://www.etraining.guru/online-training-db2-luw-udb-dba.aspx
(2) 5 free classes on Unix & Shell scripting of topics of student's interest
(3) 10 hours of Free job support. Beyond these hours, job support is provided for a nominal charge of $10/hour
(4) Course fees: $400 for working professionals; $300 for students/job seekers
(5) Class Timing: Flexible, depending upon student's requirement
(6) Email: info@etraining.guru
Please feel free to let us know if any further details needed.
Thanks,
Bhavana
www.etraining.guru
Email:info@etraining.guru
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.
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...Levi Shapiro
Letter from the Congress of the United States regarding Anti-Semitism sent June 3rd to MIT President Sally Kornbluth, MIT Corp Chair, Mark Gorenberg
Dear Dr. Kornbluth and Mr. Gorenberg,
The US House of Representatives is deeply concerned by ongoing and pervasive acts of antisemitic
harassment and intimidation at the Massachusetts Institute of Technology (MIT). Failing to act decisively to ensure a safe learning environment for all students would be a grave dereliction of your responsibilities as President of MIT and Chair of the MIT Corporation.
This Congress will not stand idly by and allow an environment hostile to Jewish students to persist. The House believes that your institution is in violation of Title VI of the Civil Rights Act, and the inability or
unwillingness to rectify this violation through action requires accountability.
Postsecondary education is a unique opportunity for students to learn and have their ideas and beliefs challenged. However, universities receiving hundreds of millions of federal funds annually have denied
students that opportunity and have been hijacked to become venues for the promotion of terrorism, antisemitic harassment and intimidation, unlawful encampments, and in some cases, assaults and riots.
The House of Representatives will not countenance the use of federal funds to indoctrinate students into hateful, antisemitic, anti-American supporters of terrorism. Investigations into campus antisemitism by the Committee on Education and the Workforce and the Committee on Ways and Means have been expanded into a Congress-wide probe across all relevant jurisdictions to address this national crisis. The undersigned Committees will conduct oversight into the use of federal funds at MIT and its learning environment under authorities granted to each Committee.
• The Committee on Education and the Workforce has been investigating your institution since December 7, 2023. The Committee has broad jurisdiction over postsecondary education, including its compliance with Title VI of the Civil Rights Act, campus safety concerns over disruptions to the learning environment, and the awarding of federal student aid under the Higher Education Act.
• The Committee on Oversight and Accountability is investigating the sources of funding and other support flowing to groups espousing pro-Hamas propaganda and engaged in antisemitic harassment and intimidation of students. The Committee on Oversight and Accountability is the principal oversight committee of the US House of Representatives and has broad authority to investigate “any matter” at “any time” under House Rule X.
• The Committee on Ways and Means has been investigating several universities since November 15, 2023, when the Committee held a hearing entitled From Ivory Towers to Dark Corners: Investigating the Nexus Between Antisemitism, Tax-Exempt Universities, and Terror Financing. The Committee followed the hearing with letters to those institutions on January 10, 202
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdfTechSoup
In this webinar you will learn how your organization can access TechSoup's wide variety of product discount and donation programs. From hardware to software, we'll give you a tour of the tools available to help your nonprofit with productivity, collaboration, financial management, donor tracking, security, and more.
Embracing GenAI - A Strategic ImperativePeter 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.
The Roman Empire A Historical Colossus.pdfkaushalkr1407
The Roman Empire, a vast and enduring power, stands as one of history's most remarkable civilizations, leaving an indelible imprint on the world. It emerged from the Roman Republic, transitioning into an imperial powerhouse under the leadership of Augustus Caesar in 27 BCE. This transformation marked the beginning of an era defined by unprecedented territorial expansion, architectural marvels, and profound cultural influence.
The empire's roots lie in the city of Rome, founded, according to legend, by Romulus in 753 BCE. Over centuries, Rome evolved from a small settlement to a formidable republic, characterized by a complex political system with elected officials and checks on power. However, internal strife, class conflicts, and military ambitions paved the way for the end of the Republic. Julius Caesar’s dictatorship and subsequent assassination in 44 BCE created a power vacuum, leading to a civil war. Octavian, later Augustus, emerged victorious, heralding the Roman Empire’s birth.
Under Augustus, the empire experienced the Pax Romana, a 200-year period of relative peace and stability. Augustus reformed the military, established efficient administrative systems, and initiated grand construction projects. The empire's borders expanded, encompassing territories from Britain to Egypt and from Spain to the Euphrates. Roman legions, renowned for their discipline and engineering prowess, secured and maintained these vast territories, building roads, fortifications, and cities that facilitated control and integration.
The Roman Empire’s society was hierarchical, with a rigid class system. At the top were the patricians, wealthy elites who held significant political power. Below them were the plebeians, free citizens with limited political influence, and the vast numbers of slaves who formed the backbone of the economy. The family unit was central, governed by the paterfamilias, the male head who held absolute authority.
Culturally, the Romans were eclectic, absorbing and adapting elements from the civilizations they encountered, particularly the Greeks. Roman art, literature, and philosophy reflected this synthesis, creating a rich cultural tapestry. Latin, the Roman language, became the lingua franca of the Western world, influencing numerous modern languages.
Roman architecture and engineering achievements were monumental. They perfected the arch, vault, and dome, constructing enduring structures like the Colosseum, Pantheon, and aqueducts. These engineering marvels not only showcased Roman ingenuity but also served practical purposes, from public entertainment to water supply.
Palestine last event orientationfvgnh .pptxRaedMohamed3
An EFL lesson about the current events in Palestine. It is intended to be for intermediate students who wish to increase their listening skills through a short lesson in power point.
2024.06.01 Introducing a competency framework for languag learning materials ...Sandy Millin
http://sandymillin.wordpress.com/iateflwebinar2024
Published classroom materials form the basis of syllabuses, drive teacher professional development, and have a potentially huge influence on learners, teachers and education systems. All teachers also create their own materials, whether a few sentences on a blackboard, a highly-structured fully-realised online course, or anything in between. Despite this, the knowledge and skills needed to create effective language learning materials are rarely part of teacher training, and are mostly learnt by trial and error.
Knowledge and skills frameworks, generally called competency frameworks, for ELT teachers, trainers and managers have existed for a few years now. However, until I created one for my MA dissertation, there wasn’t one drawing together what we need to know and do to be able to effectively produce language learning materials.
This webinar will introduce you to my framework, highlighting the key competencies I identified from my research. It will also show how anybody involved in language teaching (any language, not just English!), teacher training, managing schools or developing language learning materials can benefit from using the framework.
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
Francesca Gottschalk - How can education support child empowerment.pptxEduSkills OECD
Francesca Gottschalk from the OECD’s Centre for Educational Research and Innovation presents at the Ask an Expert Webinar: How can education support child empowerment?
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.
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.
2. What is an Operating System ?
Definition: An Operating system (OS) is a collection of softwares
that manages computer hardware resources and provides
common services for computer programs. (as per Wikipedia!)
A simple definition - An Operating System is an interface between Hardware and User.
CircularView
HorizontalView
3. Examples of Operating Systems
DOS - Disk Operating System, a product of IBM. Not very user friendly!
Windows - A product of Microsoft. User friendliness through GUI
MacOS - Macintosh, a product of Apple. User friendliness through GUI
Unix - Originally CUI, now has GUI as well
Linux - Supports both CUI & GUI
If Windows is an OS, what are Windows 95, 98, ME, NT, 2000, XP, 7, and 8?
Similarly, Unix and Linux OS’s have various flavors/versions too. Lets first look at Unix Evolution …
5. Unix Evolution …
• Is the name of the family of operating systems
developed at Bell Laboratories around 1969.
• Was largely the creation of two programmers working
at Bell Laboratories, Ken Thompson and Brain
Kernighan.
• Was initially used in academic environments and
spread quickly to commercial environments also
• Has got 90% of it developed in ‘C’ language and, 10%
machine specific assembly code.
• Basic UNIX system occupies around 10 MB disk space
on PCs.
6. Unix Evolution …
Note: You can also call these Single Unix Specifications as POSIX - Portable Operating System Interface for UNIX
10. What is LINUX?
Linux is a Unix clone written from scratch by Linus Torvalds with
assistance from a loosely-knit team of hackers across the Net. It
aims towards POSIX compliance.
Below are few popular Linux distributions:
• Debian - A non-commercial distribution maintained by a volunteer developer community with a
strong commitment to free s/w principles
• Ubuntu - A popular desktop and server distribution derived from Debian
• Fedora - A community distribution sponsored by American company Red Hat
• openSUSE - A community distribution mainly sponsored by American company Novell
• Mageia, Mint Linux, slackware, etc
13. UNIX Architecture …
Categorized as three levels:
• Kernel - Core/Heart of the Operating System
• Shell - User interface with Operating System
•Tools and Applications - Utilities and User Programs
Note: In detail, will be covered in later sections …
17. Few things to remember …
Working in Unix is majorly through commands
Syntax: command option(s) filename(s)
You must type spaces between commands, options, and filenames
Unix is case sensitive
Unix has a lot of commands! Don’t try to byheart all of them
18. uname
Command Name: uname
Syntax: uname [option] …
Description: Print system information
Usage:
uname -a ==> Print all information
uname -s ==> Kernal name
uname -n ==> node name
uname -r ==> Kernal release
uname -o ==> operating system
uname -son ==> Kernal name + os + node name
uname -m ==> m/c hardware name
uname -i ==> Hardware platform
19. man
Command Name: man
Syntax: man [command]
Description: Online manual pages; In built google!
Usage:
man uname ==> to display “uname” manual pages
man man ==> to display “man” manual pages
Note: In manual pages, q is to quit/come back to command prompt.
“Space Bar” is to scroll to next page
20. User Related
• who – Shows who is logged on
• w – Shows who is logged on and what they are doing
• whoami – Effective userid
• who am i – details about the userid
PS: man –k who searches for word who in all man
pages
21. Unix MISC commands
• tty – Displays the terminal id
• stty –a
Example: stty intr ^a (To use CTRL + a for interrupt)
• ifconfig – To get IP address
Example: /sbin/ifconfig | grep 'inet addr:'| grep -v
'127.0.0.1' | cut -d: -f2 | awk '{ print $1}‘
23. Date Command
• Gets/sets the date and time in the UNIX server
machine
• Some Options : %D, %T, %A, %B, %H, %d
• Examples
- $ date
- $ date +%D
- $ date +%T
- $ date +%d-%m-%Y
24. Date command contd…
• Setting system time: (Needs root permission)
Example: $date MMDDhhmmYYYY.ss
Where, MM – month
DD – day
YYYY – year
hh – hour is based on 24 hour
mm – minutes
ss – seconds
25. Before we move on to next concept …
uname
man
who
w
whoami
who am i
tty
ifconfig
cal
banner
stty
date
clear
alias
27. What is a filesystem?
A filesystem is a logical collection of files on a partition or disk. You can view
filesystems using df (or) bdf commands
Unix uses a hierarchical file system structure, much like an upside-down tree, with
root (/) at the base of the file system and all other directories spreading from there.
In Unix everything is a file - a stream of bytes. Unix treats documents, directories,
hard-drives, CD-Roms, modems, keyboards, printers, monitors, terminals, etc as
files.
For each file in the filesystem, UNIX stores administrative information in a
structure known as Inode (Index node).
ls -I /etc/passwd
stat /etc/passwd
29. UNIX File System
3 types of files
• Ordinary - Under user control (Ex: Notepad/wordpad in windows)
•Directory - to hold list of files (like a folder in windows)
• Speical - For example, device drivers, raw devices, etc
31. ls – List directory contents
• Syntax: ls [OPTIONS] [FILE(s)]
Examples: ls –l Long Listing
ls –la to list hidden files
ls –ltr To list files based upon modified time
ls –l /home/cdctrg32/ravi/copyme (listing other user files)
Note: . is Current working directory, .. is Parent working directory
32. cd – Change Directory
• syntax: cd [options] [directory]
• Example: To go to root directory, cd /
• cd . (You will be in pwd)
•cd .. (One directory up)
• cd - (Changes to previous working directory)
• cd Enter (Changes to Home directory)
33. mkdir – create directories
• Syntax: mkdir [OPTIONS] [Directories] …
• Example: cd Enter (You will be placed in your home directory)
mkdir training (Creates a new training directory)
ls –l training (View recently created directory)
cd training (Now you will be placed in training directory)
pwd; ls (Bingo!!! No files created yet)
35. mv – move/rename files
• Syntax: mv [OPTIONS] SOURCE DEST
• Example: cd training
mv mycopy mvcopy
36. ln – links b/w files
• Syntax: ln [OPTION] target dest
• Example: cd training
ln /home/cdctrg32/ravi/linkme linkme
• ls –l linkme
-rw-rw-r-- 2 cdctrg32 cdctrg32 49 Jul 21 22:49 linkme
Note: type “cat linkme”. The usage of cat will be covered in later
sessions
37. File Permissions
• ls –l filename will display as below:
-rw-rw-r-- 1 cdctrg32 cdctrg32 17 Jul 21 22:55 filename
Field 1: a set of ten permission flags.
Field 2: link count (don't worry about this)
Field 3: owner of the file
Field 4: associated group for the file
Field 5: size in bytes
Field 6-8: date of last modification (format varies, but always 3
fields)
Field 9: name of file
38. • Field 1: Contains 10 characters
1 - directory flag, 'd' if a directory, '-' if a normal file, something else
occasionally may appear here for special devices.
2,3,4 - read, write, execute permission for User (Owner) of file
5,6,7 - read, write, execute permission for Group
8,9,10 - read, write, execute permission for Other
39. • Permissions are set according to numbers. Read is 4. Write is 2.
Execute is 1. The sums of these numbers give combinations of
these permissions:
• 0 = no permissions whatsoever; this person cannot read,
write, orexecute the file
• 1 = execute only
• 2 = write only
• 3 = write and execute (1+2)
• 4 = read only
• 5 = read and execute (4+1)
• 6 = read and write (4+2)
• 7 = read and write and execute (4+2+1)
40. • The below file has 664 permissions
-rw-rw-r-- 1 cdctrg32 cdctrg32 17 Jul 21 22:55 filename
• To give write permission to other group users,
chmod 666 filename
• To take out permission from all other users: chmod 600 filename
• Note: id command tells the default group id
41. • Example: Can you cat the below file to see the contents of the file
cat /home/cdctrg32/ravi/passwords
• Nope. But why?
43. touch
• creates empty file
• changes the file timestamp
• Example: touch filename
Note: touch command is mostly used in system build time. But
how?
44. umask
• User file creation mode mask – 4 digit octal number that unix uses
to determine the file permission for newly created files
• (666 – umask) value is the default permissions
• Exercise: Change the umask value to 000 and create a new file.
45. more – less – head - tail
• cp /home/cdctrg32/ravi/largefile .;
• cat largefile (Bingo!!!)
• more – Forward only
• less - forward and backward movement
• head -10 largefile /* First 10 lines of the file */
• tail -10 largefile /* Last 10 lines of the file */ **To view Log Files**
46. • which <command> – Displays the path of the commands
• whereis <command> - More info than which
• whatis <command> - quick introduction about the command
• ldd – prints library dependencies
Example: ldd /bin/ls
• file <filename> - displays the file type
47. history command
• history – displays the history of typed commands
Usage: history 20
!! Repeats the last command
!number -> reruns the command given at the given line
• passwd – To change your password
Editor's Notes
Ravikumar Nandigam
Circular View
Similarly, Unix and Linux have various flavors/versions too. Lets first look at Unix Evolution …
Dennis Ritchie and Ken Thompson @AT&T Bell Laboratories in early 1970&apos;s
Note: You can also call these Single Unix Specifications as POSIX - Portable Operating System Interface for UNIX
Open Source (vs) Closed Source (vs) Mixed Source
Below are popular Linux distributions:
Unix is a command based operating system
Command Name: uname
q is to quit/come back to command prompt. Tab is to scroll to next page
Unix uses a hierarchical file system structure, much like an upside-down tree, with root (/) at the base of the file system and all other directories spreading from there.