• phone icon +44 7459 302492 email message icon info@uplatz.com
  • Register

BUY THIS COURSE (USD 17 USD 41)
4.9 (59 reviews)
( 347 Students )

 

Unix - Linux - Shell Scripting

Learn about Unix/Linux Operating System, the file utilities used in Linux, the system administrative basics and the Linux utilities.
( add to cart )
Save 59% Offer ends on 30-Jun-2024
Course Duration: 25 Hours
Preview Unix - Linux - Shell Scripting course
View Course Curriculum   Price Match Guarantee   Full Lifetime Access     Access on any Device   Technical Support    Secure Checkout   Course Completion Certificate
Bestseller
Trending
Job-oriented
Instant access

Students also bought -

Completed the course? Request here for Certificate. ALL COURSES

Linux is a free open-source computer operating system based on the kernel distribution. The kernel is considered as the heart of the Linux operating system which takes care of the hardware and software functionalities in a Linux system. It is based on the UNIX operating system platform.

Linux is an open-source computer operating system which runs on the Linux Kernel. It is by far one of the most desirable operating systems for the developers and much to a greater extent for individuals who like to contribute their own coding in distributed operating system platforms. One of the most popular platforms, Android, is powered by the Linux Operating System.

 

Linux Operating System comprises of many several different components such as (i) Bootloader (ii) Kernel (iii) Init System (iv)Daemons (v) Graphical Server (vi) Desktop Environment and (vii) Applications. It has got a number of different versions based on user needs. Some of the popular Linux distributions include Debian, Ubuntu, Fedora, Linux Mint etc. Linux is highly secured, customizable and free to use or at a much lesser cost.

Some of the key features of the Linux Operating System are:

1.     Linux core component is the kernel, which is independently developed from other operating system components.

2.     It is free and open-source.

3.     It has uniform multiprocessor support.

4.     It includes a Command Line Interface (CLI) and also Graphical User Interface (GUI).

 

Uplatz provides this end-to-end training course on Linux and Shell Programming. You will be able to get a brief introduction to Unix/Linux Operating System, the file utilities used in Linux, the system administrative basics and the Linux utilities. After successful completion of this course, students will be more familiarized with the Linux Operating System, will understand the various commands used here and also will help in upgrading their skills which will act as an add-on in their resume for a competitive position in any organization.

 

To learn the basics of the Linux operating system, one has to first understand the file system directory structure and the commands used to work on this operating system. Although, many different versions have been commercially released like GNOME, KDE, PANTHEON, etc. which deals with the GUIs for every type of user.

Course/Topic 1 - Introduction to Unix and Linux

  • In this session we will discuss the Linux basics and shell scripting. This video talks about the history of Linux and the introduction to Linux. Further we will see the Login session in Linux and how to work with the Unix file system (Linux Directories) and what is as operating system.

    • 43:58
  • In this session we will discuss Linux basic commands such as ls, pwd, cd, touch, mkdir,rmdir, cp, mv, cat, rm.

    • 44:01
  • In this session we will discuss about the sample command application. This video talks about the Linux Commands and disk and file system. The Linux command is a utility of the Linux operating system. All basic and advanced tasks can be done by executing commands. The commands are executed on the Linux terminal. The terminal is a command-line interface to interact with the system, which is similar to the command prompt in the Windows OS.

    • 33:39
  • In this session we will discuss about the Linux Directories and Meta Characters. This video talks about the handling file and directories with meta characters or wild cards.

    • 44:10
  • In this session we will discuss about the Editor – vi in Linux. This video talks about working with vi as a visual editor along with 3 modes.

    • 54:43
  • In this session we will discuss about the Linux Documentation. This video talks about the Linux documentation along with manual sections including path.

    • 29:49

Course/Topic 2 - Unix and Linux File Utilities

  • In this session we will discuss about standard I/O, redirection and pipes, we will also discuss about the meta characters.

    • 52:51
  • In this session we will discuss about changing file access rights (uses and permission including both symbolic and absolutemodes)

    • 54:59
  • In this session we will discuss about soft links and hard links we will also learn how to check file integrity.

    • 39:32

Course/Topic 3 - Linux Utilities

  • In this session we will discuss about the disk utilities in Linux. This video talks about the different types of disk utilities and its function, such as du (disk usage), df (disk free space), dd, and hexdump.

    • 24:35
  • In this session we will discuss about the process utilities in Linux. This video talks about the differnt types of process utilities and its functions such as ps, kill, xkill, ulimit, sleep, bg, fg, jobs, top

    • 32:41
  • In this session we will discuss about the text processing utilities. This video talks about the text processing utilities such as find, locate and grep.

    • 53:49
  • In this session we will discuss about the other miscellaneous commands used in Linux. This video talks about the commands such as history, tee, free and alias.

    • 19:34
  • In this session we will discuss about the important part of archive and compress utilities in linux. This video talks about various commands for Compressing and decompresses (read as expand compressed file). To compress files you can use gzip, bzip2 and zip commands. To expand compressed file (decompresses) you can use and gzip -d, bunzip2 (bzip2 -d), unzip commands.

    • 46:07
  • In this session we will discuss about the later part of compressing and archiving for backup restore (for backup and restore). This video talks about the utilities such as tar, gzip, gunzip, bzip2, bzcat, lzma, unlzma.

    • 20:48

Course/Topic 4 - Linux System Administration

  • In this session we will discuss basic system administrative topics. This video talks about the user management (who, whoami, groups, su, adduser, deluser, useradd, userdel, id, usermod, users) and time management (time, uptime) in Linux.

    • 36:59
  • In this session we will discuss Run Levels and Root Privileges. This video talks about te init levels along with shutdown (init, shutdown, halt, systemctl) and accessing administrator (root) privileges.

    • 30:10
  • In this session we will discuss talks about the package management in Linux system. This video talks about the package management using apt, apt-gel, apt-cache, dpkg.

    • 46:10
  • In this session we will discuss about the important topics of networking in Linux System. This video talks about the networking by explaining hostname, ifconfig, ping, host dig, nslookup, route, traceroute.

    • 36:20
  • In this session we will discuss about the important topics of networking in Linux System. This video talks about the networking by explaining tracepath, netstat, arp, ftp, sttp, scp, wget, telnet, ssh.

    • 33:27
  • In this session we will discuss file system and devices in linux system. This video talks about the how in linux everything is a file and how a device represents as a file. Further we will see about sda as a block device type special file.

    • 29:32

Course/Topic 5 - Linux Shells and Shell Programming (Bash)

  • In this session we will discuss about the introductory topics of Shells and Shell Programming. This video talks about the command line interpreters and SSH, variable in shell (local and global export). Further we will talk about the environment variables and how to write a script.

    • 55:18
  • In this session we will discuss about the introductory topics of Shells and Shell Programming. This video talks about the command line interpreters and SSH, variable in shell (local and global export). Further we will talk about the environment variables and how to write a script.

    • 55:18
  • In this session we will discuss about the quoting mechanism and test command. This video talks about the quotes both single and double along with variables. Further we will see about test commands or expr.

    • 28:52
  • In this session we will discuss about the Arithmetic and Increment Decrement. This video talks about the different types of operators like arithmetic operators, increment and decrement operators, relational operators, logical and Boolean operators, string operators and file operators.

    • 15:54
  • In this session we will discuss about the relational and logical operators in Linux. This video further talks about the types of operators and relation between 2 operators. In this video we will discuss about the

    • 15:15
  • In this session we will discuss further about the types of operators. This videos talks about the string and file test operator, which are very important in the Linux shell scripting.

    • 27:25
  • In this session we will discuss about the conditional statements in Linux shell scripting. This video talk about the conditional execution like (&& and ||). Further we will see the conditional statements like if …fi, if….else, if….elif….else.

    • 36:55
  • In this session we will discuss about the loops function in Linux scripting. This video talks about the different types of loops like repetitive or iterative loop, while loop, for loop and until loop.

    • 54:56
  • In this session we will discuss about the loop control statements. The BASH shell has three loop control structures: while, for, and for-in. There are two condition structures: if and case. The control structures have as their test the execution of a Linux command. All Linux commands return an exit status after they have finished executing.

    • 40:46
  • In this session we will discuss about the nested loops with sample programs. This video talks about the nested loops for…while, for…until, for …. For, while…. while. A nested loop is an inner loop placed inside another one (loop)

    • 39:59
  • In this session we will discuss about the arrays in linux scripting. This video talks about what is arrays and arrays initialization and assignment. An array is a systematic arrangement of the same type of data. But in Shell script Array is a variable which contains multiple values may be of same type or different type since by default in shell script everything is treated as a string.

    • 48:10
  • In this session we will discuss important features of functions in Linux. Functions is a powerful feature of shell programming. It is a group of commands organized by common functionality. We will talk about defining the functions and invoicing the functions.

    • 43:25
  • In this session we will discuss about the later parts of functions in Linux. This video talks about the add function, return function and other functions.

    • 16:46
  • In this session we will discuss about the command line arguments. This video talks about how commands can be defined as input given to a command line to process that input with the help of given command. Argument can be in the form of a file or directory. Arguments are entered in the terminal or console after entering command.

    • 33:22
  • In this session we will discuss about the command line options. This video tells us how command-line options are single letters preceded by a single hyphen.

    • 22:35
  • In this session we will discuss about the Command Line Arguments and Options Slides with slides. This video talks about character $ and how it is used to access input arguments to the scripts.

    • 9:12
  • In this session we will discuss about the signals used in linux. This video talks about the signal indication for the event in a processing.

    • 28:17
  • In this session we will discuss we will about the concept of debugging in linux. This video talks about the different debugging techniques and trace errors under such trying circumstances.

    • 15:05
  • In this session we will discuss about the important utilities in Linux. This video talks about the the different utilities and its functions such as, bc, cmp, diff, uniq, paste, join.

    • 43:25
  • In this session we will discuss about the later part of utilities in Linux. This video talks about the later types of utilities such as, cut, tr, sed.

    • 37:56
  • In this session we will discuss about the programs used in Linux. This video talks about the program using utilities, linux program and shell scripting.

    • 22:37
Course Objectives Back to Top

Learn UNIX architecture, basics to advanced concepts, shell scripting, UNIX commands, and Server.

Learn the basics of Unix and its advantages over other OS.

Learn detailed understanding of the Unix Shell scripting.

Learn the various layers of the Unix architecture.

Learn running and troubleshooting of the Unix Shell scripts.

The Unix files, directories and user classes.

Unix file attributes and changing file permissions.

Learn to make real world Unix shell programming projects

Understand and identify different UNIX Operating Systems.

Learn architecture & its different layers.

Learn how to write, execute and debug Shell Scripts.

Understand advanced concepts to use in various technologies.

 

Course Syllabus Back to Top

1.     Introduction to Unix/Linux
·       Unix and its history
·       Introduction to Linux
·       Login session
·       Working with the Unix filesystem (Linux Directories)
·       Linux Basic Commands (ls, pwd, cd, touch, mkdir, rmdir, cp, mv, cat, rm)
·       Handling files and directories (with metacharacters)
·       Working with vi (visual editor along with 3 modes)
·       Linux documentation (along with manual sections including path)

2.     File utilities
·       Standard I/O, redirection and pipes
·       File descriptors and its related usage of metacharacters (>, >>, <, <<, <<<)
·       Changing file access rights (users and permissions including both Symbolic and Absolute modes) (chmod)
·       Soft links and hard links
·       Checking file integrity

3.     Linux Utilities
·       Disk utilities (du, df)
·       Process utilities (ps and all options)
·       Text processing utilities (head, tail, wc, find, grep etc)
·       Miscellaneous commands
·       Compressing and archiving (backup and restore) utilities
·       User management, time management and shutdown (init levels)

4.     System administrative basics
·       Networking
·       File systems and devices
·       Accessing administrator (root) privileges
·       Package management

 

5.  Shells and Shell Programming (BASH)

     •  Command line interpreters and SSH

     •  Variables in shell (Local and Global (export))

     •  Environment variables

     •  How to write the script?

     •  Quotes (Single and Double along with variables)

     •  Test commands or [ expr ]

     •  Conditional statements (if … fi, if … else … fi, if … elif … else … fi, case statement)

     •  Repetitive statements (for and while loops)

     •  Conditional execution (&& and ||)

     •  Functions

     •  Signal Handling (Default action, Handling Signals and Ignoring Signals)

     •  Commands such as kill, trap, shift

     •  Command line processing and command line arguments

     •  Processing command line options (getopts)

 

     •  Utilities: cut, join, tr, awk, sed, uniq, grep

Certification Back to Top

This Unix - Linux - Shell Scripting training course will help the participant to master the Linux language. As a part of this Linux Basics training, the participants will master the fundamentals of Linux.

In Linux Basics Course module, the participants understand the Linux operating system. In the Linux Basics course, the participants will learn about the key features of Linux operating system.

The Linux Developer get trained in three key components such as kernel, system library and system utility. The Linux Basics tutorial helps the participants to fulfil the role of a Linux Developer. The Linux Basics training course requires scratch or a basic understanding of operating system.

The Linux Basics is a language that a sotware developer need to know well. The Linux Basics training course from Uplatz can help the participants to understand the Linux operating system and its core functionalities. The Linux Developer training course validates whether the participants possess basic concepts of linux operating system. The Linux Developer training course helps the participants to maintain the hardware and software functionalities in the Linux system.

Uplatz online training ensures the participants to successfully go through the Linux Basics training course. Uplatz provides appropriate teaching and expertise training is provided to equip the participants for implementing the learnt concepts in an enterprise. Course Completion Certificate will be awarded by Uplatz upon the completion of the Linux Basics course training.

Career & Jobs Back to Top

The Linux Developer draws an average salary of $112,101 per year depending on the knowledge and hands-on experience. The Linux Developer job roles are in high demand and make a promising career.

The Linux Developers have huge demand across various MNC’s. The importance of operating system and its concepts in various companies can open up good job opportunities. The leading companies hire Linux Developer considering their skill of developing, debugging and document computer programs for the Linux operating system. The Participants earn Linux Basics training through our course completion certificate.

The Linux Basics course is ideally designed for programmers and those who aspire to build their career in programming.

After pursuing Linux Basics course the participants can pursue a wide range of career paths.

The following are the job titles in this area:

· Linux Programmer

· Linux Developer

· Software Developer

· Linux Kernel Developer 

This Linux Basics training is for software developers, system administrators, and anyone aspiring for a lucrative career in the world of networking and OS administration.

Interview Questions Back to Top

 

1) What is Linux?

Linux is an operating system based on UNIX and was first introduced by Linus Torvalds. It is based on the Linux Kernel and can run on different hardware platforms manufactured by Intel, MIPS, HP, IBM, SPARC, and Motorola. Another popular element in Linux is its mascot, a penguin figure named Tux.

 

2) What is the difference between UNIX and LINUX?

Unix originally began as a propriety operating system from Bell Laboratories, which later on spawned into different commercial versions. On the other hand, Linux is free, open source and intended as a non-propriety operating system for the masses.

 

3) What is BASH?

BASH is short for Bourne Again SHell. It was written by Steve Bourne as a replacement to the original Bourne Shell (represented by /bin/sh). It combines all the features from the original version of Bourne Shell, plus additional functions to make it easier and more convenient to use. It has since been adapted as the default shell for most systems running Linux.

 

4) What is Linux Kernel?

The Linux Kernel is a low-level systems software whose main role is to manage hardware resources for the user. It is also used to provide an interface for user-level interaction.

 

5) What is LILO?

LILO is a boot loader for Linux. It is used mainly to load the Linux operating system into main memory so that it can begin its operations.

 

6) What is a swap space?

Swap space is a certain amount of space used by Linux to temporarily hold some programs that are running concurrently. This happens when RAM does not have enough memory to hold all programs that are executing.

 

7) What is the advantage of open source?

Open source allows you to distribute your software, including source codes freely to anyone who is interested. People would then be able to add features and even debug and correct errors that are in the source code. They can even make it run better and then redistribute these enhanced source code freely again. This eventually benefits everyone in the community.

 

8) What are the basic components of Linux?

Just like any other typical operating system, Linux has all of these components: kernel, shells and GUIs, system utilities, and an application program. What makes Linux advantageous over other operating system is that every aspect comes with additional features and all codes for these are downloadable for free.

 

9) Does it help for a Linux system to have multiple desktop environments installed?

In general, one desktop environment, like KDE or Gnome, is good enough to operate without issues. It's all a matter of preference for the user, although the system allows switching from one environment to another. Some programs will work in one environment and not work on the other, so it could also be considered a factor in selecting which environment to use.

 

10) What is the basic difference between BASH and DOS?

The key differences between the BASH and DOS console lie in 3 areas:

- BASH commands are case sensitive while DOS commands are not;

- Under BASH, / character is a directory separator and \ acts as an escape character. Under DOS, / serves as a command argument delimiter and \ is the directory separator

- DOS follows a convention in naming files, which is 8 character file name followed by a dot and 3 characters for the extension. BASH follows no such convention.

 

11) What is the importance of the GNU project?

This so-called Free software movement allows several advantages, such as the freedom to run programs for any purpose and freedom to study and modify a program to your needs. It also allows you to redistribute copies of software to other people, as well as the freedom to improve software and have it released for the public.

 

12) Describe the root account.

The root account is like a systems administrator account and allows you full control of the system. Here you can create and maintain user accounts, assigning different permissions for each account. It is the default account every time you install Linux.

 

13) What is CLI?

CLI is short for Command Line Interface. This interface allows the user to type declarative commands to instruct the computer to perform operations. CLI offers greater flexibility. However, other users who are already accustomed to using GUI find it difficult to remember commands including attributes that come with it.

 

14) What is GUI?

GUI, or Graphical User Interface, make use of images and icons that users click and manipulate as a way of communicating with the computer. Instead of having to remember and type commands, the use of graphical elements makes it easier to interact with the system, as well as adding more attraction through images, icons, and colors.

 

15) How do you open a command prompt when issuing a command?

To open the default shell (which is where the command prompt can be found), press Ctrl-Alt-F1. This will provide a command line interface (CLI) from which you can run commands as needed.

 

16) How can you find out how much memory Linux is using?

From a command shell, use the "concatenate" command: cat /proc/meminfo for memory usage information. You should see a line starting something like Mem: 64655360, etc. This is the total memory Linux thinks it has available to use.

You can also use commands

free - m 

vmstat 

top 

htop

to find current memory usage.

 

17) What is a typical size for a swap partition under a Linux system?

The preferred size for a swap partition is twice the amount of physical memory available on the system. If this is not possible, then the minimum size should be the same as the amount of memory installed.

 

18) What are symbolic links?

Symbolic links act similarly to shortcuts in Windows. Such links point to programs, files or directories. It also allows you instant access to it without having to go directly to the entire pathname.

 

19) Does the Ctrl+Alt+Del key combination work on Linux?

Yes, it does. Just like Windows, you can use this key combination to perform a system restart. One difference is that you won't be getting any confirmation message and therefore, a reboot is immediate.

 

20) How do you refer to the parallel port where devices such as printers are connected?

Whereas under Windows you refer to the parallel port as the LPT port, under Linux you refer to it as /dev/lp . LPT1, LPT2 and LPT3 would therefore be referred to as /dev/lp0, /dev/lp1, or /dev/lp2 under Linux.

 

21) Are drives such as hard drive and floppy drives represented with drive letters?

No. In Linux, each drive and device have different designations. For example, floppy drives are referred to as /dev/fd0 and /dev/fd1. IDE/EIDE hard drives are referred to as /dev/hda, /dev/hdb, /dev/hdc, and so forth.

 

22) How do you change permissions under Linux?

Assuming you are the system administrator or the owner of a file or directory, you can grant permission using the chmod command. Use + symbol to add permission or – symbol to deny permission, along with any of the following letters: u (user), g (group), o (others), a (all), r (read), w (write) and x (execute). For example, the command chmod go+rw FILE1.TXT grants read and write access to the file FILE1.TXT, which is assigned to groups and others.

 

23) In Linux, what names are assigned to the different serial ports?

Serial ports are identified as /dev/ttyS0 to /dev/ttyS7. These are the equivalent names of COM1 to COM8 in Windows.

 

24) How do you access partitions under Linux?

Linux assigns numbers at the end of the drive identifier. For example, if the first IDE hard drive had three primary partitions, they would be named/numbered, /dev/hda1, /dev/hda2 and /dev/hda3.

 

25) What are hard links?

Hard links point directly to the physical file on disk, and not on the pathname. This means that if you rename or move the original file, the link will not break since the link is for the file itself, not the path where the file is located.

 

26) What is the maximum length for a filename under Linux?

Any filename can have a maximum of 255 characters. This limit does not include the path name, so therefore the entire pathname and filename could well exceed 255 characters.

 

27) What are filenames that are preceded by a dot?

In general, filenames that are preceded by a dot are hidden files. These files can be configuration files that hold important data or setup info. Setting these files as hidden makes it less likely to be accidentally deleted.

 

28) Explain virtual desktop.

This serves as an alternative to minimizing and maximizing different windows on the current desktop. Using virtual desktops can clear the desktop when you can open one or more programs. Rather than minimizing/restoring all those programs as needed, you can simply shuffle between virtual desktops with programs intact in each one.

 

29) How do you share a program across different virtual desktops under Linux?

To share a program across different virtual desktops, in the upper left-hand corner of a program window look for an icon that looks like a pushpin. Pressing this button will "pin" that application in place, making it appear in all virtual desktops, in the same position onscreen.

 

30) What does a nameless (empty) directory represent?

This empty directory name serves as the nameless base of the Linux file system. This serves as an attachment for all other directories, files, drives, and devices.

 

31) What is the pwd command?

The pwd command is short for print working directory command.

Example:

pwd

Output:

/home/uplatz/myDir

 

32) What are daemons?

Daemons are services that provide several functions that may not be available under the base operating system. Its main task is to listen for service request and at the same time to act on these requests. After the service is done, it is then disconnected and waits for further requests.

 

33) How do you switch from one desktop environment to another, such as switching from KDE to Gnome?

Assuming you have these two environments installed, just log out from the graphical interface. Then at the login screen, type your login ID and password and choose which session type you wish to load. This choice will remain your default until you change it to something else.

 

34) What are the kinds of permissions under Linux?

There are 3 kinds of permissions under Linux:- Read: users may read the files or list the directory- Write: users may write to the file of new files to the directory- Execute: users may run the file or lookup a specific file within a directory

 

35) How does case sensitivity affect the way you use commands?

When we talk about case sensitivity, commands are considered identical only if every character is encoded as is, including lowercase and uppercase letters. This means that CD, cd, and Cd are three different commands. Entering a command using uppercase letters, where it should be in lowercase, will produce different outputs.

 

36) What are environmental variables?

Environmental variables are global settings that control the shell's function as well as that of other Linux programs. Another common term for environmental variables is global shell variables.

 

37) What are the different modes when using vi editor?

There are 3 modes under vi:- Command mode – this is the mode where you start in- Edit mode – this is the mode that allows you to do text editing- Ex mode – this is the mode wherein you interact with vi with instructions to process a file

 

38) Is it possible to use shortcuts for a long pathname?

Yes, there is. A feature known as filename expansion allows you do this using the TAB key. For example, if you have a path named /home/iceman/assignments directory, you would type as follows: /ho[tab]/ice[tab]/assi[tab] . This, however, assumes that the path is unique and that the shell you're using supports this feature.

 

39) What is redirection?

Redirection is the process of directing data from one output to another. It can also be used to direct an output as an input to another process.

 

40) What is grep command?

grep a search command that makes use of pattern-based searching. It makes use of options and parameters that are specified along with the command line and applies this pattern in searching the required file output.

 

41) What could be the problem when a command that was issued gave a different result from the last time it was used?

One highly possible reason for getting different results from what seems to be the same command has something to do with case sensitivity issues. Since Linux is case sensitive, a command that was previously used might have been entered in a different format from the present one. For example, to lists all files in the directory, you should type the command ls, and not LS. Typing LS will either result in an error message if there is no program by that exact name exist or may produce a different output if there is a program named LS that performs another function.

 

42) What are the contents of /usr/local?

It contains locally installed files. This directory matters in environments where files are stored on the network. Specifically, locally-installed files go to /usr/local/bin, /usr/local/lib, etc.). Another application of this directory is that it is used for software packages installed from source, or software not officially shipped with the distribution.

 

43) How do you terminate an ongoing process?

Every process in the system is identified by a unique process id or pid. Use the kill command followed by the pid to terminate that process. To terminate all process at once, use kill 0.

 

44) How do you insert comments in the command line prompt?

Comments are created by typing the # symbol before the actual comment text. This tells the shell to completely ignore what follows. For example "# This is just a comment that the shell will ignore."

 

45) What is command grouping and how does it work?

You can use parentheses to group commands. For example, if you want to send the current date and time along with the contents of a file named OUTPUT to a second file named MYDATES, you can apply command grouping as follows: (date cat OUTPUT) > MYDATES

 

46) How do you execute more than one command or program from a single command line entry?

You can combine several commands by separating each command or program using a semicolon symbol. For example, you can issue such a series of commands in a single entry:

ls –l cd .. ls –a MYWORK which is equivalent to 3 commands: ls -l cd.. ls -a MYWORK

**Note that this will be executed one after the other, in the order specified.

 

47) Write a command that will look for files with an extension "c", and has the occurrence of the string "apple" in it.

Answer:

 Find ./ -name "*.c" | xargs grep –i "apple"

 

48) Write a command that will display all .txt files, including its individual permission.

Answer:

ls -al *.txt

 

49) Write a command that will do the following:

-look for all files in the current and subsequent directories with an extension c,v
-strip the,v from the result (you can use sed command)
-use the result and use a grep command to search for all occurrences of the word ORANGE in the files.

Find ./ -name "*.c,v" | sed 's/,v//g' | xargs grep "ORANGE"

 

50) What, if anything, is wrong with each of the following commands?

a) ls -l-s
b) cat file1, file2
c) ls - s Factdir

Answers:
a) there should be space between the 2 options: ls -l -s
b) do not use commas to separate arguments: cat file1 file2
c) there should be no space between hyphen and option label: ls –s Factdir

 

51) What is the command to calculate the size of a folder?

To calculate the size of a folder uses the command du –sh folder1.

 

52) How can you find the status of a process?

Use the command

ps ux

 

53) How can you check the memory status?

You can use the command

free -m to display output in MB

free -g to display output in GB

 

54) Explain how to color the Git console?

To color the Git console, you can use the command git config—global color.ui auto. In the command, the color.ui variable sets the default value for a variable such as color.diff and color.grep.

 

55) How can you append one file to another in Linux?

To append one file to another in Linux you can use command cat file2 >> file 1. The operator >> appends the output of the named file or creates the file if it is not created. While another command cat file 1 file 2 > file 3 appends two or more files to one.

 

56) Explain how you can find a file using Terminal?

To find a file you have to use a command, find . –name "process.txt" . It will look for the current directory for a file called process.txt.

 

57) Explain how you can create a folder using Terminal?

To create a folder, you have to use command mkdir. It will be something like these: ~$ mkdir uplatz

 

58) Explain how you can view the text file using Terminal?

To view the text file, go to the specific folder where the text files are located by using the command cd and then type less filename.txt.

 

59) Explain how to enable curl on Ubuntu LAMP stack?

To enable curl on Ubuntu, first, install libcurl, once done use following command sudo/etc/init .d /apache2 restart or sudo service apache2 restart.

 

60) Explain how to enable root logging in Ubuntu?

The command which enables root logging is

#sudo sh-c 'echo "greater-show-manual-login=true" >>/etc/lightdm/lightdm.conf'

 

61) How can you run a Linux program in the background simultaneously when you start your Linux Server?

By using nohup. It will stop the process receiving the NOHUP signal and thus terminating it you log out of the program which was invoked with. & runs the process in the background.

 

62) Explain how to uninstall the libraries in Linux?

To uninstall the libraries in Linux, you can use command sudo apt-get remove library_name

 

Course Quiz Back to Top
Start Quiz
Q1. What are the payment options?
A1. We have multiple payment options: 1) Book your course on our webiste by clicking on Buy this course button on top right of this course page 2) Pay via Invoice using any credit or debit card 3) Pay to our UK or India bank account 4) If your HR or employer is making the payment, then we can send them an invoice to pay.

Q2. Will I get certificate?
A2. Yes, you will receive course completion certificate from Uplatz confirming that you have completed this course with Uplatz. Once you complete your learning please submit this for to request for your certificate https://training.uplatz.com/certificate-request.php

Q3. How long is the course access?
A3. All our video courses comes with lifetime access. Once you purchase a video course with Uplatz you have lifetime access to the course i.e. forever. You can access your course any time via our website and/or mobile app and learn at your own convenience.

Q4. Are the videos downloadable?
A4. Video courses cannot be downloaded, but you have lifetime access to any video course you purchase on our website. You will be able to play the videos on our our website and mobile app.

Q5. Do you take exam? Do I need to pass exam? How to book exam?
A5. We do not take exam as part of the our training programs whether it is video course or live online class. These courses are professional courses and are offered to upskill and move on in the career ladder. However if there is an associated exam to the subject you are learning with us then you need to contact the relevant examination authority for booking your exam.

Q6. Can I get study material with the course?
A6. The study material might or might not be available for this course. Please note that though we strive to provide you the best materials but we cannot guarantee the exact study material that is mentioned anywhere within the lecture videos. Please submit study material request using the form https://training.uplatz.com/study-material-request.php

Q7. What is your refund policy?
A7. Please refer to our Refund policy mentioned on our website, here is the link to Uplatz refund policy https://training.uplatz.com/refund-and-cancellation-policy.php

Q8. Do you provide any discounts?
A8. We run promotions and discounts from time to time, we suggest you to register on our website so you can receive our emails related to promotions and offers.

Q9. What are overview courses?
A9. Overview courses are 1-2 hours short to help you decide if you want to go for the full course on that particular subject. Uplatz overview courses are either free or minimally charged such as GBP 1 / USD 2 / EUR 2 / INR 100

Q10. What are individual courses?
A10. Individual courses are simply our video courses available on Uplatz website and app across more than 300 technologies. Each course varies in duration from 5 hours uptop 150 hours. Check all our courses here https://training.uplatz.com/online-it-courses.php?search=individual

Q11. What are bundle courses?
A11. Bundle courses offered by Uplatz are combo of 2 or more video courses. We have Bundle up the similar technologies together in Bundles so offer you better value in pricing and give you an enhaced learning experience. Check all Bundle courses here https://training.uplatz.com/online-it-courses.php?search=bundle

Q12. What are Career Path programs?
A12. Career Path programs are our comprehensive learning package of video course. These are combined in a way by keeping in mind the career you would like to aim after doing career path program. Career path programs ranges from 100 hours to 600 hours and covers wide variety of courses for you to become an expert on those technologies. Check all Career Path Programs here https://training.uplatz.com/online-it-courses.php?career_path_courses=done

Q13. What are Learning Path programs?
A13. Learning Path programs are dedicated courses designed by SAP professionals to start and enhance their career in an SAP domain. It covers from basic to advance level of all courses across each business function. These programs are available across SAP finance, SAP Logistics, SAP HR, SAP succcessfactors, SAP Technical, SAP Sales, SAP S/4HANA and many more Check all Learning path here https://training.uplatz.com/online-it-courses.php?learning_path_courses=done

Q14. What are Premium Career tracks?
A14. Premium Career tracks are programs consisting of video courses that lead to skills required by C-suite executives such as CEO, CTO, CFO, and so on. These programs will help you gain knowledge and acumen to become a senior management executive.

Q15. How unlimited subscription works?
A15. Uplatz offers 2 types of unlimited subscription, Monthly and Yearly. Our monthly subscription give you unlimited access to our more than 300 video courses with 6000 hours of learning content. The plan renews each month. Minimum committment is for 1 year, you can cancel anytime after 1 year of enrolment. Our yearly subscription gives you unlimited access to our more than 300 video courses with 6000 hours of learning content. The plan renews every year. Minimum committment is for 1 year, you can cancel the plan anytime after 1 year. Check our monthly and yearly subscription here https://training.uplatz.com/online-it-courses.php?search=subscription

Q16. Do you provide software access with video course?
A16. Software access can be purchased seperately at an additional cost. The cost varies from course to course but is generally in between GBP 20 to GBP 40 per month.

Q17. Does your course guarantee a job?
A17. Our course is designed to provide you with a solid foundation in the subject and equip you with valuable skills. While the course is a significant step toward your career goals, its important to note that the job market can vary, and some positions might require additional certifications or experience. Remember that the job landscape is constantly evolving. We encourage you to continue learning and stay updated on industry trends even after completing the course. Many successful professionals combine formal education with ongoing self-improvement to excel in their careers. We are here to support you in your journey!

Q18. Do you provide placement services?
A18. While our course is designed to provide you with a comprehensive understanding of the subject, we currently do not offer placement services as part of the course package. Our main focus is on delivering high-quality education and equipping you with essential skills in this field. However, we understand that finding job opportunities is a crucial aspect of your career journey. We recommend exploring various avenues to enhance your job search:
a) Career Counseling: Seek guidance from career counselors who can provide personalized advice and help you tailor your job search strategy.
b) Networking: Attend industry events, workshops, and conferences to build connections with professionals in your field. Networking can often lead to job referrals and valuable insights.
c) Online Professional Network: Leverage platforms like LinkedIn, a reputable online professional network, to explore job opportunities that resonate with your skills and interests.
d) Online Job Platforms: Investigate prominent online job platforms in your region and submit applications for suitable positions considering both your prior experience and the newly acquired knowledge. e.g in UK the major job platforms are Reed, Indeed, CV library, Total Jobs, Linkedin.
While we may not offer placement services, we are here to support you in other ways. If you have any questions about the industry, job search strategies, or interview preparation, please dont hesitate to reach out. Remember that taking an active role in your job search process can lead to valuable experiences and opportunities.

Q19. How do I enrol in Uplatz video courses?
A19. To enroll, click on "Buy This Course," You will see this option at the top of the page.
a) Choose your payment method.
b) Stripe for any Credit or debit card from anywhere in the world.
c) PayPal for payments via PayPal account.
d) Choose PayUmoney if you are based in India.
e) Start learning: After payment, your course will be added to your profile in the student dashboard under "Video Courses".

Q20. How do I access my course after payment?
A20. Once you have made the payment on our website, you can access your course by clicking on the "My Courses" option in the main menu or by navigating to your profile, then the student dashboard, and finally selecting "Video Courses".

Q21. Can I get help from a tutor if I have doubts while learning from a video course?
A21. Tutor support is not available for our video course. If you believe you require assistance from a tutor, we recommend considering our live class option. Please contact our team for the most up-to-date availability. The pricing for live classes typically begins at USD 999 and may vary.



BUY THIS COURSE (USD 17 USD 69)