SlideShare a Scribd company logo
linux bc command is used for command line calculator. It is similar to basic calculator. By using which we can do basic mathematical calculations. SYNTAX: bc COMMAND:
The Syntax is
bc [options]
cal COMMAND:
cal command is used to display the calendar.
SYNTAX:
The Syntax is
cal [options] [month] [year]
cat COMMAND:
cat linux command concatenates files and print it on the standard output.

More Related Content

What's hot (12)

PDF
Linux Commands - 3
Kanchilug
 
PPT
Linux
Ankush Jain
 
PPT
Linux commands
bhatvijetha
 
PPTX
Group13
21MX213OMRAJUV
 
PPTX
Linux commands part4
bhatvijetha
 
PDF
Linux basic commands with examples
abclearnn
 
PPT
Linux commands
Ajaigururaj R
 
PPTX
Unix slideshare
Mohan Krishna Kona
 
PPT
101 3.2 process text streams using filters
Acácio Oliveira
 
PDF
Basic linux commands
Nguyen Vinh
 
PPTX
Basic unix commands
swtjerin4u
 
PDF
Basic linux commands
Harikrishnan Ramakrishnan
 
Linux Commands - 3
Kanchilug
 
Linux commands
bhatvijetha
 
Linux commands part4
bhatvijetha
 
Linux basic commands with examples
abclearnn
 
Linux commands
Ajaigururaj R
 
Unix slideshare
Mohan Krishna Kona
 
101 3.2 process text streams using filters
Acácio Oliveira
 
Basic linux commands
Nguyen Vinh
 
Basic unix commands
swtjerin4u
 
Basic linux commands
Harikrishnan Ramakrishnan
 

Viewers also liked (20)

PPT
Babitha5.php
banubabitha
 
PPT
Babitha5.php
banubabitha
 
ODP
Babitha.linux
banubabitha
 
ODP
Babitha.linux
banubabitha
 
ODP
Babitha.linux
banubabitha
 
ODP
Babitha.linux
banubabitha
 
PPT
Babitha5.php
banubabitha
 
PPT
El Agua
cristotere
 
ODP
Babitha.linux
banubabitha
 
PDF
[SNU UX Lab] Describing Places
Jihyung Yoo
 
ODP
Babitha3.css
banubabitha
 
ODP
Babitha2 Mysql
banubabitha
 
ODP
Babitha.linux
banubabitha
 
ODP
Babitha.linux
banubabitha
 
PPTX
Vlaamse ardennen
Ulrike De Craemer
 
ODP
Babitha.4appach
banubabitha
 
ODP
Babitha2.mysql
banubabitha
 
PPT
Expeditie mont blanc2003
Ulrike De Craemer
 
PDF
Pudiya Puthagam
makkalmandram
 
PDF
[SNU UX Lab] Understanding the Importance of Location, Time, and People in Mo...
Jihyung Yoo
 
Babitha5.php
banubabitha
 
Babitha5.php
banubabitha
 
Babitha.linux
banubabitha
 
Babitha.linux
banubabitha
 
Babitha.linux
banubabitha
 
Babitha.linux
banubabitha
 
Babitha5.php
banubabitha
 
El Agua
cristotere
 
Babitha.linux
banubabitha
 
[SNU UX Lab] Describing Places
Jihyung Yoo
 
Babitha3.css
banubabitha
 
Babitha2 Mysql
banubabitha
 
Babitha.linux
banubabitha
 
Babitha.linux
banubabitha
 
Vlaamse ardennen
Ulrike De Craemer
 
Babitha.4appach
banubabitha
 
Babitha2.mysql
banubabitha
 
Expeditie mont blanc2003
Ulrike De Craemer
 
Pudiya Puthagam
makkalmandram
 
[SNU UX Lab] Understanding the Importance of Location, Time, and People in Mo...
Jihyung Yoo
 
Ad

Similar to Babitha.linux (20)

ODP
Prabu linux
Prabu Cse
 
ODP
Linux commands
Balakumaran Arunachalam
 
PDF
Linux file commands and shell scripts
PrashantTechment
 
PPTX
OS-Module 2 Linux Programming Important topics
JithinS34
 
PPT
Raj linux
firstplanet
 
PPT
Linux presentation
Nikhil Jain
 
DOCX
40 basic linux command
Teja Bheemanapally
 
DOCX
40 basic linux command
Teja Bheemanapally
 
PPTX
Operating System Laboratory presentation .ppt
PDhivyabharathi2
 
ODP
Linux
merlin deepika
 
PPT
Linux
HAINIRMALRAJ
 
ODP
Linux
merlin deepika
 
PDF
unix_ref_card.pdf
GiovaRossi
 
PDF
unix_ref_card.pdf
GiovaRossi
 
PDF
unix_ref_card.pdf
GiovaRossi
 
PPT
8.1.intro unix
southees
 
PPT
Linux commands
Meenu Chopra
 
PPSX
Unix_QT.ppsx
vamsikrishna204239
 
Prabu linux
Prabu Cse
 
Linux commands
Balakumaran Arunachalam
 
Linux file commands and shell scripts
PrashantTechment
 
OS-Module 2 Linux Programming Important topics
JithinS34
 
Raj linux
firstplanet
 
Linux presentation
Nikhil Jain
 
40 basic linux command
Teja Bheemanapally
 
40 basic linux command
Teja Bheemanapally
 
Operating System Laboratory presentation .ppt
PDhivyabharathi2
 
unix_ref_card.pdf
GiovaRossi
 
unix_ref_card.pdf
GiovaRossi
 
unix_ref_card.pdf
GiovaRossi
 
8.1.intro unix
southees
 
Linux commands
Meenu Chopra
 
Unix_QT.ppsx
vamsikrishna204239
 
Ad

Babitha.linux

  • 1. linux bc command is used for command line calculator. It is similar to basic calculator. By using which we can do basic mathematical calculations. SYNTAX: bc COMMAND:
  • 5. cal command is used to display the calendar.
  • 10. cat linux command concatenates files and print it on the standard output.
  • 15. cd command is used to change the directory.
  • 18. cd [directory | ~ | ./ | ../ | - ]
  • 20. cp command copy files from one location to another. If the destination is an existing file, then the file is overwritten; if the destination is an existing directory, the file is copied into the directory (the directory is not overwritten).
  • 24. date COMMAND: date command prints the date and time. SYNTAX: The Syntax is date [options] [+format] [date] echo COMMAND:
  • 25. echo command prints the given input string to standard output.
  • 30. grep command selects and prints the lines from a file which matches a given string or pattern.
  • 33. id COMMAND: id command prints the effective(current) and real userid(UID)s and groupid(GID)s. SYNTAX: The Syntax is id [options] last COMMAND:
  • 34. last command is used to display the last logged in users list. Last logged in users informations are read from the file /var/log/wtmp.
  • 39. lastlog command is used to print the last login times for system accounts. Login information is read from the file /var/log/lastlog.
  • 43. ls COMMAND: ls command lists the files and directories under current working directory. SYNTAX: The Syntax is ls [OPTIONS]... [FILE] man COMMAND: man command which is short for manual, provides in depth information about the requested command (or) allows users to search for commands related to a particular keyword. SYNTAX: The Syntax is man commandname [options] mkdir COMMAND: mkdir command is used to create one or more directories. SYNTAX: The Syntax is mkdir [options] directories
  • 44. mv COMMAND: mv command which is short for move. It is used to move/rename file from one directory to another. mv command is different from cp command as it completely removes the file from the source and moves to the directory specified, where cp command just copies the content from one file to another. SYNTAX: The Syntax is mv [-f] [-i] oldname newname pwd COMMAND: pwd - Print Working Directory. pwd command prints the full filename of the current working directory. SYNTAX: The Syntax is pwd [options] rm COMMAND:
  • 45. rm linux command is used to remove/delete the file from the directory.
  • 48. rmdir COMMAND: rmdir command is used to delete/remove a directory and its subdirectories. SYNTAX: The Syntax is rmdir [options..] Directory sort COMMAND:
  • 49. sort command is used to sort the lines in a text file.
  • 54. Shutdown - Turn off the computer immediately or at a specified time.
  • 57. /sbin/shutdown [-t sec] [-arkhncfFHP] time [warning-message]
  • 58. who COMMAND: who command can list the names of users currently logged in, their terminal, the time they have been logged in, and the name of the host from which they have logged in. SYNTAX: The Syntax is who [options] [file] whois COMMAND: whois command lists the information about the domain owner of the given domain. SYNTAX: The Syntax is whois [option] query mkdir [OPTION] DIRECTORY Options mk
  • 59. more - Allows file contents or piped output to be sent to the screen one page at a time
  • 60. less - Opposite of the more command
  • 61. clear - Clears the terminal screen.
  • 62. cmp file1 file2 - Compares two files, reporting all discrepancies. Similar to the diff command, though the output format differs.
  • 63. wc filename --- tells you how many lines, words, and characters there are in a file
  • 64. whoami --- returns your username. Sounds useless, but isn't. You may need to find out who it is who forgot to log out somewhere, and make sure *you* have logged out.
  • 65. cd ../samples The .. says to move up to the parent directory, in this case /users/jones , and then down to the sub-directory, samples . You can also use cd .. to back up from subdirectories level by level. The head Command To view the first ten lines in a file, use the head command. Syntax: head [ -count ] filename The tail Command To view the last ten lines in a file, use the tail command. Syntax: tail [-count] filename