256 Kilobytes

Scripting and Automation

Type All Category Scripting and AutomationInformation and discussion of scripting of various types. Tag All

Profile Photo - Some Guy
Profile Photo - roxblade

Last Reply/var/www/html or /var/www/It goes for both kinds of installations: Ubuntu/Debian or CentOS/Red Hat/Fedora.You can also change this directory. Follow t... roxblade,

/var/www/html or /var/www...

Mon, 04 Feb 2019 11:16:20 -08003 years ago1
🗨 1
🐏 0
👁 642
Profile Photo - Some Guy
Profile Photo - roxblade

Last ReplyThis is the best certification out of all other Linux certifications. There are many other, but all those are specialized. Like the Red Hat Certified... roxblade,

This is the best certific...

Mon, 04 Feb 2019 11:12:28 -08003 years ago1
🗨 1
🐏 0
👁 607
Profile Photo - Some Guy
Profile Photo - roxblade

Last Replyapt-get update doesn't download or install anything. It just checks all your packages and sees if they have a newer version that can be installed. Thi... roxblade,

apt-get update doesn't do...

Mon, 04 Feb 2019 11:08:19 -08003 years ago1
🗨 1
🐏 0
👁 591
Profile Photo - Some Guy

What format does Linux use?

Answers in Shell Scripting | By Some Guy

Published

Profile Photo - roxblade

Last ReplyShell scripting. It's not a programming language, but a scripting language. It's in use since the time of UNIX to run the various commands of *NIX-bas... roxblade,

Shell scripting. It's not...

Mon, 04 Feb 2019 10:53:31 -08003 years ago1
🗨 1
🐏 0
👁 607
Profile Photo - Some Guy

What is the best filesystem for Linux?

Answers in Shell Scripting | By Some Guy

Published

Profile Photo - roxblade

Last ReplyThe best file system for Linux distributions is ext2 or ext4. ext2 is sort of like FAT32 as it doesn't do journaling. ext4 does journaling, like NTFS.... roxblade,

The best file system for...

Mon, 04 Feb 2019 10:43:28 -08003 years ago1
🗨 1
🐏 0
👁 565
Profile Photo - Some Guy

Is NTFS supported by Linux?

Answers in Shell Scripting | By Some Guy

Published

Profile Photo - roxblade

Last ReplyYou can use NTFS as Linux distributions support read/write on NTFS file systems. If you mean to use NTFS for storage, then you are good to go, as it d... roxblade,

You can use NTFS as Linux...

Mon, 04 Feb 2019 10:38:43 -08003 years ago1
🗨 1
🐏 0
👁 554
Profile Photo - Some Guy

Is exFAT supported by Linux?

Answers in Shell Scripting | By Some Guy

Published

Profile Photo - roxblade

Last ReplyYes, it does support exFAT, but with a few packages first. sudo apt-get install exfat-fuse exfat-utilsThis will most probably do the job for you. roxblade,

Yes, it does support exFA...

Mon, 04 Feb 2019 10:35:22 -08003 years ago1
🗨 1
🐏 0
👁 539
Profile Photo - Some Guy

Does Linux use NTFS or fat32?

Answers in Shell Scripting | By Some Guy

Published

Profile Photo - roxblade

Last ReplyFAT32 is outdated and known as something close to Windows-only. Linux distributions like Ubuntu can read/write on both, NTFS and FAT32. For storage, y... roxblade,

FAT32 is outdated and kno...

Mon, 04 Feb 2019 10:33:32 -08003 years ago1
🗨 1
🐏 0
👁 599
Profile Photo - Some Guy

How to delete a directory on a Linux system? Or a file?

Answers in Shell Scripting | By Some Guy

Published

Profile Photo - roxblade

Last ReplyThe rm command can be used to remove files, but it doesn't remove directories or folders by default.rm abc.txtTo remove forcefully, use -f like this:... roxblade,

The rm command can be use...

Mon, 04 Feb 2019 10:09:38 -08003 years ago1
🗨 1
🐏 0
👁 606
Profile Photo - Some Guy

How to rename a directory on a Linux system?

Answers in Shell Scripting | By Some Guy

Published

Profile Photo - roxblade

Last ReplyThe mv command things in an easy way. If you want to rename fie abc.txt to xyz.txt, then navigate to the current directory's path in the terminal and... roxblade,

The mv command things in...

Mon, 04 Feb 2019 10:05:46 -08003 years ago1
🗨 1
🐏 0
👁 562
Profile Photo - Some Guy

[Linux] How to copy a file from one directory to another?

Answers in Shell Scripting | By Some Guy

Published

Profile Photo - roxblade

Last ReplyUse the cp command (lowercase CP). cp file.txt /home/destinationWhat this does is copy the file.txt into the directory called destination under the h... roxblade,

Use the cp command (lower...

Mon, 04 Feb 2019 10:00:06 -08003 years ago1
🗨 1
🐏 0
👁 552
Profile Photo - Some Guy

How to check what version of Linux I am running?

Answers in Shell Scripting | By Some Guy

Published

Profile Photo - roxblade

Last ReplyEnter the following command in the terminal: uname -aThis gives you the Linux kernel version. This command, however, doesn't give you the distributio... roxblade,

Enter the following comma...

Mon, 04 Feb 2019 09:55:25 -08003 years ago1
🗨 1
🐏 0
👁 515
Profile Photo - Some Guy
Profile Photo - roxblade

Last ReplyYou use the ls command (lowercase LS). It will list all the directory contents of files and sub-directories. ls -a will list all files including the h... roxblade,

You use the ls command (l...

Mon, 04 Feb 2019 09:52:54 -08003 years ago1
🗨 1
🐏 0
👁 549
Profile Photo - Some Guy
Profile Photo - roxblade

Last ReplyThe chown command is used to change the ownership. And the chmod command is used to change rights. For example, you can use the commandsudo chown -R $... roxblade,

The chown command is used...

Mon, 04 Feb 2019 09:50:34 -08003 years ago1
🗨 1
🐏 0
👁 606
Profile Photo - Some Guy

What does "sudo killall vdcassistant" do?

Answers in Shell Scripting | By Some Guy

Published

Profile Photo - roxblade

Last ReplyThis is a popular fix for the error "There is no connected camera" on Mac. It happens when you try to use FaceTime (called iSight formerly) mostly, so... roxblade,

This is a popular fix for...

Sun, 03 Feb 2019 13:29:39 -08003 years ago1
🗨 1
🐏 0
👁 1,017
Profile Photo - Some Guy
Profile Photo - roxblade

Last ReplyMaybe there's a version conflict? If you are running Python 3.2 and are trying to get Pip 3, it won't work. So, make sure both versions are same.If th... roxblade,

Maybe there's a version c...

Sun, 03 Feb 2019 13:21:42 -08003 years ago1
🗨 1
🐏 0
👁 590
Profile Photo - Some Guy

Fix for "-Bash: syntax error near unexpected token `newline'?"

Answers in Shell Scripting | By Some Guy

Published

Profile Photo - roxblade

Last ReplyThe general explanation behind this error is that instead of a file or resource, the command downloaded an HTML doc or a webpage. Now, based on the en... roxblade,

The general explanation b...

Sun, 03 Feb 2019 13:17:32 -08003 years ago1
🗨 1
🐏 0
👁 734
Profile Photo - Some Guy
Profile Photo - roxblade

Last ReplyThe DHCP server file, or the Dynaic Host Configuration Protocol, is a service responsible for assigning IP addresses and other details like broadcast... roxblade,

The DHCP server file, or...

Sun, 03 Feb 2019 13:12:56 -08003 years ago1
🗨 1
🐏 0
👁 596
Profile Photo - Some Guy
Profile Photo - roxblade

Last ReplyThe colon symbol is used for most Linux config files, and you mean "delimiter". On the other hand, the awk command utilizes spaces (or tabs, which are... roxblade,

The colon symbol is used...

Sun, 03 Feb 2019 13:07:49 -08003 years ago1
🗨 1
🐏 0
👁 590
Profile Photo - Some Guy

What are the two wildcard characters for the terminal?

Answers in Shell Scripting | By Some Guy

Published

Profile Photo - roxblade

Last ReplyActually there are three main wildcards for the Linux terminal. These are:The asterisk, or * The question mark, or ? And the square brackets, or []T... roxblade,

Actually there are three...

Sun, 03 Feb 2019 12:31:12 -08003 years ago1
🗨 1
🐏 0
👁 568
Profile Photo - Some Guy

What directory is the Linux kernel stored in?

Answers in Shell Scripting | By Some Guy

Published

Profile Photo - roxblade

Last ReplyLinux kernel is one of the most beautiful pieces of code that there is. It's clean, lightweight, and focuses on efficiency rather than visual glamor.T... roxblade,

Linux kernel is one of th...

Sun, 03 Feb 2019 12:28:02 -08003 years ago1
🗨 1
🐏 0
👁 463
Profile Photo - Some Guy
Profile Photo - roxblade

Last ReplyYou'll need to be more specific that that. Most probably, it will run into a boot error and that means that you will need to fix it by reinstalling or... roxblade,

You'll need to be more sp...

Sun, 03 Feb 2019 12:24:20 -08003 years ago1
🗨 1
🐏 0
👁 409
Profile Photo - Some Guy

What does the command "mkdir -p" do in Linux?

Answers in Shell Scripting | By Some Guy

Published

Profile Photo - roxblade

Last Replymkdir does the New Folder function -- "make directory".-p means --parents. What this does is create the entire directory tree. If you create a sub-dir... roxblade,

mkdir does the New Folder...

Sun, 03 Feb 2019 12:22:27 -08003 years ago1
🗨 1
🐏 0
👁 408
Profile Photo - Some Guy

On Linux, where are system administration commands stored?

Answers in Shell Scripting | By Some Guy

Published

Profile Photo - roxblade

Last Reply/bin and /sbin are the places where Linux admin commands are stored. /usr/bin or /usr/local/bin are locations that I mean by /bin.s/bin is the directo... roxblade,

/bin and /sbin are the pl...

Sun, 03 Feb 2019 12:19:54 -08003 years ago1
🗨 1
🐏 0
👁 411
Profile Photo - Some Guy
Profile Photo - roxblade

Last ReplyIn my experience, a USB stick. Most people install Linux distributions after they download it from the official website. This ISO file is what they lo... roxblade,

In my experience, a USB s...

Sun, 03 Feb 2019 11:41:00 -08003 years ago1
🗨 1
🐏 0
👁 376
Profile Photo - August R. Garcia

Custom Capitalization in Google Sheets -- Handle Acronyms, Industry Terms, Etc. in Titles

Articles in Spreadsheets | By August R. Garcia

Published | Last Update

Profile Photo - Some Guy

Last ReplyBonus note. If the value in F2 does not contain any question marks, add a question mark at the end; otherwise, get the unmodified string in F2:... Some Guy,

Bonus note. If the value...

Fri, 01 Feb 2019 23:46:51 -08003 years ago1
🗨 1
🐏 0
👁 818
Profile Photo - Some Guy
Profile Photo - roxblade

Last ReplyThis is a common error in older Python versions, like Python 2.6.x. All you need to do is update to the latest version. The problem arises because... roxblade,

This is a common error in...

Fri, 01 Feb 2019 02:37:26 -08003 years ago1
🗨 1
🐏 0
👁 709
Profile Photo - Some Guy
Profile Photo - roxblade

Last Replynp.cocatenate is not an easy process, to be honest. It creates more problems as well. Well, the simple truth here is that you need to arrange the arra... roxblade,

np.cocatenate is not an e...

Fri, 01 Feb 2019 02:31:51 -08003 years ago1
🗨 1
🐏 0
👁 2,165
Profile Photo - Some Guy
Profile Photo - roxblade

Last ReplyThis problem usually arises because of using incorrect fmin syntax. Your code must be missing out on this. You need to utilize parentheses and comma i... roxblade,

This problem usually aris...

Fri, 01 Feb 2019 02:28:15 -08003 years ago1
🗨 1
🐏 0
👁 4,472
Profile Photo - Some Guy

How to count non-blank cells in Google Sheets?

Answers in Spreadsheets | By Some Guy

Published

Profile Photo - roxblade

Last ReplyThe count function does the counting for you. Like =COUNT(A2:A11). But it also ignores hidden contents like "" (empty string) or a space. Th... roxblade,

The count function does t...

Thu, 24 Jan 2019 04:59:32 -08003 years ago1
🗨 1
🐏 0
👁 598