1
vote
1answer
47 views

Using “tee” to selectively log Ubuntu terminal output?

I need to log terminal output. But I only need some outputs which starts with a keyword (say starts with "error"). I use something similar to:ls | tee "log.txt"In this example command I do not ...
1
vote
1answer
47 views

Terminal is not running any command after using command “cat > .bashrc”

I was customizing my terminal by screenfetch. after installing screenfetch in my ubuntu, I have used some commandcat > .bashrc# Start Screenfetchscreenfetchthen I pressed ctrl + d and closed ...
0
votes
1answer
47 views

ssh remote works from bash command line but not bash script

(Note: Even though I have answered a couple of my own questions, I still have an unanswered question at the bottom of this post.)When I run the following command from a bash command line it works....
0
votes
1answer
16 views

ubuntu: How to zip a directory in ubuntu by excluding some subdirectories from command line

Added from SO as off topic, however there is no answer in hereI want to zip a directory by excluding some unwanted subdirectories. I have tried :zip -r test.zip * -x 'test1/' 'test2/'andzip -r ...
0
votes
0answers
58 views

Linux install of linuxcnc eror on Makefile

My Linux skills are very limited. I am trying to follow through steps on how to install linuxcnc and am stuck at this point with make clear command.dave@LinuxCNC:~/linuxcnc-dev/src$ make clear...
2
votes
2answers
68 views

Linux equivalent to BSD's vis(1) utility

I have a bunch of zsh scripts for cli-based tasks, and developed most of them on FreeBSD and MacOS (Both BSD Unix flavors) I 've been using Ubuntu lately, and noticed some of my scripts were broken. ...
1
vote
0answers
56 views

Bash to open Browser, scrolldown, then take a screenshots

Wanted to know if its possible to do a complex bash.To simplify our work we are searching for a tool that take screenshots every hour but in different DOM or Scroll position.They are asking us to ...
0
votes
0answers
456 views

Anacron cron.daily not running my scripts

I am on Linux (Ubuntu) 16.04. I have a set of scripts in /etc/cron.daily which anacron handled. They used to run fine every day but I noticed that they were not running recently. I am not sure if it ...
0
votes
1answer
65 views

Pattern match output of terminal command (ubuntu)

How can I pattern match the output of a command?For example, I need to run the following command :nginx -VWhich returns the following :nginx version: nginx/1.10.3 (Ubuntu)built with OpenSSL 1....
0
votes
0answers
40 views

How to turn off the bell sound in WSL Windows 10 Ubuntu? [duplicate]

Everytime I'm in WSL in windows 10 ubuntu and I press tab I get the anonying bell sound. How can I turn this off?
0
votes
2answers
68 views

Bash: creating wordlists

I'm trying to output every possible combination between {a..z} and {0..9}; this output without using tools like crunch:$ head wordlist.txtabc123aaabaca1$ tail wordlist.txt333332c...
0
votes
0answers
61 views

Ubuntu script doesn't run from /etc/init.d

For a school exercise, we need to run a script at start up from the /etc/init.d With help from this forum, i was able to add my script to the /etc/init.d. I made it executable with chmod and used ...
0
votes
1answer
29 views

Unfolder and search chronologically in Ubuntu?

I have got a Ubuntu 14.04.5 LTS with a lot of folders and files. My goal is to find some old files which I think I know a naming format for them say "%A%.csv" or ".csv" or ".xls".Anyway I want ...
0
votes
0answers
120 views

When entering command on Windows 10 Bash on Ubuntu, nothing is returned

When I first ran the bash file, it asked me to put a user name, I put "admin" and it said there was already a username and it told me to add a user later. So I screwed around and it let me do any ...
0
votes
1answer
59 views

Accessing mounted share from command line

I am able to mount a Samba share in Ubuntu's graphical desktop with "connect to server". This allows me to use that share with desktop applications. I'd also like to access the share from the ...

153050per page