Tag: linux commands

  • setfacl: Option -m: Invalid argument near character 3

    setfacl: Option -m: Invalid argument near character 3

    When you work with lots of server and setting permission with setfacl command, you may encounter with this error – “setfacl: Option -m: Invalid argument near character 3”. Are you thinking !? what happen here when the same command is working in other servers. Read the error carefully, it is telling ‘Invalid Argument’ means something […]

  • Convert website page to pdf and image

    Convert website page to pdf and image

    To convert website page to pdf and image is very useful for various reasons. This kind of requirement you may have seen while making any report and we need to convert website page to pdf or image. Recently, we got requirement to create website page to pdf for some report. Actually the report was displaying […]

  • print new line character in Unix / Linux

    print new line character in Unix / Linux

    This is quick post on print new line character in Unix / Linux. Here, we will share two methods of print / echo new line character. Generally , when we do bash/shell scripting most of the time we require this. Let’s start this essential basic of bash/shell scripting. echo command : new line character In […]

  • Find Linux Operating System architecture installed on system

    Find Linux Operating System architecture installed on system

    In this post we will quickly share the commands, which will help to find linux operating system architecture installed on system. Most of the time system admin or linux user requires to know which Linux OS architecture is installed. Mostly , while installing or developing the package or software we need this information. Whereas it […]

  • tr command to convert lines to space , tab and vertical tab

    tr command to convert lines to space , tab and vertical tab

    In this post , we are explaining how to use tr command to convert lines or rows to space , tab , vertical tab and vertical tab. In our last post we have explained converting lines to space by using sed command. This time we will use tr command, which translate, squeeze, and/or delete characters […]

  • Unix / Linux : How to print duplicate lines from file

    Unix / Linux : How to print duplicate lines from file

    In this post I am sharing a small tip which is very useful while for system admins. The tip is about how to print duplicate lines from file. Sometimes we get the big file with lot of contents.And there may be chances of duplicate lines. To find the duplicate lines from file, use the below […]