Skip to content
SoftPrayog
  • Home
  • Programming
  • Tutorials
  • Videos
  • Software Engineering
  • Troubleshooting
Menu Close
  • Home
  • Programming
  • Tutorials
  • Videos
  • Software Engineering
  • Troubleshooting

command

Read more about the article How to create a temporary file in Linux

How to create a temporary file in Linux

  • Post author:Karunesh Johri
  • Post published:June 4, 2020
  • Post category:Programming
  • Post comments:0 Comments

1.0 Temporary Files Quite often, we need temporary files in our programs. Some intermediate data needs to be stored and the file can be discarded when the process terminates. There…

Continue ReadingHow to create a temporary file in Linux

Error while executing the dig command

  • Post author:Karunesh Johri
  • Post published:October 3, 2018
  • Post category:Troubleshooting

1.0 Error While executing the dig command, the sendmsg() failed: Operation not permitted error was printed. $ dig example.com ../../../../lib/isc/unix/net.c:581: sendmsg() failed: Operation not permitted ../../../../lib/isc/unix/net.c:581: sendmsg() failed: Operation not…

Continue ReadingError while executing the dig command
Read more about the article Find user login history – last and lastb commands in Linux

Find user login history – last and lastb commands in Linux

  • Post author:Karunesh Johri
  • Post published:October 3, 2018
  • Post category:Tutorials
  • Post comments:0 Comments

1.0 last and lastb The last command gives a chronological list of user logins in a Linux system for a period of time. The lastb commands gives a similar list…

Continue ReadingFind user login history – last and lastb commands in Linux
Read more about the article Cut command in Linux

Cut command in Linux

  • Post author:Karunesh Johri
  • Post published:September 30, 2018
  • Post category:Tutorials
  • Post comments:0 Comments

1.0 cut The cut command cuts sections of each line of input files and writes it on its standard output. It is mostly used for taking out a few columns…

Continue ReadingCut command in Linux
Read more about the article tr command in Linux

tr command in Linux

  • Post author:Karunesh Johri
  • Post published:September 30, 2018
  • Post category:Tutorials
  • Post comments:0 Comments

1.0 tr The tr command is a filter which reads the standard input, translates or deletes characters and writes on its standard output. The tr command syntax is, tr [OPTION]...…

Continue Readingtr command in Linux
Read more about the article uniq command in Linux

uniq command in Linux

  • Post author:Karunesh Johri
  • Post published:September 29, 2018
  • Post category:Tutorials
  • Post comments:0 Comments

1.0 uniq The uniq command is a filter for finding unique lines in input. It reads input, suppresses duplicates and prints unique lines in its output. Used with the -D…

Continue Readinguniq command in Linux
Read more about the article sort command in Linux

sort command in Linux

  • Post author:Karunesh Johri
  • Post published:September 29, 2018
  • Post category:Tutorials
  • Post comments:0 Comments

1.0 Sort The sort command is for sorting lines in text files. For example, if we have a file names, we can sort it with the sort command, $ cat…

Continue Readingsort command in Linux
Read more about the article grep Command in Linux

grep Command in Linux

  • Post author:Karunesh Johri
  • Post published:September 29, 2018
  • Post category:Tutorials
  • Post comments:0 Comments

1.0 grep grep is a program for searching a given string pattern in files. It searches the files for the pattern and prints the lines that contain strings matching the…

Continue Readinggrep Command in Linux
Read more about the article Shell Scripting Tutorial

Shell Scripting Tutorial

  • Post author:Karunesh Johri
  • Post published:September 29, 2018
  • Post category:Tutorials
  • Post comments:0 Comments

1.0 Shell Script bash is the commonly used shell in GNU-Linux. bash can be run interactively, as a login shell or as an interactive process from a terminal emulator like…

Continue ReadingShell Scripting Tutorial
Read more about the article An Introduction to Shell in Linux

An Introduction to Shell in Linux

  • Post author:Karunesh Johri
  • Post published:September 29, 2018
  • Post category:Tutorials
  • Post comments:0 Comments

1.0 SHELL A shell provides a user interface to a computer system. There are two types of shells, the command line interface (CLI) and the graphical user interface (GUI). In…

Continue ReadingAn Introduction to Shell in Linux
  • 1
  • 2
  • 3
  • Go to the next page
Subscribe to SoftPrayog on YouTube

Video Series

  • Linux System Programming
  • Linux Commands
  • C Programming

Recent Posts

  • Flex Tutorial
  • Process synchronization
  • Regular Expressions in C
  • vi not showing color syntax highlighting in Ubuntu Linux
  • Using sha256sum command for ensuring file integrity

Popular Posts

  • D-Bus Tutorial
  • POSIX Shared Memory in Linux
  • Gtk-WARNING **: cannot open display:
  • POSIX message queues in Linux
  • Network Traffic Control with tc command in Linux
  • POSIX Semaphores in Linux
  • Connecting two computers with Ethernet LAN cable
  • I/O multiplexing: select, poll and epoll in Linux
  • Regular Expressions in C
  • POSIX Threads Synchronization in C

Email Newsletter

Loading
Web Store
About
Subscribe
Contact Us
Privacy Policy
Terms of service
SoftPrayog on Facebook        SoftPrayog on Twitter         SoftPrayog on Telegram
Copyright © 2023 Karunesh Johri. All Rights reserved.