256 Kilobytes

Shell Scripting

Type All Category Shell ScriptingContent on shell scripts, such as those written in Bash, PowerShell, the Bourne shell, and the Linux console. Tag All

Profile Photo - August R. Garcia

[Solved, Basically] Nautilus - Open Multiple Tabs from Command Line?

Answers in Shell Scripting | By August R. Garcia

Published 1 month agoSat, 20 Jul 2019 23:22:36 -0700 | Last update 1 month agoSat, 20 Jul 2019 23:22:46 -0700

Profile Photo - August R. Garcia

How to open multiple GUI file manager ta...

MoreThe answer is that there's no built in option to do this in Nautilus, although there are Stack Exchange threads discussing ghetto hack workarounds....
🗨
0
🐏
2
👁
106
Profile Photo - Whisky Fren
Profile Photo - Whisky Fren

Now I can use tab completion on my celeb...

MoreThe answer is that you're out of storage space. Possibly because of temporary files, but also possibly your hard drive is close to full. Or your serve...
🗨
0
🐏
0
👁
152
Profile Photo - Some Guy
Profile Photo - August R. Garcia

Last Reply dhcpd.conf Should be located at: /etc/dhcp/dhcpd.conf August R. Garcia,

dhcpd.conf

Wed, 17 Apr 2019 17:25:05 -0700 5 months ago
🗨
1
🐏
0
👁
185
Profile Photo - Twostntle
Profile Photo - entrokamoI

Last Reply ls isn't actually a built-in for Windows. It's a command meant to be used on Unix machines such as those running MacOS or Linux. If you want to achiev... entrokamoI,

ls isn't actually a built...

Wed, 20 Mar 2019 17:33:24 -0700 5 months ago
🗨
1
🐏
0
👁
151
Profile Photo - NelsAmmo

Best PowerShell scripting tutorials?

Answers in Shell Scripting | By NelsAmmo

Published 6 months agoTue, 19 Mar 2019 15:12:54 -0700

Profile Photo - Japanese

Last Reply Since this was developed by Microsoft in 2003, it makes sense to start with Microsoft tutorials. Microsoft Virtual Academy (MVA) has many tutorials on... Japanese,

Since this was developed...

Wed, 20 Mar 2019 14:25:13 -0700 5 months ago
🗨
1
🐏
0
👁
154
Profile Photo - sewlaw

What Bash scripting keyword terminates a case statement?

Answers in Shell Scripting | By sewlaw

Published 6 months agoTue, 19 Mar 2019 02:09:14 -0700

Profile Photo - Edgelady43069

Last Reply The Base scripting keyword that terminates a case statement is esac to end a case statement. Which is actually case spelled backwards. Edgelady43069,

The Base scripting keywor...

Wed, 20 Mar 2019 06:10:44 -0700 5 months ago
🗨
1
🐏
0
👁
138
Profile Photo - pls_stop_this

How do you know whether a PowerShell tutorial is good or not?

Answers in Shell Scripting | By pls_stop_this

Published 6 months agoTue, 19 Mar 2019 15:07:00 -0700

Profile Photo - Zhaybib

Last Reply Many people who are interested in learning PowerShell, will seek out a tutorial on the internet to help. Not all tutorials are created equal, but I wo... Zhaybib,

Many people who are inter...

Wed, 20 Mar 2019 05:10:56 -0700 6 months ago
🗨
1
🐏
0
👁
115
Profile Photo - Some Guy

How to rename a file in Linux?

Answers in Shell Scripting | By Some Guy

Published 8 months agoSun, 13 Jan 2019 04:14:44 -0800

Profile Photo - roxblade

Last Reply An easy way to rename files in Linux is through the mv command, short form for the move. It is used to move files from one place to another but can al... roxblade,

An easy way to rename fil...

Wed, 27 Feb 2019 15:35:22 -0800 6 months ago
🗨
1
🐏
0
👁
167
Profile Photo - Some Guy

How can I bulk rename files from the Linux terminal?

Answers in Shell Scripting | By Some Guy

Published 7 months agoSun, 10 Feb 2019 23:12:04 -0800 | Last update 7 months agoSun, 10 Feb 2019 23:19:39 -0800

Profile Photo - August R. Garcia

Last Reply Try the rename command. Syntax: Basic syntax: rename (option) 's/oldname/newname/' file1.txt file2.txt Test a rename regex on all file... August R. Garcia,

Try the rename command. S...

Sun, 10 Feb 2019 23:19:24 -0800 7 months ago
🗨
1
🐏
0
👁
200
Profile Photo - Some Guy

What is $1 in Bash/Linux?

Answers in Shell Scripting | By Some Guy

Published 8 months agoSun, 13 Jan 2019 04:14:54 -0800

Profile Photo - roxblade

Last Reply These are basically positional parameters. They are invoked by shell's arguments. So, a simple script like ./code.sh Hi there will make three position... roxblade,

These are basically posit...

Mon, 04 Feb 2019 11:18:58 -0800 7 months ago
🗨
1
🐏
0
👁
186
Profile Photo - Some Guy

[Apache/Server Question] Where is the default document root directory?

Answers in Shell Scripting | By Some Guy

Published 8 months agoSun, 13 Jan 2019 04:15:04 -0800

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 -0800 7 months ago
🗨
1
🐏
0
👁
180
Profile Photo - Some Guy
Profile Photo - roxblade

Last Reply This 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 -0800 7 months ago
🗨
1
🐏
0
👁
174
Profile Photo - Some Guy
Profile Photo - roxblade

Last Reply apt-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 -0800 7 months ago
🗨
1
🐏
0
👁
193
Profile Photo - Some Guy

What format does Linux use?

Answers in Shell Scripting | By Some Guy

Published 8 months agoSun, 13 Jan 2019 04:16:04 -0800

Profile Photo - roxblade

Last Reply Shell 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 -0800 7 months ago
🗨
1
🐏
0
👁
177
Profile Photo - Some Guy

What is the best filesystem for Linux?

Answers in Shell Scripting | By Some Guy

Published 8 months agoSun, 13 Jan 2019 04:16:14 -0800

Profile Photo - roxblade

Last Reply The 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 -0800 7 months ago
🗨
1
🐏
0
👁
159
Profile Photo - Some Guy

Is NTFS supported by Linux?

Answers in Shell Scripting | By Some Guy

Published 8 months agoSun, 13 Jan 2019 04:16:24 -0800

Profile Photo - roxblade

Last Reply You 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 -0800 7 months ago
🗨
1
🐏
0
👁
170
Profile Photo - Some Guy

Is exFAT supported by Linux?

Answers in Shell Scripting | By Some Guy

Published 8 months agoSun, 13 Jan 2019 04:16:34 -0800

Profile Photo - roxblade

Last Reply Yes, 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 -0800 7 months ago
🗨
1
🐏
0
👁
173
Profile Photo - Some Guy

Does Linux use NTFS or fat32?

Answers in Shell Scripting | By Some Guy

Published 8 months agoSun, 13 Jan 2019 04:16:44 -0800

Profile Photo - roxblade

Last Reply FAT32 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 -0800 7 months ago
🗨
1
🐏
0
👁
170
Profile Photo - Some Guy

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

Answers in Shell Scripting | By Some Guy

Published 8 months agoSun, 13 Jan 2019 04:16:54 -0800

Profile Photo - roxblade

Last Reply The 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 -0800 7 months ago
🗨
1
🐏
0
👁
181
Profile Photo - Some Guy

How to rename a directory on a Linux system?

Answers in Shell Scripting | By Some Guy

Published 8 months agoSun, 13 Jan 2019 04:17:04 -0800

Profile Photo - roxblade

Last Reply The 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 -0800 7 months ago
🗨
1
🐏
0
👁
160
Profile Photo - Some Guy

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

Answers in Shell Scripting | By Some Guy

Published 8 months agoSun, 13 Jan 2019 04:17:14 -0800

Profile Photo - roxblade

Last Reply Use 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 -0800 7 months ago
🗨
1
🐏
0
👁
168
Profile Photo - Some Guy

How to check what version of Linux I am running?

Answers in Shell Scripting | By Some Guy

Published 8 months agoSun, 13 Jan 2019 04:17:34 -0800

Profile Photo - roxblade

Last Reply Enter 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 -0800 7 months ago
🗨
1
🐏
0
👁
160
Profile Photo - Some Guy
Profile Photo - roxblade

Last Reply You 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 -0800 7 months ago
🗨
1
🐏
0
👁
151
Profile Photo - Some Guy
Profile Photo - roxblade

Last Reply The 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 -0800 7 months ago
🗨
1
🐏
0
👁
160
Profile Photo - Some Guy

What does "sudo killall vdcassistant" do?

Answers in Shell Scripting | By Some Guy

Published 8 months agoSun, 13 Jan 2019 04:18:14 -0800

Profile Photo - roxblade

Last Reply This 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 -0800 7 months ago
🗨
1
🐏
0
👁
201
Profile Photo - Some Guy
Profile Photo - roxblade

Last Reply Maybe 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 -0800 7 months ago
🗨
1
🐏
0
👁
207
Profile Photo - Some Guy

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

Answers in Shell Scripting | By Some Guy

Published 8 months agoSun, 13 Jan 2019 04:19:04 -0800

Profile Photo - roxblade

Last Reply The 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 -0800 7 months ago
🗨
1
🐏
0
👁
246
Profile Photo - Some Guy

[Linux] Where to find the file that contains DHCP service settings?

Answers in Shell Scripting | By Some Guy

Published 8 months agoSun, 13 Jan 2019 04:19:14 -0800

Profile Photo - roxblade

Last Reply The 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 -0800 7 months ago
🗨
1
🐏
0
👁
170
Profile Photo - Some Guy

What character is used as the delibiter for most Linux config files?

Answers in Shell Scripting | By Some Guy

Published 8 months agoSun, 13 Jan 2019 04:19:24 -0800

Profile Photo - roxblade

Last Reply The 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 -0800 7 months ago
🗨
1
🐏
0
👁
193
Profile Photo - Some Guy

What are the two wildcard characters for the terminal?

Answers in Shell Scripting | By Some Guy

Published 8 months agoSun, 13 Jan 2019 04:19:35 -0800

Profile Photo - roxblade

Last Reply Actually 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 -0800 7 months ago
🗨
1
🐏
0
👁
174