how to delete a folder or directory in linux

Linux command line delete files

The Linux command to delete a folder or directory is the same as the one to delete a file. You can use the rm command to delete both files and folders. Deleting an empty directory is easy enough but if you try to remove a directory that has files in them, you will get an error. deleting an empty folder…

how to setuid for a file in linux

qalc or qalculate calculator in linux command line

SetUID stands for set user id on execution. The Linux systems allow for elevated or escalated privileges when executing files. This is a special type of permission that can be set on the file in addition to the usual set of file permissions. When the setuid is set on an executable file, the users can execute that file with the…

how to enable and disable syntax highlighting in vi or vim editor

vi syntax on and off

Syntax Highlighting is a feature where the readability of the displayed text is enhanced by showing certain words, phrases or keywords in differing colors or fonts. This is especially useful when viewing source code of various programming, scripting or markup languages. In fact any text with an associated grammar can have syntax highlighting. Integrated Development Environments (IDE) or Programming Editors…

how to use brace expansion characters in linux command line and shell scripts

brace expansion notation in linux command shell

If you are a Linux power user, you are probably working a lot with command shell both the command line interface (CLI) as well as shell scripts. Linux command line provides a lot of flexibility and powerful options when working with different commands: regular expressions, wildcards, meta characters, operators, file and i/o redirection, brace expansion etc etc. We will see…

understanding log files in linux…where to look when things go wrong

log files in the linux systems

If you spend any amount of time working on Linux environments, either as an user or as an administrator then it is inevitable that you will need to check the log files at some point. It is quite possible that the system or an application is misbehaving or is not working and the best way to fix the issue would be…

kde plasma 5: how to add and remove a widget from panel in kde

kde widget list menu

In KDE and Plasma 5, you can have as many panels as you like on your desktop. The panels are usually only useful if it contains some widgets in it. We will see how you can add, delete or modify widgets to your panels. The KDE desktop environment is based on two different types of concepts: Widgets and Containments (or…

how to configure proxy server in linux

mozilla thunderbird proxy server settings

Proxy server is an interface that allows you to connect or use a service (usually a remote resource) that is usually resource intensive. It is also used by large area network to manage network traffic and as a security measure within the network. When configuring a linux system for networking, you will also need to configure your proxy server, ie. if you…

7 things that you will find to be different when using a linux operating system

Count Files in Directory

Unix has been a NOT so popular operating system for end users that has been around almost since the computers were invented. Linux is a variation of Unix that has made some serious inroads as a viable desktop environment, but still is struggling to gain much foothold in the end user market. If you have not used Linux before, then there will be…

kde plasma 5: how to add and remove panels in the desktop

kde remove panel from desktop

If you are using the latest KDE desktop, which is Plasma 5 then you have the ability to add multiple panels to your desktop. The panels in KDE (as with most other desktop environments) have the ability to hold different widgets that allows you interact with the system better and faster. The desktop in KDE is based on two different types…

what are linux commands and the 4 types of them

shell commands that are builtin to the shell

In Linux or any unix based system, a command refers to a directive that can used to invoke computer program. This program then acts as an interpreter to the command and its options and arguments, and performs a specific task. In most scenarios, a command refers to a directive in the command line which is usually a shell such as…