The 2nd day session started under the leadership of minarva sister. After that all the students presented their own presentation.
Below is a set of commands made by us accordingly.
history
▪ This command used to show list of all commands we entered since the session started.
exit
▪ It's used to exit from system and logout from the current user
whereis
▪ displays the path where the package for specific built-in Linux command
whatis
▪ displays a brief description of what is the functionality of specific built-in Linux command
help
learn about all bout all the built-in commands.
info
elaborate and complete information about a command
vi
Vi IMproved, a programmer's text editor
watch
continuously updating things
yes
looping your text until you exit
cal
it shows the current date, by calendar mode you can see past years too.
zip
it is use to compress one or more files
head
prints the top N rows of a specified file by default prints 10 lines
mkdir name{1..5}
Create Multiple Directories or Files
dpkg
Package manager for Debian. It is used to install, build, remove
and manage
dpkg -i
To install a local package
dpkg -r
To remove a package
free
which displays the total amount of free space
man
man command displays a “manual page”. Manual pages are usually very detailed, and it’s recommended that you read the man pages for any command you are unfamiliar with.
mv
To rename or to move a file
cp
To copy a file
cat
Use the cat command to display the contents of a file. It is usually
used to easily view programs
echo
The "echo" command helps us move some data, usually text into a
file. For example, if you want to create a new text file or add to an
already made text file, you just need to type in, “echo hello, my
name is alok >> new.txt”. You do not need to separate the spaces
by using the backward slash here, because we put in two
triangular brackets when we finish what we need to write
whoami
whoami help to find logged in user in current shell.
last
Displays information about the users who logged
in and out of the system. The output of the last
command can be very large, so the following output has
been filtered (through head) to display the top 10 lines
only
$ alias c="clear"
Next time you enter 'c ' on command line, your screen
will get clear. Current aliases can be checked with 'alias'
command
apt-get autoremove
command is used to remove any
unnecessary packages. Unnecessary means, whenever you
install an application, the system will also install the software
that this application depends on. It is common in Ubuntu that
applications share the same libraries. When you remove the
application the dependency will stay on your system.
apt-get autoremove
as sudo after uninstalling a
package to remove unwanted software dependencies.
passwd
command is used to change user password using
Terminal.
uname -a
Provides basic information of the
system.
apt-get purge <package-name>
command is used remove a software from our
system
Date- showing date
udo apt-get remove package
Uninstall Packages.
sudo apt-get update package
Update package
Top
program provides a dynamic real-time view of running system / system summary information
tail
The command “tail” prints the last N rows of data of the given input or file. By default, it
prints the last 10 lines of the specified files.
Shutdown -c
shutdown for schedule time


0 Comments: