Tag: linux

54 votes
28 answers
1.7K views
Shell command to tar directory excluding certain files/folders

Is there a simple shell command/script that supports excluding certain files/folders from being archived? I h

avatar
Hilario
0 1 0 9
asked 07 September, 2021
48 votes
14 answers
2.3K views
Defining a variable with or without export

What is export for? What is the difference between: export name=value and name=value

avatar
Basil
0 1 0 9
asked 07 September, 2021
61 votes
30 answers
1.2K views
How do I prompt for Yes/No/Cancel input in a Linux shell script?

I want to pause input in a shell script, and prompt the user for choices. The standard Yes, No, or Cancel type

avatar
Kristopher
0 1 0 9
asked 07 September, 2021
59 votes
30 answers
2.5K views
How to exclude a directory in find . command

I'm trying to run a find command for all JavaScript files, but how do I exclude a specific directory? He

avatar
Nereida
0 1 0 9
asked 07 September, 2021
56 votes
18 answers
2.4K views
How can I recursively find all files in current and subfolders based on wildcard matching?

How can I recursively find all files in current and subfolders based on wildcard matching?

avatar
Robt
0 1 0 9
asked 07 September, 2021
55 votes
7 answers
831 views
Can you develop Linux applications with Xamarin?

Is it possible to develop and build Linux applications with Xamarin with the same code base? After a few year

avatar
Bryan
0 1 0 9
asked 07 September, 2021
52 votes
30 answers
2.3K views
How can I update NodeJS and NPM to the next versions?

I just installed Node.js and npm (for additional modules). How can I update Node.js and the modules which I&a

avatar
Wilber
0 1 0 9
asked 07 September, 2021
53 votes
14 answers
2.9K views
Where can I find php.ini?

A few years ago I installed Apache 2.2x and PHP 5.3.1 on a Linux server I maintain. I used .tar.gz's and

avatar
Omar
0 1 0 9
asked 07 September, 2021
61 votes
16 answers
3K views
UTF-8 all the way through

I'm setting up a new server and want to support UTF-8 fully in my web application. I have tried this in

avatar
Keith
0 1 0 9
asked 07 September, 2021
56 votes
10 answers
1.2K views
Using CRON jobs to visit url?

I have a web application that has to perform a repeated tasks, Sending messages and alerts, I, already, use a

avatar
Xavier
0 1 0 9
asked 07 September, 2021
55 votes
7 answers
973 views
Chmod 777 to a folder and all contents

I have a web directory /www and a folder in that directory called store. Within store are several f

avatar
Chelsea
0 1 0 9
asked 07 September, 2021